Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

packages-services-Analytics: Commit

packages/services/Analytics


Commit MetaInfo

Révision5d30f8616987198021c2bdeaf7bc1232fc16fce0 (tree)
l'heure2017-10-27 12:40:30
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

AnalyticsService: use new getSerial() API

The Build.SERIAL is deprecated since Android 8.0.

Change Summary

Modification

--- a/Service/src/org/android_x86/analytics/Util.java
+++ b/Service/src/org/android_x86/analytics/Util.java
@@ -402,7 +402,7 @@ public class Util {
402402 return new SignatureBuilder(
403403 String.valueOf(System.currentTimeMillis()),
404404 String.valueOf(new Random().nextLong()),
405- Build.SERIAL);
405+ Build.getSerial());
406406 }
407407
408408 /**
Afficher sur ancien navigateur de dépôt.