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

Commit 60c027ee authored by Shai Barack's avatar Shai Barack
Browse files

Remove dump_bitmaps flag

This flag is guarding an `am` shell command.
Per go/android-flags-guidelines it's not required to flag-guard.

Flag: EXEMPT removing com.android.server.am.dump_bitmaps
Bug: 369619160
Change-Id: I35ffcc31ac9c3d3433a46543157b971001104edb
parent 170c6493
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1700,10 +1700,6 @@ final class ActivityManagerShellCommand extends ShellCommand {

    @NeverCompile // Avoid size overhead of debugging code
    int runDumpBitmaps(PrintWriter pw) throws RemoteException {
        if (!Flags.dumpBitmaps()) {
            pw.println("dumpbitmaps is not enabled");
            return -1;
        }
        ArrayList<String> processes = new ArrayList<>();
        boolean packages = false;
        String dumpFormat = null;
+0 −8
Original line number Diff line number Diff line
@@ -249,11 +249,3 @@ flag {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "dump_bitmaps"
    namespace: "system_performance"
    is_fixed_read_only: true
    description: "Allow am to dump information and contents of bitmaps"
    bug: "369619160"
}