summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Anthony Stange <stange@google.com> 2020-08-28 14:50:28 -0400
committer Anthony Stange <stange@google.com> 2020-09-08 20:08:10 +0000
commit07eb42170b8cd3934dbde3379503d1d5dffd92e1 (patch)
tree465315d8de5997fb195fd11d726a11b8e024cfca /services/surfaceflinger/RegionSamplingThread.cpp
parent3f7ecb473745bf5c0b708bafbd8818d75106b310 (diff)
Only get target SDK version if not a VNDK client
The target SDK version is used to avoid a permission check for apps targeting an earlier version of Android. VNDK clients don't provide a valid op package name which causes the target SDK version check to fail. This CL removes that target SDK version for those clients (or anyone that fakes their VNDK op package name) and instead *always* performs the permission check for them. Bug: 165055606 Test: Run VNDK client and verify error is no longer printed. Also, try popular step counter and verify it still can get step data. Change-Id: I71c0dfa95bd4f753f6819ad46886541605a24213
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions