Fix Tasker-related crash
@@ -32,7 +32,7 @@ public final class TaskerConditionReceiver extends BroadcastReceiver {
public void onReceive(Context context, Intent intent) {
if(U.isExternalAccessDisabled(context)) return;
- if(lastbundle.equals(intent.getBundleExtra(com.twofortyfouram.locale.api.Intent.EXTRA_BUNDLE))) {
+ if(lastbundle != null && lastbundle.equals(intent.getBundleExtra(com.twofortyfouram.locale.api.Intent.EXTRA_BUNDLE))) {
// bundle hasn't changed: we can safely return
return;
}
