• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscaphegui翻訳comegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

packages/services/Analytics


Commit MetaInfo

Revision5d30f8616987198021c2bdeaf7bc1232fc16fce0 (tree)
Zeit2017-10-27 12:40:30
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

AnalyticsService: use new getSerial() API

The Build.SERIAL is deprecated since Android 8.0.

Ändern Zusammenfassung

Diff

--- 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 /**