aboutsummaryrefslogtreecommitdiffstats
path: root/cm
diff options
context:
space:
mode:
authord34d <clark@cyngn.com>2016-04-12 13:27:58 -0700
committerd34d <clark@cyngn.com>2016-04-12 13:27:58 -0700
commit8a35e126a784d18d8d44c56d94f95b83fee79474 (patch)
treea4ff2d0e27020ad9e14b42dc7a4608391465c531 /cm
parent16d3dc672e272c45c9474ff14c0e3494c5479a74 (diff)
downloadvendor_cmsdk-8a35e126a784d18d8d44c56d94f95b83fee79474.zip
vendor_cmsdk-8a35e126a784d18d8d44c56d94f95b83fee79474.tar.gz
vendor_cmsdk-8a35e126a784d18d8d44c56d94f95b83fee79474.tar.bz2
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
Diffstat (limited to 'cm')
-rw-r--r--cm/lib/main/java/org/cyanogenmod/platform/internal/ThemeManagerService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cm/lib/main/java/org/cyanogenmod/platform/internal/ThemeManagerService.java b/cm/lib/main/java/org/cyanogenmod/platform/internal/ThemeManagerService.java
index 8c0af4c..7b6054c 100644
--- a/cm/lib/main/java/org/cyanogenmod/platform/internal/ThemeManagerService.java
+++ b/cm/lib/main/java/org/cyanogenmod/platform/internal/ThemeManagerService.java
@@ -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;
}