summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2014-07-30 16:45:01 -0700
committerJeff Sharkey <jsharkey@android.com>2014-07-31 15:17:03 -0700
commit1cb2d0d4bba387665128c62c342e59103ea4be26 (patch)
tree2659fda22f585adf01574c24f1f23dbb3caccef2 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent874bcd82c223ce58c9d76edcf619b3988c672307 (diff)
Persist install sessions, more lifecycle.
To resume install sessions across device boots, persist session details and read at boot. Drop sessions older than 3 days, since they're probably buggy installers. Add session callback lifecycle around open/close to give home apps details about active installs. Also give them a well-known intent to show session details. Extend Session to list staged APKs and open them read-only, giving installers a mechanism to verify delivered bits, for example using MessageDigest, before committing. Switch to generating random session IDs instead of sequential. Defensively resize app icons if too large. Reject runaway installers when they have too many active sessions. Bug: 16514389 Change-Id: I66c2266cb82fc72b1eb980a615566773f4290498
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions