ART: Turn on dex2oat watchdog on target
Activates the watchdog on device.
Bug: 16364458
(cherry picked from commit bf40ddb83e1ea05ba4bc101149cd79f0160c8996)
Change-Id: I06deafa4436991f07bce44ecc6fd9df333f905ee
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index ac3eb39..0f1c8cd 100644
--- a/dex2oat/dex2oat.cc
+++ b/dex2oat/dex2oat.cc
@@ -850,7 +850,7 @@
bool include_patch_information = CompilerOptions::kDefaultIncludePatchInformation;
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;
// Checks are all explicit until we know the architecture.