Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commits on Source (297)
stages:
- build
image:
name: registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:latest
entrypoint: [""]
variables:
REPO_BRANCH: eelo-0.2
REPO_DIRECTORY: EELO_0_2
REPO_URL: https://gitlab.e.foundation/e/os/android.git
PROJECT_PATH: packages/apps/Settings
build_module:
variables:
GIT_STRATEGY: none
stage: build
script:
- cd /srv/src/${REPO_DIRECTORY}
- source build/envsetup.sh
- mka clean
- repo init -u "${REPO_URL}" -b "${REPO_BRANCH}"
- repo sync --force-sync -d
- cd packages/apps/Settings
- git fetch e
- git checkout ${CI_COMMIT_SHA}
- mma
- repo sync --force-sync -d .
- mka clean
......@@ -36,7 +36,8 @@ LOCAL_JAVA_LIBRARIES := \
LOCAL_STATIC_JAVA_LIBRARIES := \
jsr305 \
settings-logtags
settings-logtags \
org.lineageos.platform.internal
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
......
......@@ -88,7 +88,7 @@
<uses-permission android:name="android.permission.NETWORK_SETTINGS" />
<application android:label="@string/settings_label"
android:icon="@drawable/ic_launcher_settings"
android:icon="@mipmap/ic_launcher"
android:taskAffinity=""
android:theme="@style/Theme.Settings"
android:hardwareAccelerated="true"
......@@ -1207,11 +1207,10 @@
</intent-filter>
</activity>
<!--
<activity android:name="Settings$AppOpsSummaryActivity"
android:label="@string/app_ops_settings"
android:label="@*lineageos.platform:string/privacy_guard_manager_title"
android:taskAffinity=""
android:enabled="false">
android:excludeFromRecents="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.APP_OPS_SETTINGS" />
......@@ -1222,7 +1221,6 @@
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.applications.AppOpsSummary" />
</activity>
-->
<activity android:name="Settings$BackgroundCheckSummaryActivity"
android:label="@string/background_check_title"
......@@ -1236,6 +1234,30 @@
android:value="com.android.settings.applications.BackgroundCheckSummary" />
</activity>
<!-- Still need a top-level activity for showing app ops details. Aliasing
trick is so the code that is now a fragment can still be called
AppOpsDetails. -->
<activity android:name=".applications.AppOpsDetailsTop"
android:label="@*lineageos.platform:string/privacy_guard_manager_title"
android:exported="true"
android:taskAffinity=""
android:excludeFromRecents="true"
android:parentActivityName="Settings$AppOpsSummaryActivity">
</activity>
<!-- Keep compatibility with old shortcuts. -->
<activity-alias android:name=".applications.AppOpsDetails"
android:label="@*lineageos.platform:string/privacy_guard_manager_title"
android:exported="true"
android:excludeFromRecents="true"
android:targetActivity=".applications.AppOpsDetailsTop">
<intent-filter>
<action android:name="android.settings.APP_OPS_DETAILS_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="package" />
</intent-filter>
</activity-alias>
<activity android:name="Settings$LocationSettingsActivity"
android:label="@string/location_settings_title"
android:icon="@drawable/ic_settings_location"
......@@ -1258,7 +1280,7 @@
</activity>
<activity android:name="Settings$SecuritySettingsActivity"
android:label="@string/security_settings_title"
android:label="@string/security_privacy_settings_title"
android:icon="@drawable/ic_settings_security"
android:configChanges="orientation|keyboardHidden|screenSize"
android:taskAffinity=""
......@@ -1316,7 +1338,7 @@
<!-- Keep compatibility with old shortcuts. -->
<activity-alias android:name="SecuritySettings"
android:label="@string/security_settings_title"
android:label="@string/security_privacy_settings_title"
android:configChanges="orientation|keyboardHidden|screenSize"
android:exported="true"
android:targetActivity="Settings$SecuritySettingsActivity">
......@@ -1727,6 +1749,10 @@
android:taskAffinity="com.android.wizard"
android:theme="@style/GlifTheme.Light" />
<activity android:name=".password.ChooseLockPatternSize"
android:exported="false"
android:theme="@style/GlifTheme.Light" />
<activity android:name=".password.ChooseLockPattern"
android:exported="false"
android:theme="@style/GlifTheme.Light" />
......@@ -1983,15 +2009,6 @@
android:value="com.android.settings.print.PrintJobSettingsFragment" />
</activity>
<!-- Keep compatibility with old shortcuts. -->
<activity-alias android:name="DevelopmentSettings"
android:exported="true"
android:label="@string/development_settings_title"
android:targetActivity="Settings$DevelopmentSettingsActivity">
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.development.DevelopmentSettings" />
</activity-alias>
<activity android:name=".development.AppPicker"
android:label="@string/select_application"
android:theme="@android:style/Theme.DeviceDefault.Light.Dialog" />
......@@ -2378,11 +2395,11 @@
android:label="@string/crypt_keeper_encrypt_title">
<intent-filter android:priority="1">
<action android:name="android.app.action.START_ENCRYPTION" />
<category android:name="android.intent.category.DEFAULT" /> />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" /> />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.CryptKeeperSettings" />
......@@ -2509,8 +2526,8 @@
<activity android:name=".nfc.HowItWorks"
android:label="@string/nfc_payment_settings_title"
android:excludeFromRecents="true"
android:parentActivityName="Settings$PaymentSettingsActivity">
android:excludeFromRecents="true">
</activity>
<activity android:name=".SmsDefaultDialog"
......@@ -3292,6 +3309,22 @@
</intent-filter>
</activity>
<!-- /e/ specific changes -->
<activity android:name="Settings$MicroGActivity"
android:label="@string/micro_g"
android:icon="@drawable/ic_microg_settings">
<intent-filter android:priority="1">
<action android:name="android.settings.MICROG_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="com.android.settings.action.SETTINGS" />
</intent-filter>
<meta-data android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.homepage" />
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.MicroGSettings" />
</activity>
<!-- This is the longest AndroidManifest.xml ever. -->
</application>
</manifest>
......@@ -20,6 +20,8 @@
*** get*();
}
-keep class com.android.settings.lineageos.*Settings
# Keep classes that may be inflated from XML.
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet);
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 The Android Open Source Project
<!-- Copyright (C) 2014 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.
......@@ -13,8 +13,9 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<com.android.settings.display.AppGridView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:importantForAccessibility="noHideDescendants" />
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="#24000000" />
<item android:color="#8a000000" />
</selector>
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2017 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="96dp"
android:height="96dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?android:attr/colorControlNormal">
<path
android:fillColor="#000000"
android:pathData="M15.5,14h-0.79l-0.28-0.27c1.2-1.4,1.82-3.31,1.48-5.34c-0.47-2.78-2.79-5-5.59-5.34c-4.23-0.52-7.79,3.04-7.27,7.27
c0.34,2.8,2.56,5.12,5.34,5.59c2.03,0.34,3.94-0.28,5.34-1.48L14,14.71v0.79l5.2,5.19c0.41,0.41,1.07,0.41,1.48,0l0.01-0.01
c0.41-0.41,0.41-1.07,0-1.48L15.5,14z M9.5,14C7.01,14,5,11.99,5,9.5S7.01,5,9.5,5S14,7.01,14,9.5S11.99,14,9.5,14z" />
</vector>
\ No newline at end of file
......@@ -18,7 +18,7 @@
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0"
android:tint="?android:attr/colorControlNormal">
android:tint="@color/green_1">
<path
android:pathData="M20.8,13.56L13.5,9V3.5C13.5,2.67,12.83,2,12,2s-1.5,0.67-1.5,1.5V9l-7.3,4.56c-0.43,0.27-0.7,0.75-0.7,1.27v0.49
c0,0.34,0.33,0.58,0.65,0.48l7.35-2.3V19l-1.6,1.2c-0.25,0.19-0.4,0.49-0.4,0.8v0.67c0,0.17,0.14,0.28,0.31,0.24
......
......@@ -18,7 +18,7 @@
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0"
android:tint="?android:attr/colorControlNormal">
android:tint="@color/blue_1">
<path
android:pathData="M6 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6 12c1.1 0 2-.9 2-2s-.9-2-2-2-2
.9-2 2 .9 2 2 2zm-6 0c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0-6c1.1 0 2-.9
......
<!--
Copyright (C) 2014 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="32.0dp"
android:height="32.0dp"
android:viewportWidth="48.0"
android:viewportHeight="48.0"
android:tint="@color/red_1">
<path
android:fillColor="@color/black"
android:pathData="M44.0,11.44l-9.19,-7.71 -2.57,3.06 9.19,7.71 2.57,-3.06zm-28.24,-4.66l-2.57,-3.06 -9.19,7.71 2.57,3.06 9.19,-7.71zm9.24,9.22l-3.0,0.0l0.0,12.0l9.49,5.71 1.51,-2.47 -8.0,-4.74l0.0,-10.5zm-1.01,-8.0c-9.95,0.0 -17.99,8.06 -17.99,18.0s8.04,18.0 17.99,18.0 18.01,-8.06 18.01,-18.0 -8.06,-18.0 -18.01,-18.0zm0.01,32.0c-7.73,0.0 -14.0,-6.27 -14.0,-14.0s6.27,-14.0 14.0,-14.0 14.0,6.27 14.0,14.0 -6.26,14.0 -14.0,14.0z"/>
</vector>