summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2018-03-12 17:29:49 -0700
committerMakoto Onuki <omakoto@google.com>2018-03-14 12:21:54 -0700
commit04ef44761dae112d443ffc7ada4a170b956fcd97 (patch)
treedfadc42fd5bb56482852bd612585e7a80eaf6668 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent75431913efb867a7052ffdd48eef6a5ed8ec4e08 (diff)
Fix deadlock regarding screen-capture-disabled
- Introduced DevicePolicyCache, which stores a copy of device policies that can be accessed with any lock held. - Removed "wm screen-capture". According to code search, it's not being used, and this command wasn't really working as intended, since DPM can always override the manually set value. Bug: 74277398 Test: atest /android/pi-dev/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/MixedDeviceOwnerTest.java#testScreenCaptureDisabled,testScreenCaptureDisabled_assist ; \ Test: atest /android/pi-dev/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/MixedProfileOwnerTest.java#testScreenCaptureDisabled,testScreenCaptureDisabled_assist ; \ Test: atest /android/pi-dev/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/MixedManagedProfileOwnerTest.java#testScreenCaptureDisabled,testScreenCaptureDisabled_assist Change-Id: I1968d1c32145a715d0343f25cb9d58939514b597
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions