summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2020-01-24 15:34:34 -0800
committerPhilip P. Moltmann <moltmann@google.com>2020-02-05 13:38:52 -0800
commitb2bc651ffc2828ffa6aa43ffb7f297546e390a88 (patch)
tree6e1ae21f6755c396ab193fb02ae8789ad4d6d299 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent463979efc3777b45a88182101e9643a3a33938eb (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