commit | 795cbfb1c1719fa597d9911aa4a39ad8d7dbbc3e | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Fri Jan 26 12:23:15 2018 +0000 |
committer | David Brazdil <dbrazdil@google.com> | Mon Jan 29 10:22:54 2018 +0000 |
tree | 925b7b7046d6102abbe5a1917f41de078f9ddc04 | |
parent | 2aed62d6645879de71050995acd5dbc5b377c6ec [diff] |
Control hidden API toast with a system property CL Id0a4200f912ac3303026cb26b6d8974c47332828 sets a system property "ro.art.hiddenapi.warning" for non-release, non-user builds. This patch reads that flag and unless the flag is set, will only ever show the warning message if the app is debuggable. Test: manual Bug: 64382372 Change-Id: I9b552792779589a7a91818a82d5c86141fc0a30b