Add back @UnsupportedAppUsage to IS_DEBUGGABLE

The annotation was removed when adding the constant to the public API,
but it was removed from the public API in favor of Build.isDebuggable() in
a later change.

Add back the @UnsupportedAppUsage annotation that should have been
added back when removing the constant from the public API.

Change-Id: Ic2fda01a8c0e90712a1b7b435443d32f7e226d33
Fixes: 187432390
Test: m
This commit is contained in:
Remi NGUYEN VAN
2021-05-10 14:45:32 +00:00
parent c27a2ab087
commit 0ef41fbca2

View File

@@ -1311,6 +1311,7 @@ public class Build {
* selinux into "permissive" mode in particular.
* @hide
*/
@UnsupportedAppUsage
public static final boolean IS_DEBUGGABLE =
SystemProperties.getInt("ro.debuggable", 0) == 1;