Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9aedadbe authored by Winson Chiu's avatar Winson Chiu
Browse files

Optimize ActiveServices targetSdkVersion fetch

Rather than fetching the entire AppInfo object, call the method for
specifically getting the targetSdkVersion.

In this specific case, match flags and user ID can both be ignored as
only 1 physical APK for each package name is allowed on the device, so
as long as the caller has package visibility, the targetSdkVersion
returned is guaranteed to be the right one.

Bug: 219481486

Test: presubmit

Change-Id: I1d8c155e9be9b80da0af241273ceb9cf3564d917
parent b1b22000
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment