commit | ed25ce6d598d7ed14f9b9859cdd2219bcc907f4c | [log] [tgz] |
---|---|---|
author | Sudheer Shanka <sudheersai@google.com> | Wed Mar 29 20:46:30 2017 -0700 |
committer | Sudheer Shanka <sudheersai@google.com> | Wed Mar 29 20:46:30 2017 -0700 |
tree | 43524f4e75f749be2f0295ecab8530627e0a47e6 | |
parent | 6f3bc05868061cfcc63e8fe8cb00147b03c1c64a [diff] [blame] |
Fix flaky tests in NetworkPolicyManagerServiceTest. Test: runtest -c com.android.server.NetworkPolicyManagerServiceTest frameworks-services Change-Id: I0a6f0d11e3922bfeb2bd3784f23e10ae45e5e40c
diff --git a/services/core/java/com/android/server/net/NetworkPolicyManagerService.java b/services/core/java/com/android/server/net/NetworkPolicyManagerService.java index b165d34..f180c50 100644 --- a/services/core/java/com/android/server/net/NetworkPolicyManagerService.java +++ b/services/core/java/com/android/server/net/NetworkPolicyManagerService.java
@@ -432,7 +432,8 @@ mListeners = new RemoteCallbackList<>(); final Handler mHandler; - final Handler mUidEventHandler; + @VisibleForTesting + public final Handler mUidEventHandler; private final ServiceThread mUidEventThread;