summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2020-04-10 13:54:43 -0600
committerJeff Sharkey <jsharkey@android.com>2020-04-10 13:54:45 -0600
commit41f7cbc8378a3573d5330a3273d8880e31a356d2 (patch)
tree17aedcc90ad402f46f5d262f4e31d86fb7aa4b75 /tools/aapt2/java/JavaClassGenerator.cpp
parent51ecd453b3e7aaf15eed9aeb7536867c4a0b8b75 (diff)
Narrow access to getDataLayerSnapshotForUid().
This method is used in TrafficStats to obtain the snapshot for the calling UID, so narrow it to only return data for that specific case. We might be tempted to throw an exception or adjust the method signature, but apps are using the raw AIDL in the greylist, so we return them an empty NetworkStats if they ask about other UIDs. Bug: 119672472 Test: manual Change-Id: I3064630039f1d8473d6425dd663f17813a4ae3a1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions