Trust is disabled on this device (org.lineageos.trust is unavailable), so drop its Privacy entry and the onboarding activity. Co-Authored-By: Claude Opus 5.5 <[email protected]> Change-Id: I0d05e5809bb29d71c0a90e84d45713da9ecdcd2a
351 lines
15 KiB
XML
351 lines
15 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
SPDX-FileCopyrightText: 2016 The CyanogenMod Project
|
|
SPDX-FileCopyrightText: The LineageOS Project
|
|
SPDX-License-Identifier: Apache-2.0
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="org.lineageos.lineageparts"
|
|
android:sharedUserId="android.uid.system"
|
|
android:versionCode="1"
|
|
android:versionName="1.0">
|
|
|
|
<uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
|
|
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
|
|
<uses-permission android:name="android.permission.DEVICE_POWER" />
|
|
<uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
|
|
<uses-permission android:name="android.permission.BIND_DEVICE_ADMIN" />
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
<uses-permission android:name="android.permission.READ_SEARCH_INDEXABLES" />
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
|
|
<uses-permission android:name="lineageos.permission.MANAGE_REMOTE_PREFERENCES" />
|
|
|
|
<protected-broadcast android:name="lineageos.platform.app.profiles.PROFILES_STATE_CHANGED" />
|
|
<protected-broadcast android:name="org.lineageos.lineageparts.PART_CHANGED" />
|
|
<protected-broadcast android:name="org.lineageos.lineageparts.REFRESH_PART" />
|
|
<protected-broadcast android:name="org.lineageos.lineageparts.gestures.UPDATE_SETTINGS" />
|
|
|
|
<application
|
|
android:defaultToDeviceProtectedStorage="true"
|
|
android:directBootAware="true"
|
|
android:hardwareAccelerated="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/lineageparts_title"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/Theme.SubSettingsBase.Expressive">
|
|
|
|
<activity
|
|
android:name=".PartsActivity"
|
|
android:configChanges="orientation|keyboardHidden|screenSize"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="org.lineageos.settings.summary.receiver"
|
|
android:value="org.lineageos.lineageparts.PartsUpdater" />
|
|
</activity>
|
|
|
|
<receiver
|
|
android:name=".BootReceiver"
|
|
android:enabled="true"
|
|
android:exported="false">
|
|
<intent-filter android:priority="2147483647">
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<receiver
|
|
android:name=".PartsUpdater"
|
|
android:enabled="true"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="lineageos.intent.action.UPDATE_PREFERENCE" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<provider
|
|
android:name=".search.LineagePartsSearchIndexablesProvider"
|
|
android:authorities="org.lineageos.lineageparts"
|
|
android:exported="true"
|
|
android:grantUriPermissions="true"
|
|
android:multiprocess="false"
|
|
android:permission="android.permission.READ_SEARCH_INDEXABLES">
|
|
<intent-filter>
|
|
<action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" />
|
|
</intent-filter>
|
|
</provider>
|
|
|
|
<!-- Charging control settings (Battery category) -->
|
|
<activity-alias
|
|
android:name=".health.ChargingControlSettings"
|
|
android:exported="true"
|
|
android:label="@string/charging_control_title"
|
|
android:targetActivity="PartsActivity">
|
|
<intent-filter>
|
|
<action android:name="org.lineageos.lineageparts.CHARGING_CONTROL_SETTINGS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity-alias>
|
|
|
|
<!-- LiveDisplay settings (Display category) -->
|
|
<activity-alias
|
|
android:name=".livedisplay.LiveDisplaySettings"
|
|
android:exported="true"
|
|
android:label="@*lineageos.platform:string/live_display_title"
|
|
android:targetActivity="PartsActivity">
|
|
<intent-filter>
|
|
<action android:name="com.android.settings.action.IA_SETTINGS" />
|
|
<action android:name="org.lineageos.lineageparts.LIVEDISPLAY_SETTINGS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="com.android.settings.category"
|
|
android:value="com.android.settings.category.ia.display" />
|
|
<meta-data
|
|
android:name="com.android.settings.group_key"
|
|
android:value="category_key_color" />
|
|
<meta-data
|
|
android:name="com.android.settings.order"
|
|
android:value="-10" />
|
|
<meta-data
|
|
android:name="com.android.settings.profile"
|
|
android:value="primary_profile_only" />
|
|
<meta-data
|
|
android:name="com.android.settings.summary"
|
|
android:resource="@string/live_display_summary" />
|
|
</activity-alias>
|
|
|
|
<!-- Button settings (System category) -->
|
|
<activity-alias
|
|
android:name=".input.ButtonSettings"
|
|
android:exported="true"
|
|
android:label="@string/button_pref_title"
|
|
android:targetActivity="PartsActivity">
|
|
<intent-filter>
|
|
<action android:name="com.android.settings.action.IA_SETTINGS" />
|
|
<action android:name="org.lineageos.lineageparts.BUTTON_SETTINGS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="com.android.settings.category"
|
|
android:value="com.android.settings.category.ia.system" />
|
|
<meta-data
|
|
android:name="com.android.settings.icon"
|
|
android:resource="@drawable/ic_settings_buttons" />
|
|
<meta-data
|
|
android:name="com.android.settings.icon_tintable"
|
|
android:value="true" />
|
|
<meta-data
|
|
android:name="com.android.settings.order"
|
|
android:value="-256" />
|
|
<meta-data
|
|
android:name="com.android.settings.profile"
|
|
android:value="primary_profile_only" />
|
|
<meta-data
|
|
android:name="com.android.settings.summary"
|
|
android:resource="@string/summary_empty" />
|
|
</activity-alias>
|
|
|
|
<activity android:name=".gestures.KeyHandler" />
|
|
|
|
<!-- Profiles settings (System category) -->
|
|
<activity-alias
|
|
android:name=".profiles.ProfilesSettings"
|
|
android:exported="true"
|
|
android:label="@string/profiles_settings_title"
|
|
android:targetActivity="PartsActivity">
|
|
<intent-filter>
|
|
<action android:name="com.android.settings.action.IA_SETTINGS" />
|
|
<action android:name="org.lineageos.lineageparts.PROFILES_SETTINGS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="com.android.settings.category"
|
|
android:value="com.android.settings.category.ia.system" />
|
|
<meta-data
|
|
android:name="com.android.settings.icon"
|
|
android:resource="@drawable/ic_settings_profiles" />
|
|
<meta-data
|
|
android:name="com.android.settings.icon_tintable"
|
|
android:value="true" />
|
|
<meta-data
|
|
android:name="com.android.settings.order"
|
|
android:value="-255" />
|
|
<meta-data
|
|
android:name="com.android.settings.profile"
|
|
android:value="primary_profile_only" />
|
|
<meta-data
|
|
android:name="com.android.settings.summary"
|
|
android:resource="@string/summary_empty" />
|
|
</activity-alias>
|
|
|
|
<!-- Rotation settings -->
|
|
<activity-alias
|
|
android:name=".hardware.DisplayRotation"
|
|
android:exported="true"
|
|
android:targetActivity="PartsActivity">
|
|
<intent-filter>
|
|
<action android:name="org.lineageos.lineageparts.DISPLAY_ROTATION" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity-alias>
|
|
|
|
<!-- Status bar settings (System category) -->
|
|
<activity-alias
|
|
android:name=".statusbar.StatusBarSettings"
|
|
android:exported="true"
|
|
android:label="@string/status_bar_title"
|
|
android:targetActivity="PartsActivity">
|
|
<intent-filter>
|
|
<action android:name="com.android.settings.action.IA_SETTINGS" />
|
|
<action android:name="org.lineageos.lineageparts.STATUS_BAR_SETTINGS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="com.android.settings.category"
|
|
android:value="com.android.settings.category.ia.system" />
|
|
<meta-data
|
|
android:name="com.android.settings.icon"
|
|
android:resource="@drawable/ic_settings_statusbar" />
|
|
<meta-data
|
|
android:name="com.android.settings.icon_tintable"
|
|
android:value="true" />
|
|
<meta-data
|
|
android:name="com.android.settings.order"
|
|
android:value="-254" />
|
|
<meta-data
|
|
android:name="com.android.settings.profile"
|
|
android:value="primary_profile_only" />
|
|
<meta-data
|
|
android:name="com.android.settings.summary"
|
|
android:resource="@string/summary_empty" />
|
|
</activity-alias>
|
|
|
|
<!-- Touchscreen gesture settings (Gestures category) -->
|
|
<activity-alias
|
|
android:name=".gestures.TouchscreenGestureSettings"
|
|
android:exported="true"
|
|
android:label="@string/touchscreen_gesture_settings_title"
|
|
android:targetActivity="PartsActivity">
|
|
<intent-filter>
|
|
<action android:name="com.android.settings.action.IA_SETTINGS" />
|
|
<action android:name="org.lineageos.lineageparts.TOUCHSCREEN_GESTURE_SETTINGS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="com.android.settings.category"
|
|
android:value="com.android.settings.category.ia.gestures" />
|
|
<meta-data
|
|
android:name="com.android.settings.order"
|
|
android:value="-256" />
|
|
<meta-data
|
|
android:name="com.android.settings.profile"
|
|
android:value="primary_profile_only" />
|
|
<meta-data
|
|
android:name="com.android.settings.summary"
|
|
android:resource="@string/touchscreen_gesture_settings_summary" />
|
|
</activity-alias>
|
|
|
|
<!-- Contributors Cloud (MyDeviceInfo category) -->
|
|
<activity-alias
|
|
android:name=".contributors.ContributorsCloudFragment"
|
|
android:exported="true"
|
|
android:label="@string/contributors_cloud_fragment_title"
|
|
android:targetActivity="PartsActivity">
|
|
<intent-filter>
|
|
<action android:name="com.android.settings.action.IA_SETTINGS" />
|
|
<action android:name="org.lineageos.lineageparts.CONTRIBUTORS_CLOUD" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="com.android.settings.category"
|
|
android:value="com.android.settings.category.ia.my_device_info" />
|
|
<meta-data
|
|
android:name="com.android.settings.group_key"
|
|
android:value="legal_category" />
|
|
<meta-data
|
|
android:name="com.android.settings.order"
|
|
android:value="18" />
|
|
<meta-data
|
|
android:name="com.android.settings.profile"
|
|
android:value="primary_profile_only" />
|
|
<meta-data
|
|
android:name="com.android.settings.summary"
|
|
android:resource="@string/summary_empty" />
|
|
</activity-alias>
|
|
|
|
<!-- Anonymous Statistics -->
|
|
<receiver
|
|
android:name=".lineagestats.ReportingServiceManager"
|
|
android:enabled="true"
|
|
android:exported="false"
|
|
android:label="ReportingServiceManager">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
<action android:name="org.lineageos.lineageparts.action.TRIGGER_REPORT_METRICS" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<service
|
|
android:name=".lineagestats.ReportingService"
|
|
android:enabled="true"
|
|
android:exported="false"
|
|
android:label="ReportingService" />
|
|
|
|
<service
|
|
android:name=".lineagestats.StatsUploadJobService"
|
|
android:permission="android.permission.BIND_JOB_SERVICE" />
|
|
|
|
<activity
|
|
android:name=".profiles.NFCProfile"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:mimeType="lineage/profile" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity
|
|
android:name=".profiles.NFCProfileSelect"
|
|
android:excludeFromRecents="true"
|
|
android:label="@string/profile_select" />
|
|
|
|
<activity
|
|
android:name=".logo.PlatLogoActivity"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:exported="true"
|
|
android:theme="@style/EggStyle">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity
|
|
android:name=".egg.octo.Ocquarium"
|
|
android:exported="true"
|
|
android:label="@string/egg_title"
|
|
android:theme="@style/EggStyle">
|
|
<intent-filter>
|
|
<action android:name="org.lineageos.lineageparts.EASTER_EGG" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="com.android.internal.category.PLATLOGO" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
</application>
|
|
</manifest>
|