Merge "Expand try/catch for DeviceConfig in AppOpsManager" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-03-17 19:29:56 +00:00
committed by Android (Google) Code Review

View File

@@ -9148,7 +9148,7 @@ public class AppOpsManager {
try {
sFullLog = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_PRIVACY,
FULL_LOG, false);
} catch (SecurityException e) {
} catch (Exception e) {
// This should not happen, but it may, in rare cases
sFullLog = false;
}