diff options
author | Craig Mautner <cmautner@google.com> | 2015-01-14 16:09:01 -0800 |
---|---|---|
committer | Craig Mautner <cmautner@google.com> | 2015-01-15 17:20:40 -0800 |
commit | 428ecf296694fa8c7214e068d36d47d1c74e5110 (patch) | |
tree | 9bedd44058ad2b1b069daf1c1bd5a120efddbe34 /tests/permission | |
parent | 799bc1d383ea40637e88c4a9dba8671585202d99 (diff) | |
download | frameworks_base-428ecf296694fa8c7214e068d36d47d1c74e5110.zip frameworks_base-428ecf296694fa8c7214e068d36d47d1c74e5110.tar.gz frameworks_base-428ecf296694fa8c7214e068d36d47d1c74e5110.tar.bz2 |
Remove unused method moveTaskToBack.
Everyone uses moveActivityTaskToBack() instead.
Fixes item #3 of bug 18088522.
Change-Id: I16028335fe1eef8a2aa47804f46536e395a16d8c
Diffstat (limited to 'tests/permission')
-rw-r--r-- | tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java b/tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java index 3bd35a7..3791d02 100644 --- a/tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java +++ b/tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java @@ -47,17 +47,7 @@ public class ActivityManagerPermissionTests extends TestCase { } catch (RemoteException e) { fail("Unexpected remote exception"); } - - try { - mAm.moveTaskToBack(-1); - fail("IActivityManager.moveTaskToBack did not throw SecurityException as" - + " expected"); - } catch (SecurityException e) { - // expected - } catch (RemoteException e) { - fail("Unexpected remote exception"); - } - + try { mAm.moveTaskBackwards(-1); fail("IActivityManager.moveTaskToFront did not throw SecurityException as" |