summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorTodd Kennedy <toddke@google.com>2017-09-08 14:27:16 -0700
committerTodd Kennedy <toddke@google.com>2017-09-08 21:50:57 +0000
commit02cecae02901c86334e09b162c09a6e99187f171 (patch)
treefc6baa1d73bf0516c4185cd098935aa3ef6e96db /rs/java/android/renderscript/ProgramStore.java
parentd9abde75e843a0486d5f3c5f5488cb01bde9fc73 (diff)
Don't install package if it's required to be known
During package scaning, we can require packages to be known. This allows us to determine if an install was interrupted by checking the previously known path with the current scanned path. However, if the package wasn't known at all, we allowed the newly scanned package to be installed. Instead, these completely unknown packages should be removed as incomplete installs. One side effect of the existing code is when new apps randomly appear on /data/app, they will be installed. This is not behaviour we want to support. Instead, applications should always be installed through "adb install". Change-Id: I3169482ab9ead252c0e91b415fa4da056abeed4a Fixes: 65162907 Test: Manual Test: cherry-pick ag/2863255 Test: adb install Foo.apk Test: adb shell setprop fw.poke com.android.foo Test: adb shell stop && adb shell start Test: see entries in persistent package manager logs for removing app & data [adb shell dumpsys package messages]
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions