summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Brian Duddie <bduddie@google.com> 2020-06-19 11:38:29 -0700
committer Brian Duddie <bduddie@google.com> 2020-06-19 16:13:17 -0700
commit457e639a91c4c0158be321e15e71143658eccdda (patch)
tree88b3288702af6000da994da9671cb20dca820e7e /libs/gui/SurfaceControl.cpp
parent109ad7156997f031717183664ac51a03110bc2b3 (diff)
Skip checking the app op for step sensors for legacy apps
To maintain backwards compatibility, ensure that apps with target SDK set to P or lower get access to step count and detect sensors, regardless of their permission status. After a change was made to the app ops code in rvc-dev, this check resulted in compatibility breakage for some apps built with target SDK before Q. Fixes: 157638722 Test: confirm that a popular step counting app from the Play Store is able to receive step count events after the change (where it couldn't before) Change-Id: Idab0ec458221524997f68311f4c6b216c969cb61
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions