Loading Android.mk +2 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,8 @@ src_dirs += \ $(phone_common_dir)/src-N LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) LOCAL_SRC_FILES += src/org/codeaurora/presenceserv/IPresenceService.aidl \ src/org/codeaurora/presenceserv/IPresenceServiceCB.aidl LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) \ $(support_library_root_dir)/v7/cardview/res \ $(support_library_root_dir)/v7/recyclerview/res \ Loading AndroidManifest.xml +2 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,7 @@ <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" /> <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_SETTINGS" /> Loading @@ -59,6 +60,7 @@ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.BROADCAST_STICKY" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <!-- This tells the activity manager to not delay any of our activity start requests, even if they happen immediately after the user presses home. --> Loading InCallUI/res/layout/call_button_fragment.xml +18 −0 Original line number Diff line number Diff line Loading @@ -197,6 +197,24 @@ android:contentDescription="@string/onscreenManageConferenceText" android:visibility="gone" /> <ImageButton android:id="@+id/rxtxVideoCallButton" style="@style/InCallButton" android:background="@drawable/btn_change_to_video" android:contentDescription="@string/overflowBothCallMenuItemText" android:visibility="gone" /> <ImageButton android:id="@+id/rxVedioCallButton" style="@style/InCallButton" android:background="@drawable/btn_change_to_hm_video" android:contentDescription="@string/overflowRXCallMenuItemText" android:visibility="gone" /> <ImageButton android:id="@+id/volteCallButton" style="@style/InCallButton" android:background="@drawable/btn_compound_audio" android:contentDescription="@string/overflowVOCallMenuItemText" android:visibility="gone" /> </LinearLayout> </LinearLayout> InCallUI/res/layout/primary_call_info.xml +2 −2 Original line number Diff line number Diff line Loading @@ -137,7 +137,7 @@ <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_height="@dimen/in_call_layout_height" android:orientation="horizontal" android:clipChildren="false" android:clipToPadding="false"> Loading @@ -145,7 +145,7 @@ <ImageView android:id="@+id/hdAudioIcon" android:src="@drawable/ic_hd_24dp" android:layout_width="24dp" android:layout_height="match_parent" android:layout_height="wrap_content" android:layout_marginEnd="8dp" android:tint="@color/incall_call_banner_subtext_color" android:scaleType="fitCenter" Loading InCallUI/res/layout/video_call_views.xml +8 −4 Original line number Diff line number Diff line Loading @@ -20,11 +20,15 @@ android:layout_width="match_parent" android:layout_height="match_parent" > <FrameLayout android:layout_width="match_parent" android:layout_height="match_parent"> <TextureView android:id="@+id/incomingVideo" android:layout_gravity="center" android:layout_width="match_parent" android:layout_height="match_parent" /> </FrameLayout> <!-- The width and height are replaced at runtime based on the selected camera. --> <FrameLayout android:id="@+id/previewVideoContainer" Loading Loading
Android.mk +2 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,8 @@ src_dirs += \ $(phone_common_dir)/src-N LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) LOCAL_SRC_FILES += src/org/codeaurora/presenceserv/IPresenceService.aidl \ src/org/codeaurora/presenceserv/IPresenceServiceCB.aidl LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) \ $(support_library_root_dir)/v7/cardview/res \ $(support_library_root_dir)/v7/recyclerview/res \ Loading
AndroidManifest.xml +2 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,7 @@ <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" /> <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_SETTINGS" /> Loading @@ -59,6 +60,7 @@ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.BROADCAST_STICKY" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <!-- This tells the activity manager to not delay any of our activity start requests, even if they happen immediately after the user presses home. --> Loading
InCallUI/res/layout/call_button_fragment.xml +18 −0 Original line number Diff line number Diff line Loading @@ -197,6 +197,24 @@ android:contentDescription="@string/onscreenManageConferenceText" android:visibility="gone" /> <ImageButton android:id="@+id/rxtxVideoCallButton" style="@style/InCallButton" android:background="@drawable/btn_change_to_video" android:contentDescription="@string/overflowBothCallMenuItemText" android:visibility="gone" /> <ImageButton android:id="@+id/rxVedioCallButton" style="@style/InCallButton" android:background="@drawable/btn_change_to_hm_video" android:contentDescription="@string/overflowRXCallMenuItemText" android:visibility="gone" /> <ImageButton android:id="@+id/volteCallButton" style="@style/InCallButton" android:background="@drawable/btn_compound_audio" android:contentDescription="@string/overflowVOCallMenuItemText" android:visibility="gone" /> </LinearLayout> </LinearLayout>
InCallUI/res/layout/primary_call_info.xml +2 −2 Original line number Diff line number Diff line Loading @@ -137,7 +137,7 @@ <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_height="@dimen/in_call_layout_height" android:orientation="horizontal" android:clipChildren="false" android:clipToPadding="false"> Loading @@ -145,7 +145,7 @@ <ImageView android:id="@+id/hdAudioIcon" android:src="@drawable/ic_hd_24dp" android:layout_width="24dp" android:layout_height="match_parent" android:layout_height="wrap_content" android:layout_marginEnd="8dp" android:tint="@color/incall_call_banner_subtext_color" android:scaleType="fitCenter" Loading
InCallUI/res/layout/video_call_views.xml +8 −4 Original line number Diff line number Diff line Loading @@ -20,11 +20,15 @@ android:layout_width="match_parent" android:layout_height="match_parent" > <FrameLayout android:layout_width="match_parent" android:layout_height="match_parent"> <TextureView android:id="@+id/incomingVideo" android:layout_gravity="center" android:layout_width="match_parent" android:layout_height="match_parent" /> </FrameLayout> <!-- The width and height are replaced at runtime based on the selected camera. --> <FrameLayout android:id="@+id/previewVideoContainer" Loading