Merge "Only add boolean extra to bundle when the value is false" into tm-dev
This commit is contained in:
@@ -99,8 +99,10 @@ public class ComponentOptions {
|
|||||||
public Bundle toBundle() {
|
public Bundle toBundle() {
|
||||||
Bundle b = new Bundle();
|
Bundle b = new Bundle();
|
||||||
b.putBoolean(KEY_PENDING_INTENT_BACKGROUND_ACTIVITY_ALLOWED, mPendingIntentBalAllowed);
|
b.putBoolean(KEY_PENDING_INTENT_BACKGROUND_ACTIVITY_ALLOWED, mPendingIntentBalAllowed);
|
||||||
|
if (mPendingIntentBalAllowedByPermission) {
|
||||||
b.putBoolean(KEY_PENDING_INTENT_BACKGROUND_ACTIVITY_ALLOWED_BY_PERMISSION,
|
b.putBoolean(KEY_PENDING_INTENT_BACKGROUND_ACTIVITY_ALLOWED_BY_PERMISSION,
|
||||||
mPendingIntentBalAllowedByPermission);
|
mPendingIntentBalAllowedByPermission);
|
||||||
|
}
|
||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user