summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2016-12-08 09:36:52 +0900
committerHugo Benichi <hugobenichi@google.com>2016-12-15 10:31:38 +0900
commitfb2609d3eee1c7a4dda889c000f32183a044978a (patch)
treedbef8c88ec5441dc8151ff918e8eb0380f81f50a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente1cbf15f1ad7f2f7e1cc1e96e6a82c3fa2f70bdf (diff)
Network notifications: revamp keying scheme
This patch changes the (tag: String, id: Int) keying scheme for network notifications so that TRON notification counters can count network related notifications unambiguously. TRON instruments all notifications shown for package "android" as well as user interactions with these Notifications. These counters are grouped by id. However the network notifications ("no internet" dialog, "captive portal sign in" dialog, ...) use a static tag and a dynamic id for keying notifications, preventing the counters to correctly aggregate. In addition there is also the risk of collision with other SystemUi notification ids not managed by NetworkNotificationManager. In order to make the TRON counters useful for network notifications, the id is now encoding the network notification type in a stable way while the tag is used to uniquely identify network notifications. Test: change covered by previously added new unit tests. Bug: 32198726 Bug: 33030620 Change-Id: I1201d1d4fab8183dd83449c2afb2c35cfece883f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions