diff options
author | Eugene Susla <eugenesusla@google.com> | 2017-03-14 10:26:10 -0700 |
---|---|---|
committer | Eugene Susla <eugenesusla@google.com> | 2017-03-24 14:03:17 -0700 |
commit | a38fbf63fd2a29884637a59387643c801ed4f663 (patch) | |
tree | 17a41c27bc5b8d2e3dd296bf49df2911f65285a0 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | cf0341ec5db251ef3030524c7ca8e51cef45cc40 (diff) |
Unbind from service on app killed and dedup association requests
1. Listen to calling package binder death stopping the scanning on that.
2. Don't restart scanning when a request with the same values was made.
Bug: 30932767
Test: 1.:
- Using a test app start scanning and kill the app.
- In debug mode ensure that DeviceDiscoveryService#stopScan gets triggered
2.:
- Start scanning and rotate the device while device chooser is visible
- Ensure no visible loss of state is happening
Change-Id: If126a2c963da90172a956fbd88e6b3dcd7ac8b01
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions