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

Commit 3080fb7c authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Revert "Apps shouldn't be disabling StrictMode checks."

This reverts commit 14e96187.

Reason for revert: satayev@
Bug: 156336269

Change-Id: Ic0d3a650156c06f58fce4c28157191f4497469f0
parent 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(maxTargetSdk = Build.VERSION_CODES.Q, publicAlternatives = "Apps must always use {@code content://} Uris when sharing data")
    @UnsupportedAppUsage
    public static void enableDeathOnFileUriExposure() {
        sVmPolicy =
                new VmPolicy(
@@ -1469,7 +1469,7 @@ public final class StrictMode {
     *
     * @hide
     */
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.Q, publicAlternatives = "Apps must always use {@code content://} Uris when sharing data")
    @UnsupportedAppUsage
    public static void disableDeathOnFileUriExposure() {
        sVmPolicy =
                new VmPolicy(