diff options
author | Suchi Amalapurapu <asuchitra@google.com> | 2010-03-10 09:46:49 -0800 |
---|---|---|
committer | Suchi Amalapurapu <asuchitra@google.com> | 2010-03-10 09:46:49 -0800 |
commit | 6069beb2dfed6da837bf7faa3db3f6119edc017a (patch) | |
tree | 59b7d3e108b6e1dcfebc0a897db335b9c9f37407 /tests | |
parent | a8fbe1fb74d3bd40b73c90c85ac25e5176475ca5 (diff) | |
download | frameworks_base-6069beb2dfed6da837bf7faa3db3f6119edc017a.zip frameworks_base-6069beb2dfed6da837bf7faa3db3f6119edc017a.tar.gz frameworks_base-6069beb2dfed6da837bf7faa3db3f6119edc017a.tar.bz2 |
Rename ApplicationInfo.FLAG_ON_SDCARD to ApplicationInfo.FLAG_EXTERNAL_STORAGE
Change-Id: Iadef9f9bb2851c38b6d79be1bafbf932abce4210
Change-Id: I2e412bace3d8005db5057a3497bd836d0038b90c
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/AndroidTests/src/com/android/unit_tests/PackageManagerTests.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/AndroidTests/src/com/android/unit_tests/PackageManagerTests.java b/tests/AndroidTests/src/com/android/unit_tests/PackageManagerTests.java index 0b69020..d4435d3 100755 --- a/tests/AndroidTests/src/com/android/unit_tests/PackageManagerTests.java +++ b/tests/AndroidTests/src/com/android/unit_tests/PackageManagerTests.java @@ -315,9 +315,9 @@ public class PackageManagerTests extends AndroidTestCase { if (!getInstallLoc(flags, expInstallLocation)) { assertEquals(srcPath, appInstallPath); assertEquals(publicSrcPath, appInstallPath); - assertFalse((info.flags & ApplicationInfo.FLAG_ON_SDCARD) != 0); + assertFalse((info.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0); } else { - assertTrue((info.flags & ApplicationInfo.FLAG_ON_SDCARD) != 0); + assertTrue((info.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0); assertTrue(srcPath.startsWith(SECURE_CONTAINERS_PREFIX)); assertTrue(publicSrcPath.startsWith(SECURE_CONTAINERS_PREFIX)); } @@ -1172,9 +1172,9 @@ public class PackageManagerTests extends AndroidTestCase { ApplicationInfo info = getPm().getApplicationInfo(ip.pkg.packageName, 0); assertNotNull(info); if ((moveFlags & PackageManager.MOVE_INTERNAL) != 0) { - assertTrue((info.flags & ApplicationInfo.FLAG_ON_SDCARD) == 0); + assertTrue((info.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) == 0); } else if ((moveFlags & PackageManager.MOVE_EXTERNAL_MEDIA) != 0){ - assertTrue((info.flags & ApplicationInfo.FLAG_ON_SDCARD) != 0); + assertTrue((info.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0); } } else { assertFalse(retCode); |