Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
AndroidManifest.xml 2.84 KiB
<!--
/*
 * Copyright (C) 2023 The LibreMobileOS Foundation
 *
 * 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.settings">

    <!-- LineageHardware -->
    <uses-permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS" />

    <!-- LiveDisplay -->
    <uses-permission android:name="lineageos.permission.MANAGE_LIVEDISPLAY" />

    <!-- App lock -->
    <uses-permission android:name="com.android.permission.MANAGE_APP_LOCK" />

    <application>
        <activity android:name=".backup.transport.TransportActivity"
                  android:label="@string/backup_transport_title"
                  android:icon="@drawable/ic_settings_backup"
                  android:exported="false">
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="settings"
                      android:host="com.android.settings.backup.transport" />
            </intent-filter>
        </activity>

        <activity android:name=".password.ChooseLockPatternSize"
            android:exported="false"
            android:theme="@style/GlifTheme.Light" />

        <!-- App lock -->
        <activity android:name=".security.applock.AppLockCredentialActivity"
            android:exported="false"
            android:permission="com.android.permission.MANAGE_APP_LOCK"
            android:excludeFromRecents="true"
            android:stateNotNeeded="true"
            android:taskAffinity="com.android.settings.applock"
            android:launchMode="singleInstance"
            android:theme="@android:style/Theme.Translucent.NoTitleBar">
            <intent-filter>
                <action android:name="com.libremobileos.applock.action.UNLOCK_APP" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <activity android:name=".security.applock.AppLockSubSettings"
            android:exported="false"
            android:excludeFromRecents="true"
            android:taskAffinity="com.android.settings.applock"
            android:launchMode="singleTask" />

    </application>
</manifest>