Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d96602d authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Apps shouldn't be disabling StrictMode checks." into rvc-dev

parents 75bda788 14e96187
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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(