question

crazii avatar image
crazii asked

onDestroy() called each time of auto-lock or home button press

Hi all, We're transplanting our huge 3D game to Amazon devices using NDK and it's almost done. but we encounter a weird problem on fire phone: if the screen is auto-locked, or the home button is pressed, the app will receive an onDestroy() event. even if this event won't be processed (totally ignore it), then after unlock the screen, app still receive window/view destroy & create messages multiple times (about 4 times or so), that will take the app about 10 secs to restore. here's a reference: http://stackoverflow.com/questions/6772988/ondestroy-gets-called-each-time-the-screen-goes-on but I tried it and other similar approaches, they just don't work. our project configuration in AndroidManifest.xml is android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize" I really don't have any clue about this, do you guys know why fire phone has this problem? other devices like HDX7, HDX8.9, and FireTV don't have such a problem.
fire phone
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

crazii avatar image
crazii answered
Here's the log before auto-screen lock: 09-17 15:13:14.417 9315 9315 AmazonInsightsSDK Session Paused. 09-17 15:13:14.417 9315 9315 AmazonInsightsSDK Firing Session Event: _session.pause 09-17 15:13:14.427 9315 9744 AmazonInsightsSDK Event: '_sess...' recorded to local filestore 09-17 15:13:14.427 9315 9315 GC_ClickableToastImpl Tried to remove toast but none was attached. 09-17 15:13:14.427 9315 29134 AGSWorkerThread Worker thread died. 09-17 15:13:14.427 9315 9744 AmazonInsightsSDK Event: 'GameS...' recorded to local filestore 09-17 15:13:14.427 9315 9745 Settings Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. 09-17 15:13:14.457 9315 9315 com.xXx.xXxGame Pause: 0x7f628428 09-17 15:13:14.467 9315 9723 com.xXx.xXxGame activityState=13 09-17 15:13:14.527 9315 9315 GameActivity releasing amazon game client 09-17 15:13:14.527 9315 9315 AmazonInsightsSDK Session Pause Failed: Session is already paused. 09-17 15:13:14.527 9315 9315 GC_ClickableToastImpl Tried to remove toast but none was attached. 09-17 15:13:14.527 9315 9745 Settings Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. 09-17 15:13:14.587 9315 9315 com.xXx.xXxGame Stop: 0x7f628428 09-17 15:13:15.527 9315 9723 com.xXx.xXxGame activityState=14 09-17 15:13:16.527 9315 9315 com.xXx.xXxGame NativeWindowDestroyed: 0x7f628428 -- 0x5ca0a818 09-17 15:13:17.527 9315 9723 com.xXx.xXxGame APP_CMD_TERM_WINDOW 09-17 15:13:17.527 9315 9723 com.xXx.xXxGame APP_CMD_TERM_WINDOW 09-17 15:13:17.527 9315 9315 com.xXx.xXxGame InputQueueDestroyed: 0x7f628428 -- 0x5c9ebe60 09-17 15:13:18.527 9315 9723 com.xXx.xXxGame APP_CMD_INPUT_CHANGED 09-17 15:13:18.527 9315 9315 com.xXx.xXxGame Destroy: 0x7f628428 09-17 15:13:18.547 9315 9315 Activity No ActvityExender defined. Proceed with default activity behavior. 09-17 15:13:18.547 9315 9315 GameActivity creating activity 09-17 15:13:18.547 9315 9315 dalvikvm Trying to load lib /data/app-lib/com.xXx.xXxGame-2/libAmazonGamesJni.so 0x4142de08 09-17 15:13:18.547 9315 9315 dalvikvm Shared lib '/data/app-lib/com.xXx.xXxGame-2/libAmazonGamesJni.so' already loaded in same CL 0x4142de08 09-17 15:13:18.577 9315 9315 com.xXx.xXxGame Creating: 0x7f628428 09-17 15:13:18.577 9315 9315 GameActivity activity created 09-17 15:13:18.577 9315 9315 com.xXx.xXxGame Start: 0x7f628428 09-17 15:13:18.577 9315 9315 AGUS2 com.xXx.xXxGame setAttributes. nosoftkeys: false 09-17 15:13:19.527 9315 9723 com.xXx.xXxGame activityState=10 09-17 15:13:19.537 9315 9315 GameCircleClient SDK Version: 2.4.1 09-17 15:13:19.537 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager.PII AmazonAuthorizationManager:sdkVer=1.0.0 libVer=3.3.0: 09-17 15:13:19.537 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager Options bundle is null 09-17 15:13:19.537 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:13:19.537 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:13:19.537 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:13:19.537 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:13:19.557 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:13:19.557 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:13:19.567 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:13:19.567 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:13:19.567 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:13:19.567 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:13:19.567 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier isAPIKeyValid : packageName=com.xXx.xXxGame 09-17 15:13:19.577 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:13:19.577 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:13:19.577 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:13:19.577 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:13:19.597 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:13:19.597 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:13:19.607 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:13:19.607 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:13:19.607 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:13:19.607 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:13:19.607 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager com.xXx.xXxGame calling getAppId 09-17 15:13:19.617 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:13:19.617 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:13:19.617 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:13:19.617 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:13:19.637 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:13:19.637 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:13:19.637 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:13:19.647 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:13:19.647 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:13:19.647 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:13:19.647 9315 9315 GameCircleClient AmazonGamesClient.initialize() has already been called. Reinitializing. 09-17 15:13:19.657 9315 9745 Settings Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. 09-17 15:13:19.677 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager.PII AmazonAuthorizationManager:sdkVer=1.0.0 libVer=3.3.0: 09-17 15:13:19.677 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager Options bundle is null 09-17 15:13:19.677 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:13:19.677 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:13:19.687 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:13:19.687 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:13:19.707 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:13:19.707 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:13:19.707 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:13:19.717 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:13:19.717 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:13:19.717 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:13:19.717 9315 9315 AmazonInsightsSDK Session has expired. Starting a fresh one... 09-17 15:13:19.717 9315 9315 AmazonInsightsSDK Firing Session Event: _session.stop 09-17 15:13:19.747 9315 9315 AmazonInsightsSDK Firing Session Event: _session.start 09-17 15:13:19.747 9315 9315 Whispersync WhispersyncClient has already been initialized 09-17 15:13:19.757 9315 9315 com.xXx.xXxGame Resume: 0x7f628428 09-17 15:13:19.757 9315 9744 AmazonInsightsSDK Event: '_sess...' recorded to local filestore 09-17 15:13:19.777 9315 9744 AmazonInsightsSDK Event: '_sess...' recorded to local filestore 09-17 15:13:20.537 9315 9723 com.xXx.xXxGame activityState=11 09-17 15:13:20.537 9315 9315 GameActivity initializing amazon game client 09-17 15:13:20.537 9315 9315 GameCircleClient SDK Version: 2.4.1 09-17 15:13:20.537 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager.PII AmazonAuthorizationManager:sdkVer=1.0.0 libVer=3.3.0: 09-17 15:13:20.537 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager Options bundle is null 09-17 15:13:20.537 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:13:20.537 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:13:20.537 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:13:20.537 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:13:20.547 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:13:20.547 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:13:20.547 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:13:20.547 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:13:20.547 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:13:20.547 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:13:20.547 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier isAPIKeyValid : packageName=com.xXx.xXxGame 09-17 15:13:20.547 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:13:20.547 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:13:20.547 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:13:20.547 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:13:20.547 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager com.xXx.xXxGame calling getAppId 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:13:20.557 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:13:20.557 9315 9315 GameCircleClient AmazonGamesClient.initialize() has already been called. Reinitializing. 09-17 15:13:20.557 9315 9745 Settings Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. 09-17 15:13:20.557 9315 9315 AmazonInsightsSDK Session Resume Failed: Session is already running. 09-17 15:13:20.557 9315 9315 AGSJniHandler Initializing Native Handlers 09-17 15:13:20.557 9315 9315 GameActivity amazon game client init OK 09-17 15:13:20.557 9315 9315 Whispersync WhispersyncClient has already been initialized 09-17 15:13:20.567 9315 9315 com.xXx.xXxGame InputQueueCreated: 0x7f628428 -- 0x5c9ee628 09-17 15:13:21.537 9315 9723 com.xXx.xXxGame APP_CMD_INPUT_CHANGED 09-17 15:13:21.537 9315 9723 com.xXx.xXxGame Attaching input queue to looper 09-17 15:13:21.547 9315 9315 AmazonInsightsSDK Session Paused. 09-17 15:13:21.547 9315 9315 AmazonInsightsSDK Firing Session Event: _session.pause 09-17 15:13:21.637 9315 9744 AmazonInsightsSDK Event: '_sess...' recorded to local filestore 09-17 15:13:21.667 9315 9315 GC_ClickableToastImpl Tried to remove toast but none was attached. 09-17 15:13:21.677 9315 1218 AGSWorkerThread Worker thread died. 09-17 15:13:21.687 9315 9745 Settings Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. 09-17 15:13:21.727 9315 9315 com.xXx.xXxGame Pause: 0x7f628428 09-17 15:13:21.767 9315 9744 AmazonInsightsSDK Event: 'GameS...' recorded to local filestore 09-17 15:13:22.537 9315 9723 com.xXx.xXxGame activityState=13 09-17 15:13:23.547 9315 9315 GameActivity releasing amazon game client 09-17 15:13:23.547 9315 9315 AmazonInsightsSDK Session Pause Failed: Session is already paused. 09-17 15:13:23.547 9315 9315 GC_ClickableToastImpl Tried to remove toast but none was attached. 09-17 15:13:23.547 9315 9745 Settings Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. 09-17 15:13:23.557 9315 9315 com.xXx.xXxGame Stop: 0x7f628428 09-17 15:13:24.547 9315 9723 com.xXx.xXxGame activityState=14 09-17 15:13:24.547 9315 9315 IInputConnectionWrapper showStatusIcon on inactive InputConnection 09-17 15:13:24.547 9315 9315 IInputConnectionWrapper showStatusIcon on inactive InputConnection 09-17 15:13:24.547 9315 9315 Choreographer Skipped 238 frames! The application may be doing too much work on its main thread. 09-17 15:13:24.807 9315 9315 com.xXx.xXxGame NativeWindowCreated: 0x7f628428 -- 0x7c645018 09-17 15:13:25.547 9315 9723 com.xXx.xXxGame APP_CMD_INIT_WINDOW 09-17 15:13:25.627 9315 9319 dalvikvm GC_CONCURRENT freed 2202K, 62% free 4603K/12024K, paused 4ms+4ms, total 24ms 09-17 15:13:25.637 9315 9315 webviewglue nativeDestroy view: 0x804b7680 09-17 15:13:25.647 9315 9315 webviewglue nativeDestroy view: 0x7e7891a8
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

crazii avatar image
crazii answered
Here is the log right after unlock the screen: 09-17 15:19:11.827 9315 9315 com.xXx.xXxGame Start: 0x7f628428 09-17 15:19:11.837 9315 9723 com.xXx.xXxGame activityState=10 09-17 15:19:11.837 9315 9315 GameCircleClient SDK Version: 2.4.1 09-17 15:19:11.837 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager.PII AmazonAuthorizationManager:sdkVer=1.0.0 libVer=3.3.0: 09-17 15:19:11.837 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager Options bundle is null 09-17 15:19:11.837 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:19:11.837 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:19:11.837 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:19:11.837 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:19:11.847 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:19:11.847 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:19:11.847 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:19:11.847 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:19:11.847 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:19:11.847 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:19:11.847 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier isAPIKeyValid : packageName=com.xXx.xXxGame 09-17 15:19:11.847 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:19:11.847 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:19:11.847 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:19:11.857 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:19:11.867 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:19:11.867 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:19:11.867 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:19:11.867 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:19:11.867 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:19:11.867 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:19:11.867 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager com.xXx.xXxGame calling getAppId 09-17 15:19:11.867 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:19:11.867 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:19:11.867 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:19:11.877 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:19:11.877 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:19:11.877 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:19:11.877 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:19:11.877 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:19:11.877 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:19:11.877 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:19:11.877 9315 9315 GameCircleClient AmazonGamesClient.initialize() has already been called. Reinitializing. 09-17 15:19:11.877 9315 9745 Settings Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. 09-17 15:19:11.877 9315 9315 AmazonInsightsSDK Session has expired. Starting a fresh one... 09-17 15:19:11.877 9315 9315 AmazonInsightsSDK Firing Session Event: _session.stop 09-17 15:19:11.877 9315 9315 AmazonInsightsSDK Firing Session Event: _session.start 09-17 15:19:11.877 9315 9315 Whispersync WhispersyncClient has already been initialized 09-17 15:19:11.877 9315 9315 com.xXx.xXxGame Resume: 0x7f628428 09-17 15:19:11.877 9315 9744 AmazonInsightsSDK Event: '_sess...' recorded to local filestore 09-17 15:19:11.887 9315 9744 AmazonInsightsSDK Event: '_sess...' recorded to local filestore 09-17 15:19:12.847 9315 9723 com.xXx.xXxGame activityState=11 09-17 15:19:12.847 9315 9315 GameActivity initializing amazon game client 09-17 15:19:12.847 9315 9315 GameCircleClient SDK Version: 2.4.1 09-17 15:19:12.847 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager.PII AmazonAuthorizationManager:sdkVer=1.0.0 libVer=3.3.0: 09-17 15:19:12.847 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager Options bundle is null 09-17 15:19:12.847 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:19:12.847 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:19:12.847 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier isAPIKeyValid : packageName=com.xXx.xXxGame 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:19:12.857 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:19:12.867 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:19:12.867 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:19:12.867 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager com.xXx.xXxGame calling getAppId 09-17 15:19:12.867 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:19:12.867 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:19:12.867 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:19:12.867 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:19:12.867 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:19:12.867 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:19:12.867 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:19:12.867 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:19:12.867 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:19:12.867 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:19:12.867 9315 9315 GameCircleClient AmazonGamesClient.initialize() has already been called. Reinitializing. 09-17 15:19:12.867 9315 9745 Settings Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. 09-17 15:19:12.867 9315 9315 AmazonInsightsSDK Session Resume Failed: Session is already running. 09-17 15:19:12.867 9315 9315 AGSJniHandler Initializing Native Handlers 09-17 15:19:12.867 9315 9315 GameActivity amazon game client init OK 09-17 15:19:12.867 9315 9315 Whispersync WhispersyncClient has already been initialized 09-17 15:19:12.867 9315 9315 Choreographer Skipped 62 frames! The application may be doing too much work on its main thread. 09-17 15:19:12.877 9315 9315 com.xXx.xXxGame NativeWindowDestroyed: 0x7f628428 -- 0x7c645018 09-17 15:19:15.577 9315 9723 com.xXx.xXxGame APP_CMD_TERM_WINDOW 09-17 15:19:15.577 9315 9723 com.xXx.xXxGame APP_CMD_TERM_WINDOW 09-17 15:19:15.587 9315 9315 com.xXx.xXxGame NativeWindowCreated: 0x7f628428 -- 0x7f5868f0 09-17 15:19:16.597 9315 9723 com.xXx.xXxGame APP_CMD_INIT_WINDOW 09-17 15:19:16.597 9315 9315 com.xXx.xXxGame WindowFocusChanged: 0x7f628428 -- 1 09-17 15:19:16.607 9315 9315 AmazonInsightsSDK Session Paused. 09-17 15:19:16.607 9315 9315 AmazonInsightsSDK Firing Session Event: _session.pause 09-17 15:19:16.607 9315 9744 AmazonInsightsSDK Event: '_sess...' recorded to local filestore 09-17 15:19:16.617 9315 9744 AmazonInsightsSDK Event: 'GameS...' recorded to local filestore 09-17 15:19:16.617 9315 9315 GC_ClickableToastImpl Tried to remove toast but none was attached. 09-17 15:19:16.617 9315 20246 AGSWorkerThread Worker thread died. 09-17 15:19:16.617 9315 9745 Settings Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. 09-17 15:19:16.617 9315 9315 com.xXx.xXxGame Pause: 0x7f628428 09-17 15:19:16.627 9315 9723 com.xXx.xXxGame activityState=13 09-17 15:19:16.667 9315 9315 GameActivity releasing amazon game client 09-17 15:19:16.667 9315 9315 AmazonInsightsSDK Session Pause Failed: Session is already paused. 09-17 15:19:16.667 9315 9315 GC_ClickableToastImpl Tried to remove toast but none was attached. 09-17 15:19:16.677 9315 9315 com.xXx.xXxGame SaveInstanceState: 0x7f628428 09-17 15:19:16.677 9315 9745 Settings Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. 09-17 15:19:19.577 9315 9723 com.xXx.xXxGame APP_CMD_SAVE_STATE 09-17 15:19:19.577 9315 9315 com.xXx.xXxGame Stop: 0x7f628428 09-17 15:19:22.577 9315 9723 com.xXx.xXxGame activityState=14 09-17 15:19:22.867 9315 10117 GC_AsynchronousReplyMessenger Request 909f1759-0a45-4c55-83d9-714b098d3913 timed out. 09-17 15:19:25.577 9315 9315 com.xXx.xXxGame NativeWindowDestroyed: 0x7f628428 -- 0x7f5868f0 09-17 15:19:26.617 9315 10117 GC_AsynchronousReplyMessenger Request 71aa7cef-157c-40ad-8774-d3e71d0c99df timed out. 09-17 15:19:26.677 9315 10117 GC_AsynchronousReplyMessenger Request d369df39-2ba5-435c-9072-9d58f1518a1b timed out. 09-17 15:19:28.577 9315 9723 com.xXx.xXxGame APP_CMD_TERM_WINDOW 09-17 15:19:28.577 9315 9723 com.xXx.xXxGame APP_CMD_TERM_WINDOW 09-17 15:19:28.577 9315 9315 com.xXx.xXxGame InputQueueDestroyed: 0x7f628428 -- 0x5c9ee628 09-17 15:19:31.577 9315 9723 com.xXx.xXxGame APP_CMD_INPUT_CHANGED 09-17 15:19:31.577 9315 9315 com.xXx.xXxGame Destroy: 0x7f628428 09-17 15:19:31.597 9315 9315 Activity No ActvityExender defined. Proceed with default activity behavior. 09-17 15:19:31.607 9315 9315 GameActivity creating activity 09-17 15:19:31.607 9315 9315 dalvikvm Trying to load lib /data/app-lib/com.xXx.xXxGame-2/libAmazonGamesJni.so 0x4142de08 09-17 15:19:31.607 9315 9315 dalvikvm Shared lib '/data/app-lib/com.xXx.xXxGame-2/libAmazonGamesJni.so' already loaded in same CL 0x4142de08 09-17 15:19:31.607 9315 9315 com.xXx.xXxGame Creating: 0x7f628428 09-17 15:19:31.607 9315 9315 GameActivity activity created 09-17 15:19:31.607 9315 9315 com.xXx.xXxGame Start: 0x7f628428 09-17 15:19:31.607 9315 9315 AGUS2 com.xXx.xXxGame setAttributes. nosoftkeys: false 09-17 15:19:34.577 9315 9723 com.xXx.xXxGame activityState=10 09-17 15:19:34.577 9315 9315 GameCircleClient SDK Version: 2.4.1 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager.PII AmazonAuthorizationManager:sdkVer=1.0.0 libVer=3.3.0: 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager Options bundle is null 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier isAPIKeyValid : packageName=com.xXx.xXxGame 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:19:34.577 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager com.xXx.xXxGame calling getAppId 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:19:34.587 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:19:34.597 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:19:34.597 9315 9315 GameCircleClient AmazonGamesClient.initialize() has already been called. Reinitializing. 09-17 15:19:34.597 9315 9745 Settings Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. 09-17 15:19:34.597 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager.PII AmazonAuthorizationManager:sdkVer=1.0.0 libVer=3.3.0: 09-17 15:19:34.597 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager Options bundle is null 09-17 15:19:34.597 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:19:34.597 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:19:34.597 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:19:34.597 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:19:34.597 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:19:34.597 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:19:34.607 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:19:34.607 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:19:34.607 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:19:34.607 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:19:34.607 9315 9315 AmazonInsightsSDK Session has expired. Starting a fresh one... 09-17 15:19:34.607 9315 9315 AmazonInsightsSDK Firing Session Event: _session.stop 09-17 15:19:34.607 9315 9315 AmazonInsightsSDK Firing Session Event: _session.start 09-17 15:19:34.607 9315 9315 Whispersync WhispersyncClient has already been initialized 09-17 15:19:34.607 9315 9744 AmazonInsightsSDK Event: '_sess...' recorded to local filestore 09-17 15:19:34.607 9315 9315 com.xXx.xXxGame Resume: 0x7f628428 09-17 15:19:34.617 9315 9744 AmazonInsightsSDK Event: '_sess...' recorded to local filestore 09-17 15:19:35.607 9315 9723 com.xXx.xXxGame activityState=11 09-17 15:19:35.607 9315 9315 GameActivity initializing amazon game client 09-17 15:19:35.607 9315 9315 GameCircleClient SDK Version: 2.4.1 09-17 15:19:35.607 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager.PII AmazonAuthorizationManager:sdkVer=1.0.0 libVer=3.3.0: 09-17 15:19:35.607 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager Options bundle is null 09-17 15:19:35.607 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:19:35.607 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:19:35.617 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:19:35.617 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:19:35.617 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:19:35.617 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:19:35.617 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:19:35.617 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:19:35.617 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:19:35.617 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:19:35.617 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier isAPIKeyValid : packageName=com.xXx.xXxGame 09-17 15:19:35.617 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:19:35.617 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:19:35.617 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:19:35.627 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:19:35.627 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:19:35.627 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:19:35.627 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:19:35.627 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:19:35.627 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:19:35.627 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:19:35.627 9315 9315 com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager com.xXx.xXxGame calling getAppId 09-17 15:19:35.637 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier getAppInfo : packageName=com.xXx.xXxGame 09-17 15:19:35.637 9315 9315 com.amazon.identity.auth.device.appid.AbstractAppIdentifier Finding API Key for com.xXx.xXxGame 09-17 15:19:35.637 9315 9315 com.amazon.identity.auth.device.utils.ThirdPartyResourceParser Attempting to parse API Key from assets directory 09-17 15:19:35.637 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder Begin decoding API Key for packageName=com.xXx.xXxGame 09-17 15:19:35.637 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII APIKey: 09-17 15:19:35.637 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder num sigs = 1 09-17 15:19:35.637 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Signature checking.: 09-17 15:19:35.637 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder.PII Fingerpirint checking: 09-17 15:19:35.637 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder scopes has no mapping in json, returning null array 09-17 15:19:35.637 9315 9315 com.amazon.identity.auth.device.appid.APIKeyDecoder perm has no mapping in json, returning null array 09-17 15:19:35.637 9315 9315 GameCircleClient AmazonGamesClient.initialize() has already been called. Reinitializing. 09-17 15:19:35.637 9315 9745 Settings Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. 09-17 15:19:35.647 9315 9315 AmazonInsightsSDK Session Resume Failed: Session is already running. 09-17 15:19:35.647 9315 9315 AGSJniHandler Initializing Native Handlers 09-17 15:19:35.647 9315 9315 GameActivity amazon game client init OK 09-17 15:19:35.647 9315 9315 Whispersync WhispersyncClient has already been initialized 09-17 15:19:35.657 9315 9315 com.xXx.xXxGame InputQueueCreated: 0x7f628428 -- 0x5c9ee628 09-17 15:19:36.617 9315 9723 com.xXx.xXxGame APP_CMD_INPUT_CHANGED 09-17 15:19:36.617 9315 9723 com.xXx.xXxGame Attaching input queue to looper 09-17 15:19:36.657 9315 9315 Choreographer Skipped 59 frames! The application may be doing too much work on its main thread. 09-17 15:19:36.687 9315 10252 GC_AsynchronousReplyMessenger No pending message found for message id 909f1759-0a45-4c55-83d9-714b098d3913 09-17 15:19:36.697 9315 9315 com.xXx.xXxGame NativeWindowCreated: 0x7f628428 -- 0x81eb1010 09-17 15:19:36.697 9315 10252 GC_AsynchronousReplyMessenger No pending message found for message id 71aa7cef-157c-40ad-8774-d3e71d0c99df 09-17 15:19:36.717 9315 10257 GC_AsynchronousReplyMessenger No pending message found for message id d369df39-2ba5-435c-9072-9d58f1518a1b 09-17 15:19:37.687 9315 9723 com.xXx.xXxGame APP_CMD_INIT_WINDOW 09-17 15:19:37.707 9315 9315 com.xXx.xXxGame WindowFocusChanged: 0x7f628428 -- 1
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Matthew Wright avatar image
Matthew Wright answered
I ran into this problem testing our app this week. What seems to be happening is that when you hibernate the device, it is forcing (at least for us) the ap into portait mode (even though we do not support portrait), which is causing a screen resize. In our manifest we were not setting the flag to handle screen resize so a onDestroy was generated. So in our app manifest we now have an entry like: android:configChanges="keyboardHidden|orientation|screenLayout|screenSize" This seems to have resolved our issue. Hope this helps.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

crazii avatar image
crazii answered
Thanks, that's the way I mentioned at the beginning. actually it works, the reason why it didn't work before is that, we have multiple activities in the AndroidManifest.xml, and one of the key activity is missing the "android:configChanges" line, my bad :D so problem solved, thank you again.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.