Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WellBe launcher permissions
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.hfh.wellbe.smartwatch"
android:sharedUserId="android.uid.system">
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.ACCESS_SUPERUSER" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission
android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"
tools:ignore="ProtectedPermissions" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission
android:name="android.permission.INSTALL_PACKAGES"
tools:ignore="ProtectedPermissions" />
<uses-permission
android:name="android.permission.DELETE_PACKAGES"
tools:ignore="ProtectedPermissions" />
<uses-permission
android:name="android.permission.DEVICE_POWER"
tools:ignore="ProtectedPermissions" />
<uses-permission android:name="android.permission.BODY_SENSORS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission
android:name="android.permission.WRITE_SETTINGS"
tools:ignore="ProtectedPermissions" />
<uses-permission
android:name="android.permission.WRITE_SECURE_SETTINGS"
tools:ignore="ProtectedPermissions" />
<application
android:name=".App"
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:requestLegacyExternalStorage="true"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning,LockedOrientationActivity"
tools:replace="android:allowBackup">
<activity
android:name=".mvp.activities.LauncherActivity"
android:clearTaskOnLaunch="true"
android:configChanges="mcc|mnc"
android:launchMode="singleTask"
android:screenOrientation="portrait"
android:stateNotNeeded="true"
android:theme="@style/AppTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<!-- uncomment this to enable app act as a launcher -->
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".mvp.activities.AppSettingsActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.MenuActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.HeartRateActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.EmergencyActivity"
android:launchMode="singleTop"
android:noHistory="true"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.PedometerActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.BatteryActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTransparent" />
<activity
android:name=".mvp.activities.NotificationsSettingsActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.DisplaySettingsActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.ChooserActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.WatchFaceSettingsActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.AboutActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.WifiConfigActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.AirplaneModeSettingsActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.AdvancedSettingsActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.LocationActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.SettingsTestCallActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.LogsActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.LogActivity"
android:screenOrientation="portrait" />
<activity
android:name=".mvp.activities.VoiceAssistantActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTransparent" />
<activity
android:name=".mvp.activities.EnterPinActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTransparent" />
<activity
android:name=".mvp.activities.UpdateActivity"
android:theme="@style/AppTransparent" />
<activity
android:name=".mvp.activities.TestActivity"
android:screenOrientation="portrait" />
<receiver
android:name=".receivers.EmergencyButtonPressReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.WEELBE_LONG_PRESS" />
</intent-filter>
</receiver>
<receiver
android:name=".receivers.ResetPedometerReceiver"
android:exported="false" />
<receiver
android:name=".receivers.ReportDeviceHealthReceiver"
android:exported="false" />
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="com.hfh.wellbe.smartwatch"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/filepath" />
</provider>
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment