You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set TrafficStats tag in FirebaseInstallationServiceClient.createFirebaseInstallation (#2270)
* Set TrafficStats tag in FirebaseInstallationServiceClient.createFirebaseInstallation
Fixes#2227
Tested:
I verified that com.google.googlequicksearchbox doesn't have the violation anymore in the e2e test.
Signed-off-by: Régis Décamps <[email protected]>
* Add TrafficStats tags for Create isntallation, Delete installation and Generate Token.
* Rename tags to be prefixed with TRAFFIC_STATS
* Update copyright header for 2021.
Copy file name to clipboardExpand all lines: firebase-installations/src/main/java/com/google/firebase/installations/remote/FirebaseInstallationServiceClient.java
+20-2Lines changed: 20 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright 2019 Google LLC
1
+
// Copyright 2019-2021 Google LLC
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
@@ -20,6 +20,7 @@
20
20
21
21
importandroid.content.Context;
22
22
importandroid.content.pm.PackageManager;
23
+
importandroid.net.TrafficStats;
23
24
importandroid.text.TextUtils;
24
25
importandroid.util.JsonReader;
25
26
importandroid.util.Log;
@@ -56,6 +57,16 @@
56
57
* @hide
57
58
*/
58
59
publicclassFirebaseInstallationServiceClient {
60
+
61
+
// TrafficStats tags must be kept in sync with java/com/google/android/gms/libs/punchclock
0 commit comments