Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b02634a authored by Suprabh Shukla's avatar Suprabh Shukla Committed by android-build-merger
Browse files

Merge "Added a command to return app_standby_enabled" into pi-dev

am: 7a881c36

Change-Id: I3db2ad86b1530057ec7dfac585ed142d7c3b6c93
parents 6353ff5b 7a881c36
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;