Dismiss network logging notification when disabling logging

Bug:34116213
Bug:29748723
Test: CTSVerifier in a separate CL.

Change-Id: Ie652505ff57665f626712c67837577833f1595d6
This commit is contained in:
phweiss
2017-01-09 17:43:14 +01:00
parent 82e955fcfe
commit 82ed31c1ef

View File

@@ -9974,6 +9974,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
+ " service not being available yet.");
}
mNetworkLogger = null;
mInjector.getNotificationManager().cancel(NETWORK_LOGGING_NOTIFICATION_ID);
}
} finally {
mInjector.binderRestoreCallingIdentity(callingIdentity);