]> git.saurik.com Git - android/aapt.git/commitdiff
am dde1ae84: am 45378f07: am 6b22d81a: As Donut (API=4) devices and earlier do not...
authorDan Morrill <morrildl@google.com>
Thu, 17 Jun 2010 19:45:53 +0000 (12:45 -0700)
committerAndroid Git Automerger <android-git-automerger@android.com>
Thu, 17 Jun 2010 19:45:53 +0000 (12:45 -0700)
Merge commit 'dde1ae841ab77c4c0b3ef9bb25849314554a6ad7'

* commit 'dde1ae841ab77c4c0b3ef9bb25849314554a6ad7':
  As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files

Command.cpp

index 1e8b395b03e071ef1806cc02a6e7d7fdc0170603..83057b8ab2bf4e0741c1a2feb290f3e5dabc0188 100644 (file)
@@ -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");