diff options
| author | 2020-06-01 14:16:54 +0000 | |
|---|---|---|
| committer | 2020-06-01 14:16:54 +0000 | |
| commit | 4d96602de03be5ec569dce3d3969f8056cab4ce3 (patch) | |
| tree | aa83d7c4ef14f60416872964af35b547c3534b35 | |
| parent | 75bda7880bee6b4b2c38b42aa529c21f3954cb13 (diff) | |
| parent | 14e961870a18f2fda768906fb14d900df2036346 (diff) | |
Merge "Apps shouldn't be disabling StrictMode checks." into rvc-dev
| -rw-r--r-- | core/java/android/os/StrictMode.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/os/StrictMode.java b/core/java/android/os/StrictMode.java index 02b822a99f2a..57561af0e2f8 100644 --- a/core/java/android/os/StrictMode.java +++ b/core/java/android/os/StrictMode.java @@ -1451,7 +1451,7 @@ public final class StrictMode { * * @hide */ - @UnsupportedAppUsage + @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.Q, publicAlternatives = "Apps must always use {@code content://} Uris when sharing data") public static void enableDeathOnFileUriExposure() { sVmPolicy = new VmPolicy( @@ -1469,7 +1469,7 @@ public final class StrictMode { * * @hide */ - @UnsupportedAppUsage + @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.Q, publicAlternatives = "Apps must always use {@code content://} Uris when sharing data") public static void disableDeathOnFileUriExposure() { sVmPolicy = new VmPolicy( |