summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/6
diff options
context:
space:
mode:
authorFabian Kozynski <kozynski@google.com>2019-02-01 10:14:26 -0500
committerFabian Kozynski <kozynski@google.com>2019-02-01 10:43:41 -0500
commita37d5233ecc3845f8ed3f4d5cbfe9536c0f16f55 (patch)
tree04a72ed1295455c92d86c123ab812a076daad94c /docs/html/sdk/api_diff/6
parent1ec11dbda282e02b3f1db03a454d0e9db91a6b0e (diff)
Reduce number of calls to getApplicationInfo
Converted PrivacyApplication calls to PackageManager#getApplicationInfo to lazy and removed sort by app name in PrivacyDialogBuilder (only the actual dialog needs that sort). This makes it so the calls to getApplicationInfo are only realized when needed. Test: manual using trace-ipc. In one minute of usage, calls are reduced from ~6000 to 7. Test: atest Test: manual, no change in observed behavior Bug: 122878595 Change-Id: Iff4d2b27b8210687079cb12d1bbae83ba33f8392
Diffstat (limited to 'docs/html/sdk/api_diff/6')
0 files changed, 0 insertions, 0 deletions