From 1df841d446ebc5ef8f2e27e03025d5670d67c7de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sami=20Kalliom=C3=A4ki?= Date: Mon, 3 Jun 2019 13:25:19 +0200 Subject: [PATCH] Target SDK level 29 in AppRTCMobile. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removes CAPTURE_VIDEO_OUTPUT permission since it is not needed when using MediaProjection API and not allowed in Android Q. This is a reland of af4f1b41277ebdf0d7386cbd2903abc709cbc183 Original change's description: > Target SDK level 27 in AppRTCMobile. > > Implements the dynamic permission model required by the newer SDK and > changes the theme. > > Bug: webrtc:8803 > Change-Id: I3ea23a25b27f196fcffd018c7cdd2ff6255b62d9 > Reviewed-on: https://webrtc-review.googlesource.com/44400 > Commit-Queue: Sami Kalliomäki > Reviewed-by: Anders Carlsson > Cr-Commit-Position: refs/heads/master@{#21788} Bug: webrtc:8803 Change-Id: Ie79d7f7b9e8fea255581d3b56772b5bb6fffff4c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/139881 Commit-Queue: Sami Kalliomäki Reviewed-by: Magnus Jedvert Cr-Commit-Position: refs/heads/master@{#28137} --- examples/androidapp/AndroidManifest.xml | 10 +- .../res/layout/activity_connect.xml | 2 +- examples/androidapp/res/values-v17/styles.xml | 2 + examples/androidapp/res/values-v21/styles.xml | 6 +- examples/androidapp/res/values/strings.xml | 3 + .../org/appspot/apprtc/ConnectActivity.java | 106 ++++++++++++++++-- 6 files changed, 108 insertions(+), 21 deletions(-) diff --git a/examples/androidapp/AndroidManifest.xml b/examples/androidapp/AndroidManifest.xml index 576449bb14..8a9035e782 100644 --- a/examples/androidapp/AndroidManifest.xml +++ b/examples/androidapp/AndroidManifest.xml @@ -8,7 +8,7 @@ - + @@ -18,8 +18,6 @@ - + android:windowSoftInputMode="adjustPan" + android:theme="@style/AppTheme"> @@ -47,7 +46,8 @@ + android:label="@string/settings_name" + android:theme="@style/AppTheme"> + +