summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authoryangbingqian <yangbingqian@xiaomi.com>2017-06-12 22:45:50 +0800
committerPhilip P. Moltmann <moltmann@google.com>2017-06-19 22:59:00 +0000
commitf9fbdd2a3047ed87050d2776060e4d5c8545ab14 (patch)
treef2b821b1e1e0adb5f2eff2d0bf8ad9ab4a41908a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentba003a97f8ebee5d99d196cc9a601bd173438dc3 (diff)
remove the lock-use for prunePrintService in case blocking main thread
As in the change: I4f4cdaba65132dc2ef054877cbb097b499a723f6 the lock object is removed when calling RemotePrintSpooler and so as it in the method prunePrintService(). But in the constructor of UserState, the mLock is still held when calling prunePrintService(), it may also block the main thread It is better to take it out of the synchronized block Test: null Fixes: 37481484 Change-Id: I21fe5380d5c6302f70e04eee7dac0050886ed4f0 Merged-In: I709b491d611dbcbf21a5fd493b879ed290dd0247 Signed-off-by: yangbingqian <yangbingqian@xiaomi.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions