diff options
author | Roman Birg <roman@cyngn.com> | 2016-06-01 11:40:00 -0700 |
---|---|---|
committer | Roman Birg <roman@cyngn.com> | 2016-06-01 11:41:24 -0700 |
commit | 27bf875e2a22480bde084dff48be154b874d26c7 (patch) | |
tree | 16322aeb9685f244271b3d8be61f6349c9bf71da /src | |
parent | 4e516125d9c3232708229a181adca6f1f1b2bdb8 (diff) | |
download | android_packages_apps_AudioFX-27bf875e2a22480bde084dff48be154b874d26c7.tar.gz android_packages_apps_AudioFX-27bf875e2a22480bde084dff48be154b874d26c7.tar.bz2 android_packages_apps_AudioFX-27bf875e2a22480bde084dff48be154b874d26c7.zip |
AudioFX: fix first boot listener regression
Change-Id: I47693ae45e7fb99fae3aa7f7487d17160b369db9
Ticket: OPO-343
Diffstat (limited to 'src')
-rw-r--r-- | src/com/cyngn/audiofx/service/AudioFxService.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/cyngn/audiofx/service/AudioFxService.java b/src/com/cyngn/audiofx/service/AudioFxService.java index dca7a44..e824421 100644 --- a/src/com/cyngn/audiofx/service/AudioFxService.java +++ b/src/com/cyngn/audiofx/service/AudioFxService.java @@ -250,6 +250,10 @@ public class AudioFxService extends Service } private void updateQsTile() { + if (mCurrentDevice == null || mDevicePrefs == null) { + // too early + return; + } if (mTileBuilder == null) { mTileBuilder = new CustomTile.Builder(this); } |