diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-01-29 16:12:48 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2013-01-29 16:12:48 -0800 |
commit | d4d9364019ed071509213b9ce772f4a5904d2847 (patch) | |
tree | e1b998350f4dcf680c1c981ca019acad6793e4d2 /services/tests | |
parent | e8ae8b8982da37ca77bbaed8e98349d51dec824a (diff) | |
download | frameworks_base-d4d9364019ed071509213b9ce772f4a5904d2847.zip frameworks_base-d4d9364019ed071509213b9ce772f4a5904d2847.tar.gz frameworks_base-d4d9364019ed071509213b9ce772f4a5904d2847.tar.bz2 |
Maybe fix build.
Change-Id: Ibad8edb15e7cc332d6c29958a386d32a96f4e755
Diffstat (limited to 'services/tests')
-rw-r--r-- | services/tests/servicestests/src/com/android/server/pm/PackageManagerSettingsTests.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/services/tests/servicestests/src/com/android/server/pm/PackageManagerSettingsTests.java b/services/tests/servicestests/src/com/android/server/pm/PackageManagerSettingsTests.java index 0f531b7..1ab5f45 100644 --- a/services/tests/servicestests/src/com/android/server/pm/PackageManagerSettingsTests.java +++ b/services/tests/servicestests/src/com/android/server/pm/PackageManagerSettingsTests.java @@ -139,7 +139,7 @@ public class PackageManagerSettingsTests extends AndroidTestCase { // Write the package files and make sure they're parsed properly the first time writeOldFiles(); Settings settings = new Settings(getContext(), getContext().getFilesDir()); - assertEquals(true, settings.readLPw(null, 0, false)); + assertEquals(true, settings.readLPw(null, null, 0, false)); assertNotNull(settings.peekPackageLPr(PACKAGE_NAME_3)); assertNotNull(settings.peekPackageLPr(PACKAGE_NAME_1)); @@ -157,11 +157,11 @@ public class PackageManagerSettingsTests extends AndroidTestCase { // Write the package files and make sure they're parsed properly the first time writeOldFiles(); Settings settings = new Settings(getContext(), getContext().getFilesDir()); - assertEquals(true, settings.readLPw(null, 0, false)); + assertEquals(true, settings.readLPw(null, null, 0, false)); // Create Settings again to make it read from the new files settings = new Settings(getContext(), getContext().getFilesDir()); - assertEquals(true, settings.readLPw(null, 0, false)); + assertEquals(true, settings.readLPw(null, null, 0, false)); PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_2); assertEquals(COMPONENT_ENABLED_STATE_DISABLED_USER, ps.getEnabled(0)); @@ -172,7 +172,7 @@ public class PackageManagerSettingsTests extends AndroidTestCase { // Write the package files and make sure they're parsed properly the first time writeOldFiles(); Settings settings = new Settings(getContext(), getContext().getFilesDir()); - assertEquals(true, settings.readLPw(null, 0, false)); + assertEquals(true, settings.readLPw(null, null, 0, false)); // Enable/Disable a package PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_1); |