Merge "Added a command to return app_standby_enabled" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7a881c36ad
@@ -585,6 +585,9 @@ public class UsageStatsService extends SystemService implements
|
||||
flushToDiskLocked();
|
||||
pw.println("Flushed stats to disk");
|
||||
return;
|
||||
} else if ("is-app-standby-enabled".equals(arg)) {
|
||||
pw.println(mAppStandby.mAppIdleEnabled);
|
||||
return;
|
||||
} else if (arg != null && !arg.startsWith("-")) {
|
||||
// Anything else that doesn't start with '-' is a pkg to filter
|
||||
pkg = arg;
|
||||
|
||||
Reference in New Issue
Block a user