首页 > 解决方案 > Issue with putting my app in Standby mode

问题描述

I am working on a app currently which has about 7-8 screens. When I first land on the landing screen I can run the following command and the app is setting to inactive

adb shell am set-inactive packagename true

but once I go to the screen to connect a bluethooth device it seems to stop responding to the above command and just show idle false

adb shell am get-inactive packagename
Idle=false

I have checked all my code and all the package names are correct. Spent about 2 days on this now. Can some one please help? Thanks in advance

标签: androidadb

解决方案


推荐阅读