androiddump: btsnoop support on android T and onwards

After android T, BT process might be called i.e.
com.google.android.bluetooth, instead of com.android.bluetooth

It depends on what APEX version is installed.
This commit is contained in:
Jakub Pawlowski 2023-01-04 16:33:25 +01:00 committed by Alexis La Goutte
parent 0e93070745
commit c95e8bd38a
1 changed files with 1 additions and 1 deletions

View File

@ -999,7 +999,7 @@ static int register_interfaces(extcap_parameters * extcap_conf, const char *adb_
const char *adb_ps_droid_bluetooth = "shell:ps droid.bluetooth";
const char *adb_ps_bluetooth_app = "shell:ps com.android.bluetooth";
const char *adb_ps_with_grep = "shell:ps | grep com.android.bluetooth";
const char *adb_ps_all_with_grep = "shell:ps -A | grep com.android.bluetooth";
const char *adb_ps_all_with_grep = "shell:ps -A | grep com.*android.bluetooth";
char serial_number[SERIAL_NUMBER_LENGTH_MAX];
char model_name[MODEL_NAME_LENGTH_MAX];
int result;