Disable TaskSnapshots to fix crashes for DP.

Renderthread can't crash in system server if you don't
have Renderthread in system server.

Bug: 34817544
Bug: 34840652
Test: Basically a revert
Change-Id: Ic7384b8b1f22459f4a299a84425af91515a92551
This commit is contained in:
Robert Carr
2017-02-14 09:12:18 -08:00
parent 27b35add5c
commit 280d1e55ef

View File

@@ -133,7 +133,7 @@ public class ActivityManager {
public final static boolean ENABLE_TASK_SNAPSHOTS;
static {
ENABLE_TASK_SNAPSHOTS = SystemProperties.getBoolean("persist.enable_task_snapshots", true);
ENABLE_TASK_SNAPSHOTS = SystemProperties.getBoolean("persist.enable_task_snapshots", false);
}
static final class UidObserver extends IUidObserver.Stub {