* commit '11c6b669232d48d76a07a5dccb9042f2f5e037b2': Set FLAG_SHOW_LIGHTS if *either* on or off is nonzero.
This commit is contained in:
@@ -1603,7 +1603,7 @@ public class Notification implements Parcelable
|
||||
n.defaults = mDefaults;
|
||||
n.flags = mFlags;
|
||||
n.bigContentView = makeBigContentView();
|
||||
if (mLedOnMs != 0 && mLedOffMs != 0) {
|
||||
if (mLedOnMs != 0 || mLedOffMs != 0) {
|
||||
n.flags |= FLAG_SHOW_LIGHTS;
|
||||
}
|
||||
if ((mDefaults & DEFAULT_LIGHTS) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user