Skip to content
Snippets Groups Projects
Commit b30ba815 authored by Pavel Grafov's avatar Pavel Grafov Committed by Android (Google) Code Review
Browse files

Merge "Fix: allow turning audit log off." into main

parents 6990647f 5baa9cab
No related branches found
No related tags found
No related merge requests found
...@@ -14071,7 +14071,7 @@ public class DevicePolicyManager { ...@@ -14071,7 +14071,7 @@ public class DevicePolicyManager {
public void setAuditLogEnabled(boolean enabled) { public void setAuditLogEnabled(boolean enabled) {
throwIfParentInstance("setAuditLogEnabled"); throwIfParentInstance("setAuditLogEnabled");
try { try {
mService.setAuditLogEnabled(mContext.getPackageName(), true); mService.setAuditLogEnabled(mContext.getPackageName(), enabled);
} catch (RemoteException re) { } catch (RemoteException re) {
re.rethrowFromSystemServer(); re.rethrowFromSystemServer();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment