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

Skip to content
Commit f35139be authored by Songchun Fan's avatar Songchun Fan
Browse files

[pm] get data dir without AndroidPackage

An app's data dir can still exist even if the APK is deleted and
when the corresponding AndroidPackage is null. This CL is to make it
possible to get the data dir path without using the AndroidPackage
object in PackageSetting.

BUG: 288142708
Test: run dumpsys on a package deleted with DELETE_KEEP_DATA and check
"dataDir=" in the output
Test: after reboot the output is still the same
Test: to add a cts test for this in a follow-up CL
Test: atest com.android.server.pm.PackageManagerSettingsDeviceTests

Change-Id: I8d2777af46d8ac2c541e22a2532195776e145a50
parent 9f6b9467
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment