diff options
Diffstat (limited to 'framework-t/src/android/app/usage/NetworkStatsManager.java')
| -rw-r--r-- | framework-t/src/android/app/usage/NetworkStatsManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework-t/src/android/app/usage/NetworkStatsManager.java b/framework-t/src/android/app/usage/NetworkStatsManager.java index ca080ce4c6..bf518b2d5a 100644 --- a/framework-t/src/android/app/usage/NetworkStatsManager.java +++ b/framework-t/src/android/app/usage/NetworkStatsManager.java @@ -1061,9 +1061,9 @@ public class NetworkStatsManager { @RequiresPermission(anyOf = { NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) - public void setUidForeground(int uid, boolean uidForeground) { + public void noteUidForeground(int uid, boolean uidForeground) { try { - mService.setUidForeground(uid, uidForeground); + mService.noteUidForeground(uid, uidForeground); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } |
