Merge "API: Clean up redundant and ineffective usages of SystemApi and TestApi" am: af0e1c2fa5
am: ee2ba33204
Change-Id: I2251db66ef73d5b69c84b4e83f2788d2bc953eda
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