blob: bd40eb9fa8d79d5812bb3cff9b0334c2e6232266 [file] [log] [blame]
package com.android.launcher3.util;
public interface FlagOp {
FlagOp NO_OP = i -> i;
int apply(int flags);
static FlagOp addFlag(int flag) {
return i -> i | flag;
}
static FlagOp removeFlag(int flag) {
return i -> i & ~flag;
}
}