[Xperia X][XA2][Bug] Android app not getting moved to foreground

asked 2019-08-19 14:01:07 +0200

santhoshmanikandan gravatar image

updated 2019-09-04 15:55:51 +0200

Sometimes, minimized android app is not getting moved to foreground. After sometime the problem gets resolved automatically. Here is the logs available at that time.

8-19 14:45:00.789 80 92 E SurfaceFlinger: ALIEN: Skipping suspend because this looks like an app transition

08-19 14:45:03.473 80 114 I ALIEN : alien setting power state. SUSPEND: 0. TARGET/SOURCE PKG (10075): com.twitter.android.lite

08-19 14:45:03.474 80 114 I SurfaceFlinger: ALIEN: raising window: 10075

08-19 14:45:03.474 80 114 I ALIEN : alien moving task to foreground: com.twitter.android.lite, taskId: 300

08-19 14:45:03.494 80 114 I ALIEN : alien setting power state. SUSPEND: 0. TARGET/SOURCE PKG (10075): com.twitter.android.lite

08-19 14:45:03.495 80 114 I ALIEN : alien moving task to foreground: com.twitter.android.lite, taskId: 300

08-19 14:45:04.156 80 92 E SurfaceFlinger: ALIEN: Skipping suspend because this looks like an app transition

08-19 14:45:04.815 80 114 I ALIEN : alien setting power state. SUSPEND: 0. TARGET/SOURCE PKG (10075): com.twitter.android.lite

08-19 14:45:04.815 80 114 I SurfaceFlinger: ALIEN: raising window: 10075

08-19 14:45:04.816 80 114 I ALIEN : alien moving task to foreground: com.twitter.android.lite, taskId: 300

08-19 14:45:04.833 80 114 I ALIEN : alien setting power state. SUSPEND: 0. TARGET/SOURCE PKG (10075): com.twitter.android.lite

08-19 14:45:04.833 80 114 I ALIEN : alien moving task to foreground: com.twitter.android.lite, taskId: 300

08-19 14:45:05.503 80 92 E SurfaceFlinger: ALIEN: Skipping suspend because this looks like an app transition

08-19 14:45:05.877 80 114 I ALIEN : alien setting power state. SUSPEND: 0. TARGET/SOURCE PKG (10075): com.twitter.android.lite

08-19 14:45:05.878 80 114 I SurfaceFlinger: ALIEN: raising window: 10075

08-19 14:45:05.882 80 114 I ALIEN : alien moving task to foreground: com.twitter.android.lite, taskId: 300

08-19 14:45:05.925 80 114 I ALIEN : alien setting power state. SUSPEND: 0. TARGET/SOURCE PKG (10075): com.twitter.android.lite

08-19 14:45:05.929 80 114 I ALIEN : alien moving task to foreground: com.twitter.android.lite, taskId: 300

08-19 14:45:06.577 80 92 E SurfaceFlinger: ALIEN: Skipping suspend because this looks like an app transition

08-19 14:45:07.018 80 114 I ALIEN : alien setting power state. SUSPEND: 0. TARGET/SOURCE PKG (10075): com.twitter.android.lite

08-19 14:45:07.019 80 114 I SurfaceFlinger: ALIEN: raising window: 10075

08-19 14:45:07.020 80 114 I ALIEN : alien moving task to foreground: com.twitter.android.lite, taskId: 300

08-19 14:45:07.046 80 114 I ALIEN : alien setting power state. SUSPEND: 0. TARGET/SOURCE PKG (10075): com.twitter.android.lite

08-19 14:45:07.055 80 114 I ALIEN : alien moving task to foreground: com.twitter.android.lite, taskId: 300

08-19 14:45:07.721 80 92 E SurfaceFlinger: ALIEN: Skipping suspend because this looks like an app transition

08-19 14:45:08.794 80 114 I ALIEN : alien setting power state. SUSPEND: 0. TARGET/SOURCE PKG (10075): com.twitter.android.lite

08-19 14:45:08.795 80 114 I SurfaceFlinger: ALIEN: raising window: 10075

08-19 14:45:08.796 80 114 I ALIEN : alien moving task to foreground: com.twitter.android.lite, taskId: 300

08-19 14:45:08.820 80 114 I ALIEN : alien setting power state. SUSPEND: 0. TARGET/SOURCE PKG (10075): com.twitter.android.lite

08-19 14:45:08.822 80 114 I ALIEN : alien moving task to foreground: com.twitter.android.lite, taskId: 300

08-19 14:45:09.501 80 92 E SurfaceFlinger: ALIEN: Skipping suspend because this looks like an app transition

edit retag flag offensive close delete

Comments

1

Ditto on XA2

Crypto ( 2019-08-20 00:23:58 +0200 )edit

I'm also seeing this. the debug logs will hopefully help. good work.

GD ( 2019-08-20 01:28:42 +0200 )edit

Same issue here.

skvark ( 2019-09-05 08:27:02 +0200 )edit

I can confirm this.

I also noticed that an app that can't be brought to the foreground also won't be killed like described in the following questions:

https://together.jolla.com/question/211643/bug-android-app-with-video-not-closed-if-video-not-stopped-before-closing-app/

https://together.jolla.com/question/212340/sailfish-xxa2android-apps-not-getting-killed/

Alex ( 2019-09-05 08:48:17 +0200 )edit