Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Project
/
android_packages_apps_Launcher3
/
ea600c70fd603eec92900f6421f6c33c3f2d0702
/
.
/
src
/
com
/
android
/
launcher3
/
util
/
FlagOp.java
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
;
}
}