commit | 2a869ba55f434b4c069016c1d2e0a6d00b00a180 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Fri Apr 12 15:43:15 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Apr 12 15:43:15 2019 +0000 |
tree | 5e65a09b936ebb4a4117eff454d941fa31ae0dff | |
parent | 8854a3d59950a21180155b88eda0984884688675 [diff] | |
parent | 36133d1ab9a48550e815ef3a0528610aa4c099d0 [diff] |
Merge "dexopt: Replace -Xhidden-api-checks with -Xhidden-api-policy"
diff --git a/cmds/installd/dexopt.cpp b/cmds/installd/dexopt.cpp index 214c665..7eee749 100644 --- a/cmds/installd/dexopt.cpp +++ b/cmds/installd/dexopt.cpp
@@ -534,7 +534,7 @@ } AddRuntimeArg(target_sdk_version_arg); if (enable_hidden_api_checks) { - AddRuntimeArg("-Xhidden-api-checks"); + AddRuntimeArg("-Xhidden-api-policy:enabled"); } if (dex_metadata_fd > -1) {