Make PROJECTION_TYPE_ALL=-1 so that all bits are on.
Bug: 175130323 Bug: 186462292 Change-Id: I591c22c36760ea3162928fa4c80726a206e86214
This commit is contained in:
@@ -850,7 +850,7 @@ package android.app {
|
||||
field public static final int DEFAULT_PRIORITY = 0; // 0x0
|
||||
field public static final String EXTRA_CALLING_PACKAGE = "android.app.extra.CALLING_PACKAGE";
|
||||
field public static final String EXTRA_PRIORITY = "android.app.extra.PRIORITY";
|
||||
field public static final int PROJECTION_TYPE_ALL = 65535; // 0xffff
|
||||
field public static final int PROJECTION_TYPE_ALL = -1; // 0xffffffff
|
||||
field public static final int PROJECTION_TYPE_AUTOMOTIVE = 1; // 0x1
|
||||
field public static final int PROJECTION_TYPE_NONE = 0; // 0x0
|
||||
}
|
||||
|
||||
@@ -390,7 +390,7 @@ package android.app {
|
||||
method public boolean isUiModeLocked();
|
||||
method @RequiresPermission(value=android.Manifest.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean releaseProjection(int);
|
||||
method @RequiresPermission(value=android.Manifest.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean requestProjection(int);
|
||||
field public static final int PROJECTION_TYPE_ALL = 65535; // 0xffff
|
||||
field public static final int PROJECTION_TYPE_ALL = -1; // 0xffffffff
|
||||
field public static final int PROJECTION_TYPE_AUTOMOTIVE = 1; // 0x1
|
||||
field public static final int PROJECTION_TYPE_NONE = 0; // 0x0
|
||||
}
|
||||
|
||||
@@ -713,7 +713,7 @@ public class UiModeManager {
|
||||
*/
|
||||
@SystemApi
|
||||
@TestApi
|
||||
public static final int PROJECTION_TYPE_ALL = 0xffff;
|
||||
public static final int PROJECTION_TYPE_ALL = -1; // All bits on
|
||||
|
||||
/** @hide */
|
||||
@IntDef(prefix = {"PROJECTION_TYPE_"}, value = {
|
||||
|
||||
Reference in New Issue
Block a user