summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/InputMethodManagerService.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-03-21 18:09:39 -0700
committerJeff Sharkey <jsharkey@android.com>2013-04-15 12:34:40 -0700
commit328ebf222167ee1d25a54fd34c8293e183303752 (patch)
tree6e00783e36b0553657c662d43ddac0cdf0243539 /services/java/com/android/server/InputMethodManagerService.java
parent60113556355f25d02d9d0e0556a02483cad8ff48 (diff)
downloadframeworks_base-328ebf222167ee1d25a54fd34c8293e183303752.zip
frameworks_base-328ebf222167ee1d25a54fd34c8293e183303752.tar.gz
frameworks_base-328ebf222167ee1d25a54fd34c8293e183303752.tar.bz2
Support persistable Uri permission grants.
When granting a Uri permission with new PERSIST_GRANT_URI_PERMISSION flag, persist that grant across device reboots until explicitly revoked. Adds new persistedModeFlags dimension to UriPermission, and moves all flag mutation into UriPermission for clarity. Adds flag documentation. Only inflate HashSet as needed. Write persisted grants into XML file, saving based on source and target package name and user handle. Sanity check grants when parsing. Wipe all grants from/to a package when uninstalled, and wipe any transient grants when a package or user is force stopped. Persistable grants are always considered "needed." Change-Id: I3f001571b498fd607456a1257a6383f904d19497
Diffstat (limited to 'services/java/com/android/server/InputMethodManagerService.java')
0 files changed, 0 insertions, 0 deletions