Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc2d615a authored by Svet Ganov's avatar Svet Ganov
Browse files

Fix build

Change-Id: Ib3fc843ad02ea3a83f03cf1d6b063d4031da51b1
parent 4bc3d5c4
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -157,7 +157,7 @@ public class PackageManagerSettingsTests extends AndroidTestCase {
        settings.writeLPr();
        settings.writeLPr();


        // Create Settings again to make it read from the new files
        // Create Settings again to make it read from the new files
        settings = new Settings(getContext(), getContext().getFilesDir(), new Object());
        settings = new Settings(getContext().getFilesDir(), new Object());
        assertEquals(true, settings.readLPw(null, null, 0, false));
        assertEquals(true, settings.readLPw(null, null, 0, false));


        PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_2);
        PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_2);
@@ -168,7 +168,7 @@ public class PackageManagerSettingsTests extends AndroidTestCase {
    public void testEnableDisable() {
    public void testEnableDisable() {
        // Write the package files and make sure they're parsed properly the first time
        // Write the package files and make sure they're parsed properly the first time
        writeOldFiles();
        writeOldFiles();
        Settings settings = new Settings(getContext(), getContext().getFilesDir(), new Object());
        Settings settings = new Settings(getContext().getFilesDir(), new Object());
        assertEquals(true, settings.readLPw(null, null, 0, false));
        assertEquals(true, settings.readLPw(null, null, 0, false));


        // Enable/Disable a package
        // Enable/Disable a package