Add foreground service permission
Test: installed app and verified permission is requested via
$ adb shell dumpsys package com.android.contacts
FIXED=72969858
Change-Id: Iab6c79d5ea924c58a3c8d5558a7b852ce7f7dacb
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 921bbbc..1476e89 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -56,6 +56,8 @@
<!-- Following used for getting the status of the contacts sync adapter -->
<uses-permission android:name="android.permission.READ_SYNC_STATS"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
+ <!-- Required in P to run Service.startForeground() -->
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-feature
android:name="android.hardware.telephony"