Push specific licenses down the tree toward the leaf directories.
Remove extra Apache 2.0 license texts--just use Android-Apache-2.0
Test: m nothing
Change-Id: Ibee25f75f5933699d6f43acdc192b2ada6823757
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug: 73535841
Change-Id: I371bd0b43e66bcc4be1e26decb95c70519ac3342
android.bluetooth.a2dp.action.SINK_STATE_CHANGED is not sent from
anywhere, so it's useless to try to catch it.
Test: compiles
Bug: 34395439
Change-Id: I8185e148cf31efa820fe288c90ebed395517c722
Currently it just registers a receiver for all Bluetooth intents,
and prints them to logcat. For example:
BTDEBUG : a.b.device.a.FOUND
BTDEBUG : a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG : a.b.device.e.RSSI = -35
BTDEBUG : a.b.device.e.CLASS = 200404
BTDEBUG : a.b.adapter.a.DISCOVERY_FINISHED
BTDEBUG : a.b.device.a.BOND_STATE_CHANGED
BTDEBUG : a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG : a.b.device.e.BOND_STATE = 11
BTDEBUG : a.b.device.e.PREVIOUS_BOND_STATE = 10
BTDEBUG : a.b.device.a.ACL_CONNECTED
BTDEBUG : a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG : a.b.device.a.NAME_CHANGED
BTDEBUG : a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG : a.b.device.e.NAME = "HBH-IV840"
This application is built by default, but is not installed. Use
mmm development/apps/BluetoothDebug
adb install -r $OUT/system/app/BluetoothDebug.apk
to install it. Logging will begin immediately.
Change-Id: I582e6415fc1c856a6a4581ecf52eda11818601cf