summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2016-11-21 23:55:25 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-11-21 23:55:25 +0000
commitea4483a484666732d1827f893ff11957e643c376 (patch)
tree73c2193b3fccf0f16c2a22a0effd6abd22ca55ba
parentec6fa73df07e3c738be9853115ccb807580ba27a (diff)
parenta3bc4bd66d786359d0336410fee7b6bee25850a9 (diff)
Merge "Detect non-oneway calls leaving system_server."
am: a3bc4bd66d Change-Id: I911e76ef7a361c74c61b67fba6fabbd43726e3e9
-rw-r--r--service/java/com/android/server/wifi/WifiStateMachine.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/WifiStateMachine.java b/service/java/com/android/server/wifi/WifiStateMachine.java
index 35ff744ec..ad13d00a0 100644
--- a/service/java/com/android/server/wifi/WifiStateMachine.java
+++ b/service/java/com/android/server/wifi/WifiStateMachine.java
@@ -3449,6 +3449,8 @@ public class WifiStateMachine extends StateMachine implements WifiNative.WifiRss
if (clientInterface == null) {
Log.e(TAG, "Could not get IClientInterface instance from wificond");
return null;
+ } else {
+ Binder.allowBlocking(clientInterface.asBinder());
}
return clientInterface;
@@ -3468,6 +3470,8 @@ public class WifiStateMachine extends StateMachine implements WifiNative.WifiRss
if (apInterface == null) {
Log.e(TAG, "Could not get IApInterface instance from wificond");
return null;
+ } else {
+ Binder.allowBlocking(apInterface.asBinder());
}
if (!mWifiNative.startHal()) {