summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorAyush Sharma <ayushsha@google.com>2021-08-10 11:36:07 +0000
committerAyush Sharma <ayushsha@google.com>2021-08-13 21:14:13 +0000
commitc152198ed4dfaa2a89a5827fdaa24dd3ef66bbba (patch)
tree9416a52e7276c7c8364579ff4abae0eb9e84ab81 /core/java/android/inputmethodservice/AbstractInputMethodService.java
parent52d87ab5325f4863d9c75236d2590a81624f0438 (diff)
Construct ESIDCalculator class object just once
Construct EnterpriseSpecificIdCalculator object just once and out of DevicePolicyManagerService class wide lock, to stop the deadlock, as ESIDCalculator constructor depends on telephony and wifi service, which in turn could be calling to DPMS trying to hold the lock causing the deadlock. Bug: 191741106 Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testEnrollmentSpecificIdCorrectCalculation com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testEnrollmentSpecificIdCorrectCalculation com.android.cts.devicepolicy.MixedDeviceOwnerTest#testEnrollmentSpecificIdEmptyAndMultipleSet com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testEnrollmentSpecificIdEmptyAndMultipleSet Change-Id: I5ec2ae6f476fcc7ca2a3114f8133653cfbbd349b
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions