From ebef6b94037a2a028635a5371f3d8e0f97c7d206 Mon Sep 17 00:00:00 2001 From: Tyler Gunn Date: Tue, 10 May 2016 08:39:54 -0700 Subject: Cleanup of video pause button. The "pause video" button had a few issues that needed to be cleaned up: 1. The accessibility text for the button was always "pause video". I've changed this so that it says, "Turn on camera" or "Turn off camera" to better indicate what pushing the button will do. 2. When the user accepts an incoming request to initiate a 1-way video call, the button state would not be correct (the user's camera is disabled, but the button would not reflect that). Bug: 27944419 Bug: 28550284 Change-Id: I2594971ec21b5714ca2d750894a93b758f7a80e5 --- InCallUI/res/layout/call_button_fragment.xml | 2 +- InCallUI/res/values/strings.xml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'InCallUI/res') diff --git a/InCallUI/res/layout/call_button_fragment.xml b/InCallUI/res/layout/call_button_fragment.xml index 6dbfbf73a..802e3de62 100644 --- a/InCallUI/res/layout/call_button_fragment.xml +++ b/InCallUI/res/layout/call_button_fragment.xml @@ -126,7 +126,7 @@ diff --git a/InCallUI/res/values/strings.xml b/InCallUI/res/values/strings.xml index 57a1b5389..7701cdb2d 100644 --- a/InCallUI/res/values/strings.xml +++ b/InCallUI/res/values/strings.xml @@ -313,8 +313,10 @@ Switch camera - - Pause video + + Turn on camera + + Turn off camera More options -- cgit v1.2.3