diff options
author | Philip P. Moltmann <moltmann@google.com> | 2020-01-24 15:34:34 -0800 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2020-02-05 13:38:52 -0800 |
commit | b2bc651ffc2828ffa6aa43ffb7f297546e390a88 (patch) | |
tree | 6e1ae21f6755c396ab193fb02ae8789ad4d6d299 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 463979efc3777b45a88182101e9643a3a33938eb (diff) |
Callback startWatchingMode with the right op
... in case the op has a switchOp.
Some ops have a switch-op. This means the mode of this op is not unique
to this op but shared with the switch-op.
E.g. FINE_LOCATIONs switch-op is COARSE_LOCATION.
Before R when you registered a startWatchingMode for FINE_LOCATION the
callbacks actually came for COARSE_LOCATION. Now the callbacks will
actually come for FINE_LOCATION
This is a subtle API change, hence guarded by a target-api change-id.
Bug: 148180766
Test: atest CtsAppOpsTestCases:android.app.appops.cts.ForegroundModeTest
Change-Id: I6bcb6f4876e524da65dd54c1d9f5cf1ce14c396c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions