diff options
author | Daniel Norman <danielnorman@google.com> | 2022-03-11 16:21:53 -0800 |
---|---|---|
committer | Daniel Norman <danielnorman@google.com> | 2022-03-12 00:25:16 +0000 |
commit | d29385cb9c32992e7a12c16521fc306ba44de206 (patch) | |
tree | ebbdc4dcd2ecfbf12d25eacd6d56937f1f001ddc /service/java/com/android/server/bluetooth/BluetoothManagerService.java | |
parent | c9218ef1b82430a07d94f74c212a30e7ccc52975 (diff) |
Disable call to Process.getPidsForCommand().
This file is unable to view that function in the test_suites_x86_64
build.
This logic was originally added in
https://keystone-qcom-review.googlesource.com/c/platform/frameworks/base/+/507267
Bug: TODO
Change-Id: I0f3b04042e7e2da962cc4982a33d7c3f7d6f9ac7
Diffstat (limited to 'service/java/com/android/server/bluetooth/BluetoothManagerService.java')
-rw-r--r-- | service/java/com/android/server/bluetooth/BluetoothManagerService.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/service/java/com/android/server/bluetooth/BluetoothManagerService.java b/service/java/com/android/server/bluetooth/BluetoothManagerService.java index f6201a7b3f..aec5740b09 100644 --- a/service/java/com/android/server/bluetooth/BluetoothManagerService.java +++ b/service/java/com/android/server/bluetooth/BluetoothManagerService.java @@ -2609,8 +2609,9 @@ public class BluetoothManagerService extends IBluetoothManager.Stub { } // Make sure BT process exit completely - int[] pids = Process.getPidsForCommands( - new String[]{ "com.android.bluetooth" }); + //int[] pids = Process.getPidsForCommands( + // new String[]{ "com.android.bluetooth" }); + int[] pids = null; if (pids != null && pids.length > 0) { for(int pid : pids) { Log.e(TAG, "Killing BT process with PID = " + pid); |