mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
309 lines
15 KiB
XML
309 lines
15 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"
|
|
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:label="@string/permlab_read_settings"
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
android:protectionLevel="normal" />
|
|
<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"/>
|
|
|
|
<application
|
|
android:backupAgent=".LauncherBackupAgent"
|
|
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">
|
|
|
|
<!--
|
|
Main launcher activity. When extending only change the name, and keep all the
|
|
attributes and intent filters the same
|
|
-->
|
|
<activity
|
|
android:name="com.google.android.apps.nexuslauncher.NexusLauncherActivity"
|
|
android:clearTaskOnLaunch="true"
|
|
android:configChanges="keyboard|keyboardHidden|navigation"
|
|
android:enabled="true"
|
|
android:excludeFromRecents="true"
|
|
android:launchMode="singleTask"
|
|
android:resizeableActivity="true"
|
|
android:resumeWhilePausing="true"
|
|
android:screenOrientation="nosensor"
|
|
android:stateNotNeeded="true"
|
|
android:taskAffinity=""
|
|
android:windowSoftInputMode="adjustPan">
|
|
<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>
|
|
|
|
<!-- 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" />
|
|
|
|
<!--
|
|
ENABLE_FOR_TESTING
|
|
|
|
<activity
|
|
android:name="com.android.launcher3.testing.LauncherExtension"
|
|
android:launchMode="singleTask"
|
|
android:clearTaskOnLaunch="true"
|
|
android:stateNotNeeded="true"
|
|
android:theme="@style/Theme"
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:screenOrientation="nosensor"
|
|
>
|
|
<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"/>
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity
|
|
android:name="com.android.launcher3.testing.MemoryDumpActivity"
|
|
android:theme="@android:style/Theme.NoDisplay"
|
|
android:label="* HPROF"
|
|
android:excludeFromRecents="true"
|
|
android:icon="@drawable/ic_launcher_home"
|
|
>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity
|
|
android:name="com.android.launcher3.testing.ToggleWeightWatcher"
|
|
android:label="Show Mem"
|
|
android:icon="@drawable/ic_launcher_home">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<service android:name="com.android.launcher3.testing.MemoryTracker" />
|
|
-->
|
|
|
|
<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>
|
|
<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:scheme="content" />
|
|
<data android:mimeType="*/*" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<!--
|
|
Work around Android's ugly primitive PatternMatcher
|
|
implementation that can't cope with finding a . early in
|
|
the path unless it's explicitly matched.
|
|
-->
|
|
<data android:scheme="file" />
|
|
<data android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.shed" android:scheme="file" />
|
|
<data android:host="*" android:mimeType="*/*" android:pathPattern=".*\\..*\\.shed" android:scheme="file" />
|
|
<data android:host="*" android:mimeType="*/*" android:pathPattern=".*\\..*\\..*\\.shed" android:scheme="file" />
|
|
<data android:host="*" android:mimeType="*/*" android:pathPattern=".*\\..*\\..*\\..*\\.shed" android:scheme="file" />
|
|
<data android:host="*" android:mimeType="*/*" android:pathPattern=".*\\..*\\..*\\..*\\..*\\.shed" android:scheme="file" />
|
|
<data android:host="*" android:mimeType="*/*" android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.shed" android:scheme="file" />
|
|
<data android:host="*" android:mimeType="*/*" android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.shed" android:scheme="file" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<!--
|
|
Work around Android's ugly primitive PatternMatcher
|
|
implementation that can't cope with finding a . early in
|
|
the path unless it's explicitly matched.
|
|
-->
|
|
<data android:scheme="file" />
|
|
<data android:host="*" android:pathPattern=".*\\.shed" android:scheme="file" />
|
|
<data android:host="*" android:pathPattern=".*\\..*\\.shed" android:scheme="file" />
|
|
<data android:host="*" android:pathPattern=".*\\..*\\..*\\.shed" android:scheme="file" />
|
|
<data android:host="*" android:pathPattern=".*\\..*\\..*\\..*\\.shed" android:scheme="file" />
|
|
<data android:host="*" android:pathPattern=".*\\..*\\..*\\..*\\..*\\.shed" android:scheme="file" />
|
|
<data android:host="*" android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.shed" android:scheme="file" />
|
|
<data android:host="*" android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.shed" android:scheme="file" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name="ch.deletescape.lawnchair.settings.ui.AboutActivity"
|
|
android:label="@string/about"
|
|
android:parentActivityName="ch.deletescape.lawnchair.settings.ui.SettingsActivity"
|
|
android:theme="@style/SettingsTheme.V2" />
|
|
<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>
|
|
</application>
|
|
|
|
</manifest> |