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

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

Merge "Delete package directory when app is uninstalled." into rvc-dev

parents d697434f 3ef69f7e
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);
    }
}