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

Commit e60b28d9 authored by Thierry Strudel's avatar Thierry Strudel
Browse files

Revert "Temporary fix for QXDM crashes."

This reverts commit d7793693.

Change-Id: I9f27d6d5075be7b170ebe7a5bf4f2c3fe8c7c604
parent d7793693
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -4945,12 +4945,8 @@ public final class ActivityThread {
         * This is what ultimately throws {@link FileUriExposedException}.
         */
        if (data.appInfo.targetSdkVersion >= Build.VERSION_CODES.N) {
            if ("com.android.qxdmlogger".equals(data.appInfo.packageName)) {
                // STOPSHIP: Fix security on this logger tool
            } else {
            StrictMode.enableDeathOnFileUriExposure();
        }
        }

        NetworkSecurityPolicy.getInstance().setCleartextTrafficPermitted(
                (data.appInfo.flags & ApplicationInfo.FLAG_USES_CLEARTEXT_TRAFFIC) != 0);