From b0cf72eaa629a438a939dec34b2f7436416e045e Mon Sep 17 00:00:00 2001 From: Tyler Gunn Date: Tue, 5 May 2015 12:22:38 -0700 Subject: DO NOT MERGE Video call upgrade/dowgrade request changes. - fixed potential NPE in VideoCallFragment when setting preview size. - moved photo load into the postExecute for the async task -- it is already threaded and I was seeing intermittent concurrency issues. - Changed CallButtonFragment to retrieve max # of buttons from config.xml. - Added override for wider screens (e.g. N6 and wider) to show an extra button. - Reorganized call buttons so that the "Camera on/off" button is adjacent to the flip camera button. - Changed answer Glowpad to pass correct video state so that accepting a video request uses the correct state (important for accepting requests to turn camera back on). - added new Session modification state REQUEST_REJECTED for when the remote user explicitly declines the request. This is used to trigger a "video request rejected" message when the remote party rejects the request. Bug: 20257400 Change-Id: Ibe25eb045ee868748f91bf411f285629d36ebcd2 (cherry picked from commit 1a723f1586c812510bd0791a4ef8420d36f83cf9) --- InCallUI/res/layout/call_button_fragment.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'InCallUI/res/layout/call_button_fragment.xml') diff --git a/InCallUI/res/layout/call_button_fragment.xml b/InCallUI/res/layout/call_button_fragment.xml index 17c2d7c78..0cdaf23f7 100644 --- a/InCallUI/res/layout/call_button_fragment.xml +++ b/InCallUI/res/layout/call_button_fragment.xml @@ -122,6 +122,13 @@ + + + - - -