Change @IntDef flag param to true

Setting flag param to true means that it should be used as a flag
rather than an enum.

Bug: 173657280
Test: build
Change-Id: I8add91bb3fc694e696df78817dd05fceaa92930e
This commit is contained in:
Jin Seok Park
2021-02-26 02:37:20 +09:00
parent d620cd52cf
commit fc9db6c1ad

View File

@@ -568,7 +568,7 @@ public class AudioManager {
public static final int FLAG_FROM_KEY = 1 << 12;
/** @hide */
@IntDef(flag = false, prefix = "FLAG", value = {
@IntDef(flag = true, prefix = "FLAG", value = {
FLAG_SHOW_UI,
FLAG_ALLOW_RINGER_MODES,
FLAG_PLAY_SOUND,