“com.android.systemui.demo” sendBroadcast - Not working?
问题 How can I successfully activate the demo mode for the status bar in android programmatically? I already tried this approach without any success: Link to an example // Enable demo mode Intent intent = new Intent("com.android.systemui.demo"); intent.putExtra("command", "enter"); sendBroadcast(intent); Did anyone get this to work successfully? The adb commands are working without an issue. Thank you very much! 回答1: I found out that it's not possible for not system apps to do this