From 76b036db2e9f632fb8315f7ff925434912671940 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 22 Feb 2016 15:33:59 +0100 Subject: AndroidBackend: fetch owner's google account --- android/AndroidManifest.xml | 1 + .../src/ch/asynk/rustanddust/android/AndroidBackend.java | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 052ffcf..c3bf902 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -5,6 +5,7 @@ android:versionName="1.0.1" > + 0) + me = game.db.storePlayerGetId(accounts[0].name.toString(), "myself"); + else + me = game.db.storePlayerGetId("me", "myself"); opponent = game.db.storePlayerGetId("opponent", "other"); } } -- cgit v1.1-2-g2b99