summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorHunter Knepshield <hknepshield@google.com>2020-06-12 15:02:39 -0700
committerHunter Knepshield <hknepshield@google.com>2020-06-16 16:48:58 -0700
commit87cd4b076176539d5e3520e4a10dfaa380380c52 (patch)
tree32911e1ba8d941097211bce8632dc3f46e614759 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent1172ffa7c261a499132fb59e18c2f972b1f57f45 (diff)
Reevaluate some carrier-associated apps' status on SDK changes.
If a carrier-associated app is added to the system image after the device is initially launched (e.g. Q -> R OTA), the logic to disable apps without a corresponding SIM will not run, leaving the app in an enabled state in more cases than there should be. To safely account for this, we only reevaluate on SDK change for apps whose addedInSdk value falls within the range since the last time we evaluated carrier apps' statuses. Apps that set lower (or higher) SDK versions are ignored. We choose *not* to use minimum or target SDK version here because it's more likely to change with each OTA / prebuilt, which could cause unintended disable operations (or lack thereof). Bug: 154872019 Test: manual, QA, atest FrameworksTelephonyTests:CarrierAppUtilsTest Change-Id: I97ddfa03f34e7d00e66ce7cd508d6d2a5e83fbc2
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions