From 7e08de97267db22076bae6bce0913644ab4d48b9 Mon Sep 17 00:00:00 2001 From: Pierre Duchemin <pierre.duchemin@savoirfairelinux.com> Date: Mon, 5 Feb 2018 10:15:45 -0500 Subject: [PATCH] Fix: Firebase services do not need to be exported Change-Id: I68c6836d6e5ca9a7225d72ec1e0bc23fea15e004 --- ring-android/app/src/main/AndroidManifest.xml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/ring-android/app/src/main/AndroidManifest.xml b/ring-android/app/src/main/AndroidManifest.xml index 23a491db5..52bd97dcf 100644 --- a/ring-android/app/src/main/AndroidManifest.xml +++ b/ring-android/app/src/main/AndroidManifest.xml @@ -18,6 +18,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" package="cx.ring" android:installLocation="auto" android:versionCode="103" @@ -82,7 +83,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:resizeableActivity="true" - android:supportsRtl="true"> + android:supportsRtl="true" + tools:ignore="UnusedAttribute"> <activity android:name=".launch.LaunchActivity" @@ -155,8 +157,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize" android:label="@string/app_name" android:screenOrientation="fullUser" - android:theme="@style/AppTheme.ActionBar.Transparent" android:showOnLockScreen="true" + android:theme="@style/AppTheme.ActionBar.Transparent" android:windowSoftInputMode="adjustPan|stateHidden"> <intent-filter> <action android:name="android.intent.action.CALL" /> @@ -301,16 +303,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. android:theme="@style/LeanbackPreferences" /> <service - android:name=".services.RingFirebaseMessagingService"> + android:name=".services.RingFirebaseMessagingService" + android:exported="false"> <intent-filter> - <action android:name="com.google.firebase.MESSAGING_EVENT"/> + <action android:name="com.google.firebase.MESSAGING_EVENT" /> </intent-filter> </service> <service - android:name=".services.RingFirebaseInstanceIdService"> + android:name=".services.RingFirebaseInstanceIdService" + android:exported="false"> <intent-filter> - <action android:name="com.google.firebase.INSTANCE_ID_EVENT"/> + <action android:name="com.google.firebase.INSTANCE_ID_EVENT" /> </intent-filter> </service> -- GitLab