commit | 41f7cbc8378a3573d5330a3273d8880e31a356d2 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Apr 10 13:54:43 2020 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Fri Apr 10 13:54:45 2020 -0600 |
tree | 17aedcc90ad402f46f5d262f4e31d86fb7aa4b75 | |
parent | 51ecd453b3e7aaf15eed9aeb7536867c4a0b8b75 [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