Commit Graph

142025 Commits

Author SHA1 Message Date
Treehugger Robot
62db4b3a4d Merge "Add mandatory biometric prompt to platform surfaces (1/N)" into main 2024-07-02 02:50:08 +00:00
Bill Yi
374b49a643 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I11df66e66004e4410bd0dd61f6b0ec4624e11bd9
2024-07-01 19:06:49 -07:00
Bill Yi
4a58c5d213 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I494efeb54bf966c185541e08fc369e4b5a51c2a8
2024-07-01 19:05:52 -07:00
Bill Yi
2c4245015f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib06a8a8e61cb568f14a78675a6b647d101f0e500
2024-07-01 19:03:47 -07:00
Bill Yi
c6dc59e1a3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I041b3dffa4ff1541837e4d6a552170888c21808f
2024-07-01 19:01:41 -07:00
Bill Yi
8f794e6c05 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9323a95a45a6d349811a8694735344ba0df24cdc
2024-07-01 19:00:05 -07:00
Bill Yi
1fd1201d42 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I00511e116b9ca82ff0e69e1c919c3cceafc35935
2024-07-01 18:59:12 -07:00
Bill Yi
adb91863c4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib378e8f781250b9c4319440483f8e37e1d71acf8
2024-07-01 18:57:41 -07:00
Bill Yi
d141c167f0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iac0048ec09af4267bd4041ed2c9f4eb831fd5f9c
2024-07-01 18:56:06 -07:00
songferngwang
083fda3673 Fix MobileNetworkSettings kotlin.UninitializedPropertyAccessException
Bug: 332477183
Test: atest MmsMessagePreferenceControllerTest

Change-Id: I849ca0f333f5246d73192ae4180b3f3ce3946d61
(cherry picked from commit 34cec1389e)
2024-07-02 01:05:11 +00:00
Diya Bera
049de84f2d Add mandatory biometric prompt to platform surfaces (1/N)
1. Face settings
2. Fingerprint settings
3. Change device credential

Flag: android.hardware.biometrics.Flags.MANDATORY_BIOMETRICS
Bug: 339910718
Test: atest UtilsTest

Change-Id: I69778d1733ea9fb312e7c26ae0fa23b6008dde5d
2024-07-01 21:35:19 +00:00
Richard MacGregor
90d327f014 Merge "Cleanup privacy hub related flags" into main 2024-07-01 20:53:59 +00:00
Alina Zaidi
50e0a53b1c Merge "[Dev option] Add a dev option to enable DW." into main 2024-07-01 19:54:09 +00:00
Riley Jones
8f313621aa Refactoring Accessibility settings to use ShortcutConstants.UserShortcutType
This removes AccessibilityUtil.UserShortcutType,
replacing all mention of it with ShortcutConstants.UserShortcutType

NO_IFTTT=UI order not changed
Test: atest com.android.settings.accessibility
Bug: 322014084
Flag: EXEMPT internal refactoring

Change-Id: I18695d040c4bd08a455143594e770adda2b1a8de
2024-07-01 19:42:32 +00:00
Steve Statia
74670e4923 Fix to hide Display over other apps permission setting for the Scone
application.

Bug: 349195999
Test: manually testing that the setting is removed from Adaptive
Connectivity Services advanced settings page.

Change-Id: I3f306d24040f500c7fed4f44309e9f58f5f766be
Merged-In: I3f306d24040f500c7fed4f44309e9f58f5f766be
2024-07-01 19:28:06 +00:00
Alina Zaidi
d98058c4b7 [Dev option] Add a dev option to enable DW.
Default value of this dev options solely depends on
enable_desktop_windowing_mode, which is intended

Toggle is shown only if DW is eligible on device

Currently this option only overrides features guarded by
enable_desktop_windowing_mode, later on it will be used to override a
few other DW features

Test: Added tests. Locally tested CUJs
Bug: 348186127
Bug: 348193756
Flag: com.android.window.flags.show_desktop_windowing_dev_option

Change-Id: I1c1f946b586a5ca0440b29879925ba1a624717aa
2024-07-01 17:23:20 +00:00
Steve Statia
d26521f7bb Merge "Fix to hide Display over other apps permission setting for the Scone application." into main 2024-07-01 17:18:23 +00:00
Julia Reynolds
2956baaf51 Show bundles separately from other channels
Fixes: 346612561
Test: BundleListPreferenceControllerTest
Flag: android.service.notification.notification_classification
Change-Id: I2371219822f6a777788147e8249ca1e3b29d40ba
2024-07-01 12:56:41 -04:00
Yuri Lin
3731d3e8ee Merge "Link to app-provided configuration intent for app-owned rules." into main 2024-07-01 16:22:16 +00:00
yyalan
dc9701f427 Launch oobe from Settings
Bug: 344860480
Flag: com.android.systemui.shared.new_touchpad_gestures_tutorial
Test: Manual
Change-Id: Iabc155d2f99717c6489308ffb1e63ef4e59f0332
2024-07-01 15:35:55 +00:00
Yuri Lin
21539cd2be Link to app-provided configuration intent for app-owned rules.
If there is no valid intent, the automatic trigger preference is disabled.

Flag: android.app.modes_ui
Bug: 341961712
Test: manual (for Bedtime & Driving modes), ZenModeSetTriggerLinkPreferenceControllerTest

Change-Id: I673792effb3cfdcaaa7cf85adfb55a93b44dcc86
2024-07-01 14:50:35 +00:00
mxyyiyi
a954e914dd Add a flag to protect overwrite app optimization mode to restricted mode.
- Skip set app optimization mode to restricted if the flag disabled.

Bug: 348192536
Fix: 348192536
Test: atest
Flag: EXEMPT bug fix
Change-Id: I92d320ce1edfe9b7044afdcd058651b0d54bd6bd
2024-07-01 17:38:50 +08:00
YK Hung
90acfa757a Merge "Exclude charging period when calculate the reattribute duration (5/5)" into main 2024-07-01 09:11:31 +00:00
Wilson Wu
483d90b552 Simplify default keyboard vibration settings value
CL[1] remove the default keyboard vibration state
device config, use the fixed value in the controller.

[1]: I9060fbc83087599fa0d9a56be3de27a2dcf15a94

Flag: EXEMPT refactor
Bug: 332660772
Test: atest KeyboardVibrationTogglePreferenceControllerTest
Change-Id: I7e5a195047e96582bd80898134051924c0ad72ab
2024-07-01 08:06:41 +00:00
SongFerng Wang
183a191cbf Merge "Add condition for askEveryTime of SMS at Primary Sim" into main 2024-07-01 08:01:50 +00:00
Yiyi Shen
07a346fcf5 Fix dup preference key on Connected devices page
Use different key (prefix + CacheBluetooothDevice hash) for
each BluetoothDevicePreference to avoid Java crash due to "Two different
ViewHolders have the same change ID".

Test: atest
Fix: 325831741
Flag: EXEMPT safe fix only change preference key string
Change-Id: Ic993f3cab206b794045c2f46e6b4b376bfa3adea
2024-07-01 15:32:34 +08:00
YK Hung
29f73d68fe Exclude charging period when calculate the reattribute duration (5/5)
Bug: 346706894
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage
Flag: EXEMPT bug fix
Change-Id: Icc9a475a71f189e72bf06f9a0b4c23380a90a603
2024-07-01 06:34:46 +00:00
Wilson Wu
789aacf499 Clean up the keyboard vibration config
-. Remove the device config in Settings
-. Use the new config in frameworks/base

Flag: EXEMPT refactor
Bug: 332661307
Test: atest KeyboardVibrationTogglePreferenceControllerTest
Change-Id: I2fe70d830d55ec6f33597fbe0ed107b41eb3bdd7
2024-07-01 03:09:56 +00:00
Treehugger Robot
1d838f62ea Merge "Fix UI issues in localization" into main am: ce20ff98e3 am: 97f101474a
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3151118

Change-Id: Ie31bd52681f014bc6166ab0409cdf2ec55b2f0fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-28 22:43:41 +00:00
Treehugger Robot
97f101474a Merge "Fix UI issues in localization" into main am: ce20ff98e3
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3151118

Change-Id: If588199369afe82c6c84a1772bba2462997a70b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-28 22:20:43 +00:00
Steve Statia
2a3e96b4b5 Fix to hide Display over other apps permission setting for the Scone
application.

Flag: EXEMPT bugfix

Bug: 349195999
Test: manually testing that the setting is removed from Adaptive
Connectivity Services advanced settings page.

Change-Id: I3f306d24040f500c7fed4f44309e9f58f5f766be
2024-06-28 22:12:50 +00:00
Treehugger Robot
ce20ff98e3 Merge "Fix UI issues in localization" into main 2024-06-28 22:04:35 +00:00
Richard MacGregor
e43c42e211 Cleanup privacy hub related flags
Remove privacy_hub_enabled, which has been default true

Flag: NONE removing default on legacy flag
Bug: 301647969
Test: manual
Change-Id: Icaea6253298efaa3444fa4142ce42ffefd159fd5
2024-06-28 14:54:15 -07:00
Qiang Chen
9507c61155 Settings: Adapt edge-to-edge enforcement
Android 15 enables edge-to-edge by default. WI-FI info should do the
adaptation, or not some UIs may be obscured by system bars.

Apply window insets for WifiConfigInfo and WifiStatusTest activity
content layout.

Bug: 340713923
Test: Manaul

Change-Id: Iecaadfa1be55544809b240df9c2097e3b4d053f9
2024-06-28 12:44:24 +05:30
Kyle Zhang
febb0822a0 Merge "Keep FakeFeatureFlagsImpl" into main 2024-06-28 05:25:10 +00:00
Chaohui Wang
d101f2d154 Merge "Clean up MobileNetworkInfoEntity unused fields" into main 2024-06-28 05:18:07 +00:00
songferngwang
1892d20ce8 Add condition for askEveryTime of SMS at Primary Sim
Using the config_sms_ask_every_time_support control the askEveryTime

Bug: 349169874
Test: atest PrimarySimRepositoryTest
Flag: EXEMPT bugfix

Change-Id: Ida82ed3a6b5264f8d8c5997584e9fd27f25bf09f
2024-06-28 05:17:38 +00:00
Chaohui Wang
6afb2f3006 Merge "Not use SubscriptionInfoEntity in DataUsageList" into main 2024-06-28 05:14:06 +00:00
Chaohui Wang
e25c208277 Merge "Migrate SearchFeatureProviderImpl to Kotlin" into main 2024-06-28 02:39:20 +00:00
Lyn Han
48576381cf Merge "Bind action to fragment: adaptive notif settings" into main 2024-06-28 00:54:37 +00:00
Pajace Chen
b83151f324 Merge "[Bug Fix] "Dock defend string and tips in settings are incorrectly" issue" into main 2024-06-28 00:39:12 +00:00
Treehugger Robot
bdd205e1b4 Merge "fix TrustAgentsPreferenceControllerTest" into main 2024-06-27 20:15:46 +00:00
Pawan Wagh
234872e187 Fix UI issues in localization
- Some of the locales don't display entire text and BigTextStyle doesn't
display ellipsis for them. Removing bigText.
- Fixing strings to display 4KB
- Reduce string for bootloader unlock title

Bug: 345291007
Bug: 343893991
Bug: 343815951
Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Flag: EXEMPT bugfix
Change-Id: I3e5bf9bf70be1240cfe7d3a381bb8fef62ce2efa
2024-06-27 19:49:38 +00:00
Billy Huang
dd0ae72eb9 fix TrustAgentsPreferenceControllerTest
Removed non-platform Robolectric shadow in favor of setting up fake
package/services directly with ShadowApplicationPackageManager.

Bug: 313612480
Test: atest "SettingsRoboTests:TrustAgentsPreferenceControllerTest" --host
Flag: TEST_ONLY
Change-Id: Iadcb5bcb977201e2f394b699621bfb34657a7820
2024-06-27 19:21:22 +00:00
Yuri Lin
978cba142a Merge "Migrate "duration for quick settings" to new modes page." into main 2024-06-27 18:22:39 +00:00
Joshua Mccloskey
b5bf28f697 Merge "Added flag to biometric environment" into main 2024-06-27 17:58:06 +00:00
Yuri Lin
c1a4abbc51 Migrate "duration for quick settings" to new modes page.
This mostly continues to use the existing dialogs in settingslib (ZenDurationDialog, SettingsEnableZenModeDialog) and creates a controller to read from the settings value.

Also updates the "turn on / turn off" button to respect the preferred duration.

Flag: android.app.modes_ui
Bug: 343444249
Test: ZenModeButtonPreferenceControllerTest, ManualDurationPreferenceControllerTest
Change-Id: I2fd49a79d9a5807fefdd7ec310a6cc60d70f9bb1
2024-06-27 12:48:27 -04:00
pajacechen
daeb06c3b0 [Bug Fix] "Dock defend string and tips in settings are incorrectly" issue
Symptom: After the dock defend was triggered, the battery tips still
show "Future-Bypass" dock defend mode. It should be the "Active" dock
defend mode.

Root Cause: The original `BatteryInfo.isBatteryDefender` was implemented
by using `longlife`, due to the charging limit also reuse `longlife`
issue, we replace the implementation of `BatteryInfo.isBatteryDefender`
with HAL API call `isTempDefend` and `isDwellDefend`. However, the
dock defend also needs `longlife`, the original
`BatteryInfo.isBatteryDefender`. So the dock defend checking failed
after replacing the implementation of `BatteryInfo.isBatteryDefender`

Solution:
- Add new property isLonglife in BatteryInfo
- Replace all isBatteryDefender reference that needs isLonglife

Bug: 348563863
Test: Manual Test and robotest
Test: http://ab/I08300010291126076 (unit test)
Test: http://ab/I67800010291096764 (robo test)
Flag: EXEMPT bugfix
Change-Id: I58424927522acc29dc49261a2c24829a5b34ef85
2024-06-27 23:19:08 +08:00
Chaohui Wang
75a382fc46 Migrate SearchFeatureProviderImpl to Kotlin
This is no-op.

Bug: 346776183
Flag: EXEMPT refactor
Test: manual - do settings search
Change-Id: I5c113f6ed5db1401e1d237f0022ab6dccde8d060
2024-06-27 14:11:02 +00:00
Chaohui Wang
03e9188830 Merge "Export SpaDestination.startFromExportedActivity" into main 2024-06-27 14:09:42 +00:00