mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-17 17:48:20 +00:00
283 lines
13 KiB
XML
283 lines
13 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
/*
|
|
**
|
|
** Copyright 2008, The Android Open Source Project
|
|
**
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
** you may not use this file except in compliance with the License.
|
|
** You may obtain a copy of the License at
|
|
**
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
**
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
** See the License for the specific language governing permissions and
|
|
** limitations under the License.
|
|
*/
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
package="com.android.launcher3">
|
|
|
|
<!-- <uses-sdk
|
|
android:minSdkVersion="21"
|
|
android:targetSdkVersion="23" /> -->
|
|
<!--
|
|
Manifest entries specific to Launcher3. This is merged with AndroidManifest-common.xml.
|
|
Refer comments around specific entries on how to extend individual components.
|
|
-->
|
|
|
|
|
|
<!--
|
|
Permissions required for read/write access to the workspace data. These permission name
|
|
should not conflict with that defined in other apps, as such an app should embed its package
|
|
name in the permissions. eq com.mypackage.permission.READ_SETTINGS
|
|
-->
|
|
<permission
|
|
android:name="${applicationId}.permission.READ_SETTINGS"
|
|
android:description="@string/permdesc_read_settings"
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
android:protectionLevel="signatureOrSystem"
|
|
android:label="@string/permlab_read_settings" />
|
|
<permission
|
|
android:name="${applicationId}.permission.WRITE_SETTINGS"
|
|
android:description="@string/permdesc_write_settings"
|
|
android:label="@string/permlab_write_settings"
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
android:protectionLevel="signatureOrSystem" />
|
|
|
|
<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
|
|
<uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
|
|
<uses-permission android:name="com.google.android.apps.nexuslauncher.permission.READ_SETTINGS" />
|
|
<uses-permission android:name="com.google.android.apps.nexuslauncher.permission.WRITE_SETTINGS" />
|
|
<uses-permission android:name="${applicationId}.permission.READ_SETTINGS" />
|
|
<uses-permission android:name="${applicationId}.permission.WRITE_SETTINGS" />
|
|
|
|
<!-- Pixel -->
|
|
<permission
|
|
android:name="${applicationId}.permission.QSB"
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
android:protectionLevel="signatureOrSystem" />
|
|
|
|
<uses-permission android:name="${applicationId}.permission.QSB" />
|
|
|
|
<!-- Custom -->
|
|
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.SET_WALLPAPER" />
|
|
<uses-permission android:name="android.permission.INSTALL_SHORTCUT" />
|
|
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
|
|
<uses-permission android:name="android.permission.READ_WALLPAPER_INTERNAL" />
|
|
|
|
<!-- EMUI specific permissions -->
|
|
<uses-permission android:name="com.android.permission.RECEIVE_LAUNCH_BROADCASTS" />
|
|
<!-- The following is NOT a typo, it is actually called wallpaperservcie ¯\_(ツ)_/¯ -->
|
|
<uses-permission android:name="com.huawei.wallpaperservcie.permission.SET_WALLPAPER_OFFSET" />
|
|
<uses-permission android:name="com.huawei.android.thememanager.permission.ACCESS_CHANGE_WALLPAPER" />
|
|
<uses-permission android:name="com.android.launcher.permission.LAUNCHER_ANIMATION" />
|
|
<uses-permission android:name="com.inveno.hwread.permission.LAUNCHER_RECEIVE" />
|
|
|
|
<application
|
|
android:name="ch.deletescape.lawnchair.LawnchairApp"
|
|
android:backupAgent=".LauncherBackupAgent"
|
|
android:excludeFromRecents="true"
|
|
android:fullBackupContent="@xml/backupscheme"
|
|
android:fullBackupOnly="true"
|
|
android:hardwareAccelerated="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/derived_app_name"
|
|
android:largeHeap="@bool/config_largeHeap"
|
|
android:restoreAnyVersion="true"
|
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/LauncherTheme"
|
|
tools:replace="android:label">
|
|
|
|
<!--
|
|
Main launcher activity. When extending only change the name, and keep all the
|
|
attributes and intent filters the same
|
|
-->
|
|
<activity
|
|
android:name="ch.deletescape.lawnchair.LawnchairLauncher"
|
|
android:clearTaskOnLaunch="true"
|
|
android:launchMode="singleTask"
|
|
android:stateNotNeeded="true"
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:screenOrientation="unspecified"
|
|
android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
|
|
android:resizeableActivity="true"
|
|
android:resumeWhilePausing="true"
|
|
android:taskAffinity="" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.HOME" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.MONKEY" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
<category android:name="android.intent.category.LAUNCHER_APP" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity
|
|
android:name="ch.deletescape.lawnchair.LawnchairLauncher$Screenshot"
|
|
android:excludeFromRecents="true"
|
|
android:screenOrientation="portrait"
|
|
android:theme="@style/ScreenshotLauncherTheme"/>
|
|
|
|
<!-- The settings activity. When extending keep the intent filter present -->
|
|
<activity
|
|
android:name="ch.deletescape.lawnchair.settings.ui.SettingsActivity"
|
|
android:autoRemoveFromRecents="true"
|
|
android:label="@string/derived_app_name"
|
|
android:theme="@style/SettingsTheme.V2">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.APPLICATION_PREFERENCES" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<!--
|
|
The settings provider contains Home's data, like the workspace favorites. The permissions
|
|
should be changed to what is defined above. The authorities should also be changed to
|
|
represent the package name.
|
|
-->
|
|
<provider
|
|
android:name=".LauncherProvider"
|
|
android:authorities="${applicationId}.settings"
|
|
android:exported="true"
|
|
android:readPermission="${applicationId}.permission.READ_SETTINGS"
|
|
android:writePermission="${applicationId}.permission.WRITE_SETTINGS" />
|
|
|
|
<!-- Pixel -->
|
|
<activity
|
|
android:name="com.google.android.apps.nexuslauncher.search.AppLaunchActivity"
|
|
android:theme="@android:style/Theme.NoDisplay">
|
|
<intent-filter android:priority="1">
|
|
<action android:name="com.google.android.apps.nexuslauncher.search.APP_LAUNCH" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data
|
|
android:mimeType="vnd.android.cursor.dir/vnd.android.search.suggest"
|
|
android:scheme="content" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<receiver
|
|
android:name="com.google.android.apps.nexuslauncher.qsb.OPAStatusReceiver"
|
|
android:permission="android.permission.CAPTURE_AUDIO_HOTWORD">
|
|
<intent-filter>
|
|
<action android:name="com.google.android.systemui.OPA_ENABLED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver android:name="com.google.android.apps.nexuslauncher.smartspace.SmartspaceBroadcastReceiver">
|
|
<intent-filter>
|
|
<action android:name="com.google.android.apps.nexuslauncher.UPDATE_SMARTSPACE" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver android:name="com.google.android.apps.nexuslauncher.qsb.LongClickReceiver" />
|
|
|
|
<provider
|
|
android:name="com.google.android.apps.nexuslauncher.search.AppSearchProvider"
|
|
android:authorities="${applicationId}.appssearch"
|
|
android:exported="true" />
|
|
|
|
<!--
|
|
Custom
|
|
-->
|
|
<meta-data android:name="android.max_aspect" android:value="2.1" />
|
|
<meta-data android:name="com.samsung.android.non_immersive" android:value="true" />
|
|
|
|
<activity
|
|
android:name="ch.deletescape.lawnchair.backup.BackupListActivity"
|
|
android:label="@string/backups"
|
|
android:parentActivityName="ch.deletescape.lawnchair.settings.ui.SettingsActivity"
|
|
android:theme="@style/SettingsTheme.V2" />
|
|
<activity
|
|
android:name="ch.deletescape.lawnchair.backup.NewBackupActivity"
|
|
android:label="@string/new_backup"
|
|
android:parentActivityName="ch.deletescape.lawnchair.backup.BackupListActivity"
|
|
android:theme="@style/SettingsTheme.V2" />
|
|
<activity
|
|
android:name="ch.deletescape.lawnchair.backup.RestoreBackupActivity"
|
|
android:label="@string/restore_backup"
|
|
android:parentActivityName="ch.deletescape.lawnchair.backup.BackupListActivity"
|
|
android:theme="@style/SettingsTheme.V2">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data android:mimeType="application/vnd.lawnchair.backup" />
|
|
<data android:mimeType="application/octet-stream" />
|
|
<data android:mimeType="application/x-zip-compressed" />
|
|
<data android:mimeType="application/zip" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<!-- Mimetype for .shed backup files -->
|
|
<provider
|
|
android:name="android.support.v4.content.FileProvider"
|
|
android:authorities="${applicationId}.provider"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/provider_paths" />
|
|
</provider>
|
|
|
|
<!-- Apply directly from iconpack -->
|
|
<activity
|
|
android:name="ch.deletescape.lawnchair.iconpack.ApplyIconPackActivity"
|
|
android:theme="@style/SettingsTheme.V2.Transparent" >
|
|
<intent-filter>
|
|
<action android:name="ch.deletescape.lawnchair.APPLY_ICONS"/>
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<!-- Icon picker -->
|
|
<activity
|
|
android:name="ch.deletescape.lawnchair.iconpack.EditIconActivity"
|
|
android:theme="@style/SettingsTheme.V2" />
|
|
<activity
|
|
android:name="ch.deletescape.lawnchair.iconpack.IconPickerActivity"
|
|
android:theme="@style/SettingsTheme.V2" />
|
|
|
|
<!-- Gesture app selection -->
|
|
<activity
|
|
android:name="ch.deletescape.lawnchair.gestures.ui.SelectAppActivity"
|
|
android:label="@string/action_open_app_select_app"
|
|
android:theme="@style/SettingsTheme.V2" />
|
|
<activity
|
|
android:name="ch.deletescape.lawnchair.BlankActivity"
|
|
android:theme="@style/Theme.Transparent" />
|
|
|
|
<!-- DT2S using screen timeout -->
|
|
<activity
|
|
android:name="ch.deletescape.lawnchair.gestures.handlers.SleepTimeoutActivity"
|
|
android:screenOrientation="locked"
|
|
android:theme="@style/SleepTimeoutTheme"/>
|
|
|
|
<!-- DT2S using device admin -->
|
|
<receiver
|
|
android:name="ch.deletescape.lawnchair.gestures.handlers.SleepGestureHandlerDeviceAdmin$SleepDeviceAdmin"
|
|
android:description="@string/dt2s_admin_hint"
|
|
android:permission="android.permission.BIND_DEVICE_ADMIN">
|
|
<meta-data
|
|
android:name="android.app.device_admin"
|
|
android:resource="@xml/sleep_admin_policy" />
|
|
<intent-filter>
|
|
<action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
</application>
|
|
|
|
</manifest> |