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

Commit 751b5cc5 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "configfs is special; don't delete dir contents." into nyc-dev

parents d6492a1c 800efcc7
Loading
Loading
Loading
Loading
+1 −4
Original line number Original line Diff line number Diff line
@@ -2387,10 +2387,7 @@ final class Settings {
            if (DEBUG_KERNEL) Slog.d(TAG, "Dropping mapping " + name);
            if (DEBUG_KERNEL) Slog.d(TAG, "Dropping mapping " + name);


            mKernelMapping.remove(name);
            mKernelMapping.remove(name);

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