Top "Android-recents" questions

Recents provides an efficient way of switching between recently used applications.

How to use UsageStatsManager?

Background Google has deprecated the function "getRecentTasks" of "ActivityManager" class. Now all it does is to get the list of …

android usage-statistics activity-manager android-recents usagestatsmanager
Is it safe to disable com.android.systemui?

I have found that Android recent app dialog can be disabled by disabling package com.android.systemui. I want to …

android user-interface root android-recents
How to check if "android.permission.PACKAGE_USAGE_STATS" permission is given?

Background I'm trying to get app-launched statistics, and on Lollipop it's possible by using the UsageStatsManager class, as such (original …

android permissions usage-statistics android-recents usagestatsmanager
How to detect app removed from the recent list?

I'm working on a music app, and I want stop the service when user removes the application from the recent …

android android-recents
Android Lollipop know if app as Usage Stats access

Since Android Lollipop, we have now an API for accessing apps usage stats. However, your app must be granted those …

android android-5.0-lollipop usage-statistics android-recents
Hide screen in 'Recent Apps List', but allow screenshots

I mainly want to blank the screen in the recent apps list due to sensitive data being shown. For this, …

android screenshot android-recents
How to get list of recent apps with Android API 21 Lollipop?

I'm creating a home launcher and I want to have a compatibility with the Android 5.0, Lollipop. I want to get …

android packages usage-statistics android-recents