Merge "Remove legacy style metalava suppression" am: e1bb600fc7 am: 8f02f86962
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1421698 Change-Id: Idd656e3803c247b03808259c582599898c064b27
This commit is contained in:
@@ -301,7 +301,7 @@ public class TrafficStats {
|
||||
* Changes only take effect during subsequent calls to
|
||||
* {@link #tagSocket(Socket)}.
|
||||
*/
|
||||
@SuppressLint("Doclava125")
|
||||
@SuppressLint("RequiresPermission")
|
||||
public static void setThreadStatsUid(int uid) {
|
||||
NetworkManagementSocketTagger.setThreadSocketStatsUid(uid);
|
||||
}
|
||||
@@ -339,7 +339,7 @@ public class TrafficStats {
|
||||
*
|
||||
* @see #setThreadStatsUid(int)
|
||||
*/
|
||||
@SuppressLint("Doclava125")
|
||||
@SuppressLint("RequiresPermission")
|
||||
public static void clearThreadStatsUid() {
|
||||
NetworkManagementSocketTagger.setThreadSocketStatsUid(-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user