diff options
author | Aaron Huang <huangaaron@google.com> | 2021-01-21 15:47:41 +0800 |
---|---|---|
committer | Aaron Huang <huangaaron@google.com> | 2021-03-03 15:43:30 +0800 |
commit | 121267c6d18ceabb14ce4a739868148af6e67fd7 (patch) | |
tree | 958e0b2f061281ec267c1fb5efd8e237115ff8ba /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a3fab46d7b4f6b4079b6e223eb6f20589d059658 (diff) |
Remove PersistableBundle(Bundle) usage from ConnectivityService
Because the constuctor PersistableBundle(Bundle) is a hidden
API which is not visible to connectivity mainline module.
Currently, EVENT_NETWORK_TESTED and EVENT_DATA_STALL_SUSPECTED
are two events sent by ConnectivityService so they can build a
PersistableBundle directly and send PersistableBundle instead of
setting Bundle in the data field of the Message.
For EVENT_NETWORK_TESTED, add a new PersistableBundle member in
ConnectivityReportEvent so that the PersistableBundle can be
passed with ConnectivityReportEvent.
For EVENT_DATA_STALL_SUSPECTED, create a Pair<Long, PersistableBundle>
and put this in .obj of the Message, then the PersistableBundle can be
sent with timestampMillis together.
Bug: 177865050
Test: FrameworksNetTests
Change-Id: Ia2220f33f000e7c9439d97617cc08014dc4478a3
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions