commit | b26c1ae4fdb6f15bd8984132225fd4dc4b2b8fb9 | [log] [tgz] |
---|---|---|
author | yueg <yueg@google.com> | Mon Sep 18 16:59:16 2017 -0700 |
committer | Eric Erfanian <erfanian@google.com> | Tue Sep 19 07:17:37 2017 -0700 |
tree | 7ca1e4d2c9ed2b501430a6cebdb48d21b29bb26c | |
parent | 10ea1bd17c116c47191e56ff67a1a6da32fcab4f [diff] |
Add "Turn speaker on"/"Turn speaker off" action button in notification. Add action button when create in call notification and when audio state changes to ROUTE_SPEAKER or ROUTE_WIRED_OR_EARPIECE. Ignore when audio state is ROUTE_BLUETOOTH. Screenshot: Speaker on: https://screenshot.googleplex.com/hnsQL0YcFJj Speaker off: https://screenshot.googleplex.com/oFrbvbs9gVG Test: StatusBarNotifierTest PiperOrigin-RevId: 169169372 Change-Id: I2f96f20170dd174b35dfd3f7578fe5b9450391ab