commit | 42d5979f6981a7e6b3e1b191e465f94faeda2d0f | [log] [tgz] |
---|---|---|
author | ykhung <ykhung@google.com> | Wed Apr 13 11:18:18 2022 +0800 |
committer | YK Hung <ykhung@google.com> | Wed Apr 13 03:27:06 2022 +0000 |
tree | e2d11e831aebcf85674ba99204ace508dbdf40ec | |
parent | 8bd6647885ea9016db893a0ec8e4fa52923a1163 [diff] |
[Security] Verify the permission first before querying installed apps Verify the target app "REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" permission first before querying installed apps information to avoid the exposed the installed apps information and improve the performance by applying the early return flow. Bug: 227753723 Test: make RunSettingsRoboTests Change-Id: Ib5826b8082f4bf14f93d5ff4d2d332dc395bf9a8