commit | aef2513c7157a28236d097a81fe74d7ba6b710c9 | [log] [tgz] |
---|---|---|
author | Suprabh Shukla <suprabh@google.com> | Mon Jan 23 18:09:03 2017 -0800 |
committer | Suprabh Shukla <suprabh@google.com> | Wed Jan 25 17:26:02 2017 -0800 |
tree | f97967f689a45ae9e57590ceba7bb30e5c754eef | |
parent | 4bd54c70fa37909fdd7c764d9995c132e7cc137d [diff] |
Adding an api for apps to check whether they can install apps Some apps may want to check whether they are trusted to install apps on the device, so they can prompt the user to go to settings and mark them as trusted before they do an intensive operation like downloading an apk. Test: cts-tradefed run cts -m CtsExternalSourcesTestCases Bug: 31002700 Change-Id: Icd9d04daa157e6733decba245ec251ce4acd4122