X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/bd8c05dde553c7da896332f1fae7b3c40da9951c..547f2c817fa6fdbf0fd9b53eae0fc84de60f577d:/Command.cpp?ds=inline diff --git a/Command.cpp b/Command.cpp index 1e8b395..83057b8 100644 --- a/Command.cpp +++ b/Command.cpp @@ -1000,7 +1000,7 @@ int doDump(Bundle* bundle) } // Bluetooth-related compatibility logic - if (!specBluetoothFeature && hasBluetoothPermission) { + if (!specBluetoothFeature && hasBluetoothPermission && (targetSdk > 4)) { // if app takes a Bluetooth permission but does not request the Bluetooth // feature, we infer that it meant to printf("uses-feature:'android.hardware.bluetooth'\n");