Commit Graph

138731 Commits

Author SHA1 Message Date
Bill Yi
2b26b470ec Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2023-12-27 22:26:10 +00:00
Varun Somani
e69e72b1e4 ARC++ PH: Location UI Changes
UI changes for privacy hub to disable location settings if setting is
managed by Chrome and feature is turned on.

Bug: 265471993
Test: Manual

Change-Id: I55ba35493d27a8a545765c5602a76dc124c24d98
(cherry picked from commit 1795f20cc54528a11fd0f2f72a9f782c64245eb0)
2023-12-27 19:37:51 +00:00
Treehugger Robot
0e06ac3b9a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod am: 705aa21688 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/25754408

Change-Id: Iebbdfc85a28d5211300202f3ac744915d41c0690
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-27 19:28:50 +00:00
Bill Yi
9ce50f7404 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: bfec86e15b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/25754408

Change-Id: I481f145e0337fb3e695412ba8b8a463ef8bf2331
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-27 19:28:39 +00:00
Bill Yi
8b3613a562 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2b53e8a13c -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/25754869

Change-Id: I06ef3eb6cda5a85e3bcfed41cc4ebc69011c0172
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-27 19:27:06 +00:00
Treehugger Robot
705aa21688 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod 2023-12-27 18:50:52 +00:00
Bill Yi
6c5d56fe64 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-12-27 18:46:44 +00:00
Bill Yi
60ef28393b Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-12-27 18:46:44 +00:00
Bill Yi
ccbfb77a03 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-12-27 18:46:44 +00:00
Manish Singh
dbb2337ce0 Fix title for work and private profiles
For some languages UserManager#getBadgedLabelForUser does not return
the correct string for the context.

Bug: 315082416
Test: manual
Change-Id: I376d1ad4eafd1ba5f3db2c32c9fddb81bbde2dd2
2023-12-27 10:43:23 +00:00
mxyyiyi
06fa244255 Update action log metircs of app optimize mode.
Bug: 317329360
Test: manual
Change-Id: Id4cd610a5bcc7988ecbd4545f5ef77a5253aac33
2023-12-27 14:13:25 +08:00
Bill Yi
7d62083085 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idf84f378f3b906951a36c3c61ef7e9da9dbd9092
2023-12-26 16:29:46 -08:00
Bill Yi
37f457001c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I152d4e5cc4c13435d6d03413e6410770c156274a
2023-12-26 16:28:57 -08:00
Bill Yi
fa1bfc7d04 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If2aa5e6d3d7c3c72f973ab142ac09dccfa4703ef
2023-12-26 16:26:50 -08:00
Bill Yi
da78fd0ede Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I80aae354efe89ddafc6fe9c901ef5b35e8d3b02c
2023-12-26 16:25:02 -08:00
Bill Yi
7af5937f90 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I21ddd8b4ba7ef60791f304d38a466d80d6ec3073
2023-12-26 16:23:29 -08:00
Bill Yi
2974a8bbb3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id4a99ed0d563a8ea6bbd76e183be6651253bbce4
2023-12-26 16:22:41 -08:00
Bill Yi
2b53e8a13c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3ab35e8d02e94b217517dd2d47b271bdb5930e78
2023-12-26 16:21:12 -08:00
Bill Yi
bfec86e15b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I37390918141b3ea7ed34c6f7b0c7fd7d6081536b
2023-12-26 16:19:43 -08:00
Varun Somani
a579912892 Merge changes from topic "cherrypicker-L33700000962584268:N96700001396822390" into main
* changes:
  ARC: Follow-up fix AndroidLint error
  ARC: Show location services setting in ARC-T
2023-12-26 20:26:40 +00:00
Jason Chiu
ced0c1d038 [automerger skipped] Merge "Finish HomepageActivity when it's not the root of a task and not singleTask." into main am: 4f4bb89a23 am: 36dc648ca5 am: 2a29d67710 -s ours
am skip reason: Merged-In Iddcba1652060d755693dd20d0e350e3d6c1ae138 with SHA-1 5a305645c1 is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2884507

Change-Id: I010788bde2323fa5df9a92f135d6caae6111c11d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-26 09:52:27 +00:00
Jason Chiu
2a29d67710 Merge "Finish HomepageActivity when it's not the root of a task and not singleTask." into main am: 4f4bb89a23 am: 36dc648ca5
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2884507

Change-Id: If9497561d0efa2311a18886105a1ce02709373be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-26 09:18:32 +00:00
Jason Chiu
36dc648ca5 Merge "Finish HomepageActivity when it's not the root of a task and not singleTask." into main am: 4f4bb89a23
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2884507

Change-Id: I5b61af6e8d265bc62603554ff0236a62ba7f94a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-26 08:48:01 +00:00
Jason Chiu
4f4bb89a23 Merge "Finish HomepageActivity when it's not the root of a task and not singleTask." into main 2023-12-26 08:08:27 +00:00
SongFerng Wang
4ee6d84eb4 Merge "Using ACTION_SIM_CARD_STATE_CHANGED to detect simSlotMapping is complete" into main 2023-12-26 06:47:44 +00:00
Haijie Hong
b250a8a6d4 Merge "Move hasHeadTracker to background thread in device details page" into main 2023-12-26 06:37:09 +00:00
Haijie Hong
debcc28413 Move hasHeadTracker to background thread in device details page
BUG: 316490612
Test: atest BluetoothDetailsSpatialAudioControllerTest
Change-Id: Ic9ca426190bd6389c05272416c87fbf9da392abd
2023-12-26 13:20:16 +08:00
YK Hung
5b053ab069 Merge "Add more log for DynamicDenylistManager" into main 2023-12-26 03:29:57 +00:00
Jason Chiu
706907b7b2 Finish HomepageActivity when it's not the root of a task and not singleTask.
HomepageActivity should be the first activity in a task, or be launched
in singleTask mode. Finishing it will bring up the previous activity in
the task.

Fix: 297857732
Fix: 309045575
Test: robotest
Change-Id: Iddcba1652060d755693dd20d0e350e3d6c1ae138
Merged-In: Iddcba1652060d755693dd20d0e350e3d6c1ae138
2023-12-26 02:08:14 +00:00
ykhung
eff0d103c0 Add more log for DynamicDenylistManager
Bug: 306329984
Test: presubmit
Change-Id: I977e80f1a7fc502d1e505856cfa5c4bd80b538c8
2023-12-26 02:07:27 +08:00
Sunny Shao
fc5e7f57a0 Merge "Disabled the "Double-tap to activate"" into main 2023-12-25 12:28:30 +00:00
Allen Su
30e1bf61b7 Add locale recommendation metrics
Bug: 275306065
Test: atest SettingsRoboTests:com.android.settings.localepicker
Change-Id: I7263c292eee51475274585fe4c0864f82fabf7d2
2023-12-25 09:13:39 +00:00
Chaohui Wang
29a3a0f4f4 Merge "Fix lateinit property allowedNetworkTypesFlow" into main 2023-12-25 06:39:25 +00:00
sunnyshao
2ff71edc1c Disabled the "Double-tap to activate"
- disabled the listview in the createVerifiedLinksDialog

Fixes: 242822432
Test: manual test
Change-Id: Iee884691d5900ff016f41a9ca120604d52dfc362
2023-12-25 14:00:38 +08:00
Jun Lan
be1538671f Fix test failure with package user id
Context: https://android-build.corp.google.com/test_investigate/?invocationId=I73600010230800138&testResultId=TR57529105387126666

Bug: 315477872
Test: manual
Change-Id: I8d0bd970bb43cc27b7f280c50cfcf4e3ea01f321
2023-12-25 13:06:50 +08:00
Chaohui Wang
956894caff Fix lateinit property allowedNetworkTypesFlow
Which has not been initialized.

Convert it to factory to fix.

Fix: 317353030
Test: manual - on Mobile Settings
Test: unit test
Change-Id: Ie5f22d47cb3f3fe036c706ba77ed3bdaad0b54a2
2023-12-25 12:28:14 +08:00
Rambo Wang
5e27df82ee Merge "Support reset IMS stack in Reset Mobile Network flow" into main 2023-12-22 18:19:37 +00:00
Kevin Jeon
dc8508293e Merge "Hide Memory usage UI fields if flag is enabled" into main 2023-12-22 17:39:09 +00:00
Graciela Putri
c9660627ea Merge "[3/n] Pre-select fullscreen option if overridden" into main 2023-12-22 16:45:02 +00:00
rambowang
41ba9dc658 Support reset IMS stack in Reset Mobile Network flow
Reset the IMS stack for the specified subscription
with the help of API TelephonyManager#resetIms.

Bug: 271921464
Test: ResetNetworkOperationBuilderTest
Change-Id: I61575f18bcc300f362000dc7f4257b9d794b6b69
2023-12-22 10:33:46 -06:00
Jan Tomljanovic
db40deb26f Require authentication for changing USB preferences.
Test: atest SettingsRoboTests
Test: also tested manually
Bug: 317367746
Change-Id: I17daaad7c7772664cae6d12cf2322991827f33bb
2023-12-22 15:18:05 +00:00
Graciela Wissen Putri
480d523a0c [3/n] Pre-select fullscreen option if overridden
Settings > Apps > Aspect ratio (experimental)

Pre-select the fullscreen option if all are true:
- device manufacturer has overridden app to fullscreen
- app has not opted out of orientation override
- app has not opted out of user's fullscreen option
- user has not set any aspect ratio (USER_MIN_ASPECT_RATIO_UNSET)

"App default" will have a new value of USER_MIN_ASPECT_RATIO_APP_DEFAULT
if device manufacturer has overridden app to fullscreen, which will
behave the same as USER_MIN_ASPECT_RATIO_UNSET without the
device-applied fullscreen override.

Bug: 310816437
Test: atest UserAspectRatioDetailsTest
      atest UserAspectRatioManagerTest
      atest UserAspectRatioAppPreferenceTest
Change-Id: I6be634bb4369292687b865ce30d902540419183c
2023-12-22 13:15:56 +00:00
Yanting Yang
cf3f89d4fb Merge "Support search index for Accessibility button & gesture" into main 2023-12-22 09:34:11 +00:00
Chaohui Wang
a5d537053a Merge "Show "MMS messages" when mobile data is off" into main 2023-12-22 09:08:12 +00:00
Charlotte Lu
f7a0bcff6d Merge "Add WEP network strings." into main 2023-12-22 07:16:56 +00:00
Haijie Hong
0731cd3c3c Merge "Fix AdvancedBluetoothDetailsHeaderControllerTest" into main 2023-12-22 06:55:17 +00:00
Kevin Jeon
55c8c9b86c Hide Memory usage UI fields if flag is enabled
This change updates the Memory use UI in developer settings to hide
memory fields by default if the AppProfiler PSS deprecation flag is
enabled. A toggle is provided to resume PSS profiling and reinstate the
memory fields, and shows a dialog to reboot if the toggle is updated.

The summary for the "Memory" button in developer settings will show
"Memory profiling disabled" instead of "Avg X GB of Y memory used" if
PSS profiling is not enabled.

Test: With the flag enabled, flash and verify that:
      - The memory fields are hidden by default, and the summary shows
	the expected "Memory profiling disabled" text
      - Clicking the toggle shows the reboot dialog, which will
	correctly change the setting and reboot if accepted, and keep
	the setting and not reboot if denied
      - Check that AppProfiler correctly profiles PSS or RSS based on
	the state of the toggle, which persists across reboots
      - Included UI test for Memory page elements based on flag value.
Bug: 296454553
Change-Id: Ie21791502445a321446cb8110e5800089f47ac58
2023-12-22 01:15:04 -05:00
SongFerng Wang
ba2a86ad9f Using ACTION_SIM_CARD_STATE_CHANGED to detect simSlotMapping is complete
Sometime modem can't return the GET_SIM_STATUS immediately, so that the settings send the sim switching too early after simSlotMapping.

Bug: 291733084
Change-Id: If547c8b02020bc86c83915334e29945176a4ee9f
Test: tester will test it manually.
2023-12-22 05:57:53 +00:00
Charlotte Lu
5d58d4afaf Add WEP network strings.
Test: Visual Test
Fix: 317310222
Change-Id: I7ac6db481ba19af20d2004e2d333e391f0648738
2023-12-22 13:22:53 +08:00
Yanting Yang
6c0f9e68d1 Support search index for Accessibility button & gesture
Bug: 223514494
Test: manual & atest AccessibilityButtonPreferenceControllerTest
Change-Id: I2433e5aaccd8eb92325141246d9b409bb2b97e08
2023-12-22 04:07:36 +00:00