Skip to content

Commit

Permalink
OboeTester: Add more features to device report (#2094)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertwu1 authored Sep 3, 2024
1 parent 5b62597 commit fdc7475
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,16 @@ public static String getAudioFeatureReport(PackageManager packageManager) {
+ packageManager.hasSystemFeature(PackageManager.FEATURE_USB_HOST));
report.append("\nUSB Accessory Feature: "
+ packageManager.hasSystemFeature(PackageManager.FEATURE_USB_ACCESSORY));
report.append("\nBluetooth Feature : "
+ packageManager.hasSystemFeature(PackageManager.FEATURE_BLUETOOTH));
report.append("\nBluetooth LE Feature : "
+ packageManager.hasSystemFeature(PackageManager.FEATURE_BLUETOOTH_LE));
if (android.os.Build.VERSION.SDK_INT > Build.VERSION_CODES.TIRAMISU) {
report.append("\nTelecom Feature : "
+ packageManager.hasSystemFeature(PackageManager.FEATURE_TELECOM));
report.append("\nTelephonyCall Feature: "
+ packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY_CALLING));
}
return report.toString();
}

Expand Down

0 comments on commit fdc7475

Please sign in to comment.