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

Commit f9c42c76 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix dpm force-network-logs"

parents a7404d45 259732a8
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -13008,7 +13008,12 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
                throw new IllegalStateException("logging is not available");
            }
            if (mNetworkLogger != null) {
                final long ident = mInjector.binderClearCallingIdentity();
                try {
                    return mNetworkLogger.forceBatchFinalization();
                } finally {
                    mInjector.binderRestoreCallingIdentity(ident);
                }
            }
            return 0;
        }