diff options
author | Stanley Tng <stng@google.com> | 2017-04-17 22:35:45 -0700 |
---|---|---|
committer | Andre Eisenbach <eisenbach@google.com> | 2017-04-21 22:19:57 +0000 |
commit | dd749b0f61de8e0fc8bf48f7907009b5c5eb77de (patch) | |
tree | f8e5582c531854a9927df4f48abd421b14382c22 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 31eeb08bdbe8f6ababe6414db729ac9449b01fc9 (diff) |
Allow the Bluetooth MAC address to be updated asynchronously (2/3)
There are intermittent issues where either the returned Bluetooth
MAC address to Java framework is uninitialized or this address update
arrives too late. This fix will do 2 things:
(1) Returns error when MAC address is unavailable in the native code.
(2) Updates the MAC address later by adding a new broadcast event.
Test: Check address for these cases: factory reset, system reboot, and
Bluetooth re-enable.
Bug: 36709382
Change-Id: I09720193e38fdf9139e1bb146f8e1847e2b65b1a
(cherry picked from commit ad4d1d8e28618546953e75d4983335631feb6f2a)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions