diff options
author | Oli Lan <olilan@google.com> | 2021-03-02 13:46:46 +0000 |
---|---|---|
committer | Oli Lan <olilan@google.com> | 2021-03-08 15:04:53 +0000 |
commit | a992999c21ec7201f5d4d0358df93b125942c2f6 (patch) | |
tree | 639332d360e221454b77bebb28fc86ae484a3a09 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 54c65485055d77428ae1120307be7cf38bc7d2ec (diff) |
Simplify locking in ClipboardService.
Currently ClipboardService contains synchronization around two
objects: mLock, and the instance of ClipboardImpl. This
changes all the synchronization to use mLock, and applies
synchronization only where needed, i.e. when a guarded member
(such as the clipboard data) is being accessed.
Bug: 179667029
Test: atest ClipboardManagerTest; atest ClipDataTest; atest
ClipDescriptionTest
Change-Id: I7d55a2d5526275dc0e8ca1ce6fad9d4b14c6b3c8
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions