diff options
author | Jeff Sharkey <jsharkey@android.com> | 2019-04-01 18:42:51 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2019-04-01 18:48:52 -0600 |
commit | 68b3e186c2217ac78b1d600f67e5db55b1a8cb01 (patch) | |
tree | f4820a91bb6b2e68153e92f3fc3285121ad30936 /cmds/sm/src | |
parent | 8f8cf3430b3afed1331dd01b15cd11142add9191 (diff) |
Remove greylist of apps that gain legacy access.
Per design pivot, access to legacy behavior will be determined by
the new "allowExternalStorageSandbox" manifest flag.
Bug: 124818022, 129487770
Test: atest --test-mapping packages/providers/MediaProvider
Test: atest android.appsecurity.cts.ExternalStorageHostTest
Change-Id: I169e5eb3612c23aad47204cde9ff263f9df6f8c1
Diffstat (limited to 'cmds/sm/src')
-rw-r--r-- | cmds/sm/src/com/android/commands/sm/Sm.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cmds/sm/src/com/android/commands/sm/Sm.java b/cmds/sm/src/com/android/commands/sm/Sm.java index 4a6f87f09d29..6033655c8513 100644 --- a/cmds/sm/src/com/android/commands/sm/Sm.java +++ b/cmds/sm/src/com/android/commands/sm/Sm.java @@ -103,8 +103,6 @@ public final class Sm { runSetVirtualDisk(); } else if ("set-isolated-storage".equals(op)) { runIsolatedStorage(); - } else if ("set-legacy-greylist".equals(op)) { - runLegacyGreylist(); } else { throw new IllegalArgumentException(); } @@ -306,12 +304,6 @@ public final class Sm { mSm.setDebugFlags(value, mask); } - public void runLegacyGreylist() throws RemoteException { - final boolean legacyGreylist = Boolean.parseBoolean(nextArg()); - mSm.setDebugFlags(legacyGreylist ? StorageManager.DEBUG_LEGACY_GREYLIST : 0, - StorageManager.DEBUG_LEGACY_GREYLIST); - } - public void runIdleMaint() throws RemoteException { final boolean im_run = "run".equals(nextArg()); if (im_run) { |