Themes: Clear out bootanimation if pkgName empty

An empty string for the package name implies the given component
should be cleared out, so make sure updateBootAnim respects that.

Change-Id: I07c7fc64970546c2d73a610d9c0b71f1e757657d
TICKET: CRACKLING-1043
This commit is contained in:
d34d 2016-04-12 13:27:58 -07:00
parent 16d3dc672e
commit 8a35e126a7
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ public class ThemeManagerService extends SystemService {
}
private boolean updateBootAnim(String pkgName) {
if (SYSTEM_DEFAULT.equals(pkgName)) {
if (TextUtils.isEmpty(pkgName) || SYSTEM_DEFAULT.equals(pkgName)) {
clearBootAnimation();
return true;
}