summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2020-11-06 19:19:31 +0800
committerjunyulai <junyulai@google.com>2020-11-12 14:22:31 +0800
commit845f3a61ae63a06a21b4a5f7551728aa18858a47 (patch)
treedea0fe12f109ad007b56fe2eaa7a1eb2195dce0b /rs/java/android/renderscript/Program.java
parente5d0585e2c238339a794df01ab7abf4ee14506b5 (diff)
Remove unused variables
From aosp/537809, variables that used to fetch realtime stats are defined in NetworkStatsService. These varialbles are filled by JNI in boot up stage in order to keep definitions sync with native layer. However, there is still a copy in TrafficStats.java, and this copy cannot be filled in boot-up stage since it is in app process. Besides, making a binder call to fetch these constants from service is considered an overkill. Thus, since there is no caller to these variables and callers should use definitions in TrafficStats, remove these variables. Test: atest FrameworksNetTests Bug: 16229221 Change-Id: I6a48d4dbb1b824cfc6c4a47395b2a76aa28cf5c9
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions