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:
parent
16d3dc672e
commit
8a35e126a7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue