ART: Turn on dex2oat watchdog on target
Activates the watchdog on device.
Bug: 16364458
Change-Id: Id7c86f5a345da35b97bc7fa1a95c86e8685f8fcd
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index 77946b0..eceebaf 100644
--- a/dex2oat/dex2oat.cc
+++ b/dex2oat/dex2oat.cc
@@ -836,7 +836,7 @@
bool explicit_include_patch_information = false;
bool include_debug_symbols = kIsDebugBuild;
bool dump_slow_timing = kIsDebugBuild;
- bool watch_dog_enabled = !kIsTargetBuild;
+ bool watch_dog_enabled = true;
bool generate_gdb_information = kIsDebugBuild;
bool explicit_null_checks = true;