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

Commit 3f9115a4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Revert "Export profileableFromShellFlag in /data/system/packages.list.""

parents 8a03aa87 1d5ca702
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -2777,13 +2777,13 @@ public final class Settings {
                // dataPath   - path to package's data path
                // seinfo     - seinfo label for the app (assigned at install time)
                // gids       - supplementary gids this app launches with
                // profileableFromShellFlag  - 0 or 1 if the package is profileable from shell.
                //
                // NOTE: We prefer not to expose all ApplicationInfo flags for now.
                //
                // DO NOT MODIFY THIS FORMAT UNLESS YOU CAN ALSO MODIFY ITS USERS
                // FROM NATIVE CODE. AT THE MOMENT, LOOK AT THE FOLLOWING SOURCES:
                //   system/core/libpackagelistparser
                //   frameworks/base/libs/packagelistparser
                //   system/core/run-as/run-as.c
                //
                sb.setLength(0);
                sb.append(ai.packageName);
@@ -2803,8 +2803,6 @@ public final class Settings {
                } else {
                    sb.append("none");
                }
                sb.append(" ");
                sb.append(ai.isProfileableByShell() ? "1" : "0");
                sb.append("\n");
                writer.append(sb);
            }