Loading services/autofill/java/com/android/server/autofill/AutofillManagerService.java +21 −6 Original line number Diff line number Diff line Loading @@ -438,8 +438,13 @@ public final class AutofillManagerService extends SystemService { Slog.i(TAG, "setLogLevel(): " + level); mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG); final long token = Binder.clearCallingIdentity(); try { Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AUTOFILL_LOGGING_LEVEL, level); } finally { Binder.restoreCallingIdentity(token); } } private void setLogLevelFromSettings() { Loading Loading @@ -492,8 +497,13 @@ public final class AutofillManagerService extends SystemService { mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG); Slog.i(TAG, "setMaxPartitions(): " + max); final long token = Binder.clearCallingIdentity(); try { Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AUTOFILL_MAX_PARTITIONS_SIZE, max); } finally { Binder.restoreCallingIdentity(token); } } private void setMaxPartitionsFromSettings() { Loading Loading @@ -521,8 +531,13 @@ public final class AutofillManagerService extends SystemService { mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG); Slog.i(TAG, "setMaxVisibleDatasets(): " + max); final long token = Binder.clearCallingIdentity(); try { Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AUTOFILL_MAX_VISIBLE_DATASETS, max); } finally { Binder.restoreCallingIdentity(token); } } private void setMaxVisibleDatasetsFromSettings() { Loading Loading
services/autofill/java/com/android/server/autofill/AutofillManagerService.java +21 −6 Original line number Diff line number Diff line Loading @@ -438,8 +438,13 @@ public final class AutofillManagerService extends SystemService { Slog.i(TAG, "setLogLevel(): " + level); mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG); final long token = Binder.clearCallingIdentity(); try { Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AUTOFILL_LOGGING_LEVEL, level); } finally { Binder.restoreCallingIdentity(token); } } private void setLogLevelFromSettings() { Loading Loading @@ -492,8 +497,13 @@ public final class AutofillManagerService extends SystemService { mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG); Slog.i(TAG, "setMaxPartitions(): " + max); final long token = Binder.clearCallingIdentity(); try { Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AUTOFILL_MAX_PARTITIONS_SIZE, max); } finally { Binder.restoreCallingIdentity(token); } } private void setMaxPartitionsFromSettings() { Loading Loading @@ -521,8 +531,13 @@ public final class AutofillManagerService extends SystemService { mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG); Slog.i(TAG, "setMaxVisibleDatasets(): " + max); final long token = Binder.clearCallingIdentity(); try { Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AUTOFILL_MAX_VISIBLE_DATASETS, max); } finally { Binder.restoreCallingIdentity(token); } } private void setMaxVisibleDatasetsFromSettings() { Loading