Skip to content

Commit

Permalink
Merge TP1A.211006.001
Browse files Browse the repository at this point in the history
Change-Id: I1590652e7110895dd5d7c021048d56aa53c5e9fe
  • Loading branch information
Deyao Ren authored and haamed committed Oct 21, 2021
2 parents f38219d + 6bc771c commit 171c2a4
Show file tree
Hide file tree
Showing 535 changed files with 25,360 additions and 15,337 deletions.
12 changes: 11 additions & 1 deletion Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ android_library {
"btadva_settings_java_defaults",
],

srcs: ["src/**/*.java"],
srcs: ["src/**/*.java", "src/**/*.kt"],

static_libs: [
"androidx-constraintlayout_constraintlayout",
Expand Down Expand Up @@ -97,6 +97,7 @@ android_library {
"android.hardware.dumpstate-V1.1-java",
"lottie",
"WifiTrackerLib",
"windowExtLib",
],

libs: [
Expand Down Expand Up @@ -127,6 +128,10 @@ android_app {
],
static_libs: ["Settings-core"],
uses_libs: ["org.apache.http.legacy"],
optional_uses_libs: [
"androidx.window.extensions",
"androidx.window.sidecar",
],
resource_dirs: [],
optimize: {
proguard_flags_files: ["proguard.flags"],
Expand All @@ -141,6 +146,11 @@ android_library_import {
aars: ["libs/contextualcards.aar"],
}

android_library_import {
name: "windowExtLib",
aars: ["libs/window_ext_lib.aar"],
}

filegroup {
name: "Settings_proguard_flags",
srcs: ["proguard.flags"],
Expand Down
28 changes: 21 additions & 7 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,12 @@
<uses-permission android:name="android.permission.READ_DREAM_SUPPRESSION" />
<uses-permission android:name="android.permission.MANAGE_APP_HIBERNATION" />
<uses-permission android:name="com.qualcomm.qti.permission.USE_EXT_TELEPHONY_SERVICE" />
<uses-permission android:name="android.permission.LAUNCH_TWO_PANE_SETTINGS_DEEP_LINK" />
<uses-permission android:name="android.permission.ALLOW_PLACE_IN_TWO_PANE_SETTINGS" />

<application android:label="@string/settings_label"
<application
android:name=".SettingsApplication"
android:label="@string/settings_label"
android:icon="@drawable/ic_launcher_settings"
android:theme="@style/Theme.Settings"
android:hardwareAccelerated="true"
Expand All @@ -127,6 +131,7 @@

<uses-library android:name="org.apache.http.legacy" />
<uses-library android:name="com.qti.extphone.extphonelib"/>

<!-- Settings -->

<activity android:name=".homepage.SettingsHomepageActivity"
Expand All @@ -135,7 +140,7 @@
android:taskAffinity="com.android.settings.root"
android:launchMode="singleTask"
android:exported="true"
android:configChanges="keyboard|keyboardHidden">
android:configChanges="keyboard|keyboardHidden|screenSize|screenLayout">
<intent-filter android:priority="1">
<action android:name="android.settings.SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
Expand Down Expand Up @@ -173,6 +178,18 @@
<meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts"/>
</activity-alias>

<!-- Alias for SettingsHomepageActivity which works for deep link page in 2-panel. -->
<activity-alias android:name="DeepLinkHomepageActivity"
android:label="@string/settings_label_launcher"
android:exported="true"
android:permission="android.permission.LAUNCH_TWO_PANE_SETTINGS_DEEP_LINK"
android:targetActivity=".homepage.SettingsHomepageActivity">
<intent-filter>
<action android:name="android.settings.SETTINGS_LARGE_SCREEN_DEEP_LINK" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity-alias>

<receiver android:name=".SettingsInitialize"
android:exported="true">
<intent-filter>
Expand Down Expand Up @@ -1753,11 +1770,6 @@
android:value="true" />
</activity>

<activity
android:name=".SettingsTutorialDialogWrapperActivity"
android:theme="@style/Theme.AlertDialog"
android:exported="false"/>

<activity
android:name="Settings$TextToSpeechSettingsActivity"
android:exported="true"
Expand Down Expand Up @@ -2231,6 +2243,8 @@
<activity android:name=".development.AppPicker"
android:label="@string/select_application" />

<activity android:name=".development.AdbQrCodeActivity" />

<activity android:name=".development.DSULoader"
android:label="Select DSU Package"
android:theme="@android:style/Theme.DeviceDefault.Light.Dialog" />
Expand Down
Loading

0 comments on commit 171c2a4

Please sign in to comment.