cmsdk: fix customtile listener service registering logic
mWrapper was never sets. getStatusBarInterface() before check mWrapper instance Change-Id: Ib280fdf70bc96dcc2ec6c86c6a8bc380dc1e3da1 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
This commit is contained in:
parent
c616c93749
commit
9567e3eb67
@ -223,7 +223,7 @@ public class CustomTileListenerService extends Service {
|
||||
}
|
||||
|
||||
private boolean isBound() {
|
||||
if (mWrapper == null || getStatusBarInterface() == null) {
|
||||
if (getStatusBarInterface() == null || mWrapper == null) {
|
||||
Log.w(TAG, "CustomTile listener service not yet bound.");
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user