diff options
author | Songchun Fan <schfan@google.com> | 2020-02-13 09:38:58 -0800 |
---|---|---|
committer | Songchun Fan <schfan@google.com> | 2020-02-19 01:46:27 +0000 |
commit | 7c0f3292cfa11ec42fde245f1bb140d92f79671f (patch) | |
tree | 4b2caf02f1866560f136d205740cfcea4c386cf7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 75088d14f428f7ae8fc3bb0a44265be4309cde12 (diff) |
copy first level apk dir on movePackage
The goal is to make sure the code path still has two levels after the
move, on the target storage.
Test: manual as follows:
$ adb install ~/Downloads/yelp.apk
$ adb shell
walleye:/ # su
walleye:/ # sm set-virtual-disk true
walleye:/ # sm list-disks
disk:7,224
walleye:/ # sm partition disk:7,224 private
walleye:/ # sm list-volumes
private mounted null
private:7,226 mounted ea386596-0d69-4cd7-87f8-2d77ced59f0c
emulated;0 mounted null
emulated:7,226;0 unmounted null
walleye:/ # pm move-package com.yelp.android ea386596-0d69-4cd7-87f8-2d77ced59f0c
Success
Example log:
PackageManager: Update package com.yelp.android code path from /data/app/~~LKNWa_moIm9tFw5KY5E7ZA==/com.yelp.android-VgweFDciQH9cPQLnkooiMA== to /mnt/expand/ea386596-0d69-4cd7-87f8-2d77ced59f0c/app/~~LKNWa_moIm9tFw5KY5E7ZA==/com.yelp.android-VgweFDciQH9cPQLnkooiMA==
BUG: b/148844589 b/148237378
Change-Id: I46109a7befa8971a05049b4f495ca0d73e244a0b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions