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

Commit 800efcc7 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

configfs is special; don't delete dir contents.

Bug: 27342722
Change-Id: I63e8316a6a6260869b4fdd94fde59b5ec3d7b30a
parent e6ddf45e
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -2387,10 +2387,7 @@ final class Settings {
            if (DEBUG_KERNEL) Slog.d(TAG, "Dropping mapping " + name);

            mKernelMapping.remove(name);

            final File dir = new File(mKernelMappingFilename, name);
            FileUtils.deleteContents(dir);
            dir.delete();
            new File(mKernelMappingFilename, name).delete();
        }
    }