commit | 9145fb62978288b972cc518ad4098a59d7d1e43a | [log] [tgz] |
---|---|---|
author | Tony Mak <tonymak@google.com> | Fri Jul 13 13:48:53 2018 +0100 |
committer | Tony Mak <tonymak@google.com> | Fri Jul 13 13:48:53 2018 +0100 |
tree | aab850fe4646a2d9bcb6a907b29d6978339dd1aa | |
parent | b5bcf495b84011b25db312687a819b3582c5233e [diff] |
Fix smart action is not enabled in first whatsapp notification When there is only one incoming message, whatsapp neither set category as msg nor use MessageStyle. To fix this, we add one more heuristic. If a notification has inline reply, we consider it as a message notification. BUG: 110527159 Test: Send myself a whatsapp notification. Observe that smart action is added. Change-Id: I2854764dce4eadd4b785d43f3042499607b2e8bf