commit | 14ea9efdfefa3bac070260802afb9f68fbd43b23 | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Thu Jan 10 14:56:06 2019 -0800 |
committer | Hai Zhang <zhanghai@google.com> | Fri Jan 11 02:02:11 2019 +0000 |
tree | 08039c506e567d2652cb66583b40b98075054f63 | |
parent | 1bafe67c7855673c163483bedf8e304b9b75ec44 [diff] |
Add ApplicationInfo.isEncrpytionAware() as a system API. applicationInfo.isDirectBootAware() || applicationInfo.isPartiallyDirectBootAware() was used by Settings to determine whether to show a confirmation message for setting a direct boot unaware app to be some default app (e.g. SMS). Since we are moving default app into roles in PermissionController, we need this as a system API. Bug: 110557011 Bug: 122270890 Test: build Change-Id: I8bfc2b4e07239b6b9b1b9948dede3748b6ae974c