diff options
author | Sudheer Shanka <sudheersai@google.com> | 2017-07-28 15:18:07 -0700 |
---|---|---|
committer | Sudheer Shanka <sudheersai@google.com> | 2017-07-31 12:16:28 -0700 |
commit | 543339fe6b01aaaf112b6b093bc34a7a7aa79a7e (patch) | |
tree | 8cdbc33ac6548d3de86baa87a5c06656528b954b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 07fa454431edbc630e386c888927478b09762ee0 (diff) |
Update NPMS.setRestrictBackgroundUL to notify listeners.
- Move the notifying listeners part to setRestrictBackgroundUL so
that we can avoid notifying if the restrict background update fails.
- Add tracing code for setRestrictBackgroundUL.
- Remove any existing restrict_background_changed messages in the queue
before posting a new one so that listeners will be notified only for
the latest update.
Fixes: 36328002
Test: bit FrameworksServicesTests:com.android.server.NetworkPolicyManagerServiceTest
Change-Id: I83c6270aa9f2d38cd418d2d88bfe59394b111692
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions