summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFabian Kozynski <kozynski@google.com>2019-03-05 13:36:26 -0500
committerFabian Kozynski <kozynski@google.com>2019-03-06 17:06:13 -0500
commitbdd3d3c24b4eebb7af602d508e9210ecb997801b (patch)
tree93ce62ef37c35d0369a273859b63ec2005f84262 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent63727e269ba49fcef75577c03af69a19922ecad8 (diff)
Removed unnecessary calls and creations of Binder
The previous behavior registered HotspotController to the WifiManager every time a callback was added in order to trigger an update in the number of current connections. This caused two things: * Every registering with WifiManager creates a new Binder object (see WifiManager#registerSoftApCallback) * Every callback added triggered Callback#onHotspotChanged on all the current callbacks This removes both behaviors while maintaining the information sent to the callback on addCallback by posting an update. We assume that the information currently in HotspotController is up to date, if not, there would be a callback. Test: atest Test: manual (opening and closing QS) Fixes: 123546508 Change-Id: Ica73082beb752a7c20e11b2b2a441fa84bf948a1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions