diff options
author | Lais Andrade <lsandrade@google.com> | 2020-08-20 13:37:00 +0000 |
---|---|---|
committer | Lais Andrade <lsandrade@google.com> | 2020-08-24 15:13:36 +0000 |
commit | 122f12d09eff3545afb4b3f02bb68e3033d6e99e (patch) | |
tree | f924a684a28bcaff584a9d5e7d6b64e72d27ece9 /rs/java/android/renderscript/ProgramStore.java | |
parent | e92740ab3ab6ed8c2b5d5d329e594a4ea7427010 (diff) |
Use vibration id as callback reference in VibratorService
Instead of creating a new global reference for each Vibration jobject
for native callback we are now only keeping a local copy of a jlong
vibrationId to be passed back to a method from VibrationService.
The single global reference to VibrationService is created in
vibratorInit and used in all callbacks.
Fix: 163901838
Fix: 165045639
Fix: 164290392
Bug: 153418251
Test: atest FrameworksServicesTests:VibratorServiceTest
atest CorePerfTests:ViewPerfTest
atest CorePerfTests:VibratorPerfTest
Change-Id: I91791d0a8c524f09167bf6256faa751b957f3056
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions