diff options
author | zachh <zachh@google.com> | 2017-07-28 14:49:00 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-07-28 16:14:16 -0700 |
commit | a69311f29586cd5f374fa98a5a217a45b97e306d (patch) | |
tree | 29ce160b0cc738ceb6feeb7d9efd71596163c0c1 /Android.mk | |
parent | a48f3c4bd2581c884e4668d3f4a47b7b374900ee (diff) |
Don't enable strict mode in non-bugfood builds.
There were some calls to StrictMode#enableDefaults in our codebase that were not guarded by bugfood checks. In testing, #enableDefaults causes warnings to be printed that otherwise would not.
This CL makes it so that we never call enableDefaults on non-bugfood builds, and cleans up and consolidates our usage of strict mode logic by introducing a new class called DialerStrictMode.
Test: none
PiperOrigin-RevId: 163521622
Change-Id: I841b4198a5dd6084ee104dc6907165e3379d0451
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions