[frameworks/base] fix when systemUI died,it can not restart in low ram devices

Signed-off-by: Firefly <service@t-firefly.com>
This commit is contained in:
Firefly
2015-12-09 23:43:35 +08:00
committed by cjp
parent b6bab2e017
commit 49c88b376b

View File

@ -4891,7 +4891,8 @@ Intent.CATEGORY_LAUNCHER) */&& startFlags==0){
+ ", thread: " + thread.asBinder());
boolean isrestart = true;
if("true".equals(SystemProperties.get("ro.config.low_ram", "false")) && (!"true".equals(SystemProperties.get("sys.cts_gts.status", "false"))))
isrestart = false;
if(!"com.android.systemui".equals(app.processName))
isrestart = false;
handleAppDiedLocked(app, false, isrestart);
if (doOomAdj) {