diff options
author | yueg <yueg@google.com> | 2017-09-18 16:59:16 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-09-19 07:17:37 -0700 |
commit | b26c1ae4fdb6f15bd8984132225fd4dc4b2b8fb9 (patch) | |
tree | 7ca1e4d2c9ed2b501430a6cebdb48d21b29bb26c /java/com/android/incallui/call | |
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
Diffstat (limited to 'java/com/android/incallui/call')
0 files changed, 0 insertions, 0 deletions