summaryrefslogtreecommitdiffstats
path: root/tests/AndroidTests/src/com/android/unit_tests/BluetoothTest.java
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:00 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:00 -0800
commitd24b8183b93e781080b2c16c487e60d51c12da31 (patch)
treefbb89154858984eb8e41556da7e9433040d55cd4 /tests/AndroidTests/src/com/android/unit_tests/BluetoothTest.java
parentf1e484acb594a726fb57ad0ae4cfe902c7f35858 (diff)
downloadframeworks_base-d24b8183b93e781080b2c16c487e60d51c12da31.zip
frameworks_base-d24b8183b93e781080b2c16c487e60d51c12da31.tar.gz
frameworks_base-d24b8183b93e781080b2c16c487e60d51c12da31.tar.bz2
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'tests/AndroidTests/src/com/android/unit_tests/BluetoothTest.java')
-rw-r--r--tests/AndroidTests/src/com/android/unit_tests/BluetoothTest.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/AndroidTests/src/com/android/unit_tests/BluetoothTest.java b/tests/AndroidTests/src/com/android/unit_tests/BluetoothTest.java
index 21fb94b..0a60319 100644
--- a/tests/AndroidTests/src/com/android/unit_tests/BluetoothTest.java
+++ b/tests/AndroidTests/src/com/android/unit_tests/BluetoothTest.java
@@ -336,7 +336,6 @@ public class BluetoothTest extends AndroidTestCase {
filter.addAction(BluetoothIntent.ENABLED_ACTION);
filter.addAction(BluetoothIntent.DISABLED_ACTION);
filter.addAction(BluetoothIntent.NAME_CHANGED_ACTION);
- filter.addAction(BluetoothIntent.MODE_CHANGED_ACTION);
filter.addAction(BluetoothIntent.DISCOVERY_STARTED_ACTION);
filter.addAction(BluetoothIntent.DISCOVERY_COMPLETED_ACTION);
filter.addAction(BluetoothIntent.PAIRING_REQUEST_ACTION);
@@ -349,8 +348,6 @@ public class BluetoothTest extends AndroidTestCase {
filter.addAction(BluetoothIntent.REMOTE_DEVICE_DISCONNECTED_ACTION);
filter.addAction(BluetoothIntent.REMOTE_NAME_UPDATED_ACTION);
filter.addAction(BluetoothIntent.REMOTE_NAME_FAILED_ACTION);
- filter.addAction(BluetoothIntent.REMOTE_ALIAS_CHANGED_ACTION);
- filter.addAction(BluetoothIntent.REMOTE_ALIAS_CLEARED_ACTION);
filter.addAction(BluetoothIntent.BOND_STATE_CHANGED_ACTION);
filter.addAction(BluetoothIntent.HEADSET_STATE_CHANGED_ACTION);
getContext().registerReceiver(
@@ -386,16 +383,6 @@ public class BluetoothTest extends AndroidTestCase {
msg += " name=" + name;
}
- String alias = intent.getStringExtra(BluetoothIntent.ALIAS);
- if (alias != null) {
- msg += " alias=" + alias;
- }
-
- int mode = intent.getIntExtra(BluetoothIntent.MODE, -10);
- if (mode != -10) {
- msg += " mode=" + mode;
- }
-
int state = intent.getIntExtra(BluetoothIntent.HEADSET_STATE, -10);
if (state != -10) {
msg += " headset state=" + state;