Merge "API: Clean up redundant and ineffective usages of SystemApi and TestApi"
am: af0e1c2fa5 Change-Id: I016cacee1e1de6c7a8269fc3605ed25716598d9e
This commit is contained in:
@@ -274,7 +274,6 @@ public class TrafficStats {
|
||||
* Changes only take effect during subsequent calls to
|
||||
* {@link #tagSocket(Socket)}.
|
||||
*/
|
||||
@SystemApi
|
||||
@SuppressLint("Doclava125")
|
||||
public static void setThreadStatsUid(int uid) {
|
||||
NetworkManagementSocketTagger.setThreadSocketStatsUid(uid);
|
||||
@@ -313,7 +312,6 @@ public class TrafficStats {
|
||||
*
|
||||
* @see #setThreadStatsUid(int)
|
||||
*/
|
||||
@SystemApi
|
||||
@SuppressLint("Doclava125")
|
||||
public static void clearThreadStatsUid() {
|
||||
NetworkManagementSocketTagger.setThreadSocketStatsUid(-1);
|
||||
|
||||
Reference in New Issue
Block a user