简体   繁体   中英

Activity visible even after pressing home button

When I click on home button, the current activity which is running is still visible and home button doesn't have any effect. While the activity vanishes if I press the back button.

I checked my logs and got this:-

01-17 09:12:32.871  2403  2663 IWindowManager: isSystemKeyEventRequested() : keyCode=3 is blocked by componentName=ComponentInfo{com.sec.android.app.myApp}

Here KEYCODE_HOME = 3. It doesn't happen everytime. Just once or twice this issue came,but I wanted to know the reason behind it.

How can home button be blocked by an activity? I am using kitkat.

https://stackoverflow.com/a/12568747/1643188

https://stackoverflow.com/a/4538450/1643188

Perhaps this is just what you want or let´s say how the developer blocked the home button :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM