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

Commit e2b79447 authored by Trung Lam's avatar Trung Lam Committed by Android (Google) Code Review
Browse files

Merge "Delete package directory when app is uninstalled."

parents cd6d60a7 997d3e10
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.UserIdInt;
import android.content.LocusId;
import android.os.FileUtils;
import android.text.TextUtils;
import android.util.ArrayMap;

@@ -251,5 +252,6 @@ public class PackageData {
    void onDestroy() {
        mEventStore.onDestroy();
        mConversationStore.onDestroy();
        FileUtils.deleteContentsAndDir(mPackageDataDir);
    }
}