Merge "Temporary fix for QXDM crashes." into nyc-dev
am: 2f457f470c
* commit '2f457f470cd260f07ab481ab6fb3cad143f9a958':
Temporary fix for QXDM crashes.
This commit is contained in:
@@ -4956,7 +4956,11 @@ public final class ActivityThread {
|
||||
* This is what ultimately throws {@link FileUriExposedException}.
|
||||
*/
|
||||
if (data.appInfo.targetSdkVersion >= Build.VERSION_CODES.N) {
|
||||
StrictMode.enableDeathOnFileUriExposure();
|
||||
if ("com.android.qxdmlogger".equals(data.appInfo.packageName)) {
|
||||
// STOPSHIP: Fix security on this logger tool
|
||||
} else {
|
||||
StrictMode.enableDeathOnFileUriExposure();
|
||||
}
|
||||
}
|
||||
|
||||
NetworkSecurityPolicy.getInstance().setCleartextTrafficPermitted(
|
||||
|
||||
Reference in New Issue
Block a user