am 26c13439: Set FLAG_SHOW_LIGHTS if *either* on or off is nonzero.
* commit '26c134398422a4f4e703cdf7b87fb1cb08d542c4': 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