Commit Graph

31993 Commits

Author SHA1 Message Date
SongFerng Wang
9d4fae2784 Merge "Add a config to hide "Enable wireless display" menu" into main am: 6a04355cb3 am: 919149ceee am: 5b865281fd
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2647051

Change-Id: I97c6050ea31e7be1464eaede981fb2d5ec27822d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-14 06:26:23 +00:00
SongFerng Wang
919149ceee Merge "Add a config to hide "Enable wireless display" menu" into main am: 6a04355cb3
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2647051

Change-Id: I7aea20dab1bc3cede5a0d13475d9c3933d656b5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-14 05:23:18 +00:00
Chaohui Wang
a333c2a1a3 Migrate MainSwitchBar in Settings to Material3
Settings UI changed in this cl.

Bug: 306658346
Test: manual - on Settings pages
Change-Id: I06f0cef90453c20855e71ea96c7bca72d1fb1017
2023-11-14 10:40:43 +08:00
Bill Yi
e58050c2f5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7e48f165a79129fe82b622fdd0be2df01d985ef4
2023-11-13 13:26:59 -08:00
Mike Schneider
11d12705d7 Merge "Revert "Migrate MainSwitchBar in Settings to Material3"" into main 2023-11-13 15:25:16 +00:00
josephpv
499eab137f Remove CreatePrivateSpace entry from Private Space settings
Bug: 309581188
Test: Manually verified the item is not shown in Private Space Settings page
Change-Id: I08dca5a07256855ef629aabc68dde9058c00d333
2023-11-13 14:59:13 +00:00
Mike Schneider
b8c4ca078f Revert "Migrate MainSwitchBar in Settings to Material3"
Revert submission 25338737-settingslib_main_switch

Reason for revert: breaks packages/modules/AdServices/adservices/apk/tests/settingsgaota/src/com/android/adservices/ui/settingsga/SettingsGaUiAutomatorTest.java (https://android-build.corp.google.com/test_investigate/?invocationId=I66100010216561043&testResultId=TR33729044105357424)

Reverted changes: /q/submissionid:25338737-settingslib_main_switch
Bug: 310546637
Change-Id: I7ab391d97ed5b784818121304ffa5e984bdf65c4
2023-11-13 13:27:23 +00:00
Treehugger Robot
64ca18c5f6 Merge "Tweak the UI display in the IPv6 address" into main 2023-11-13 11:43:13 +00:00
Chelsea Hao
c31f3564a4 Merge "[Audiosharing] Display broadcast QR code." into main 2023-11-13 09:44:27 +00:00
chelseahao
e8b3081f17 [Audiosharing] Display broadcast QR code.
Bug: 308368124
Test: Manual
Change-Id: I19ec1d15ab26e178b4bb1d9ea1d84dcce0dcc109
2023-11-13 15:54:53 +08:00
Sunny Shao
3233c71d6e Tweak the UI display in the IPv6 address
- Replace the PreferenceCategory with Preference.

Fixes: 246489166
Test: SettingsRoboTests:com.android.settings.wifi
Change-Id: Ide4d36e7ad5c0850cd53010c811e01714c1c1f76
2023-11-13 15:46:27 +08:00
Xinyi Mao
129919def7 Merge "Update Power Anomaly UI." into main 2023-11-13 05:19:48 +00:00
Chaohui Wang
7626a40398 Merge "Migrate MainSwitchBar in Settings to Material3" into main 2023-11-13 03:52:58 +00:00
mxyyiyi
1817f066ec Update Power Anomaly UI.
For Settings tip & app anomaly banner:

- update app anomaly hint color in dark/light theme
[Banner card]
- update icons to GM3 style
- update text font and button text color
- update button style from outlined to filled.
[Chart view]
- update warning icon size
- update percentage label alignment

Screenshots:
- [Settings]
[light]	https://screenshot.googleplex.com/ERWkD7TmDsLaxdG
[dark]	https://screenshot.googleplex.com/6JKvL5vEQTZtJfd
- [App]
[light]
https://screenshot.googleplex.com/3YoncDhGTzUcAZA
https://screenshot.googleplex.com/3hbGmqoYWSy9H9U
[dark]
https://screenshot.googleplex.com/9XKs8tXmRKL2jJP
https://screenshot.googleplex.com/SU4LTJYWXvpd42r
- [RTL+L10N][Arabic]
[Settings] https://screenshot.googleplex.com/V9HJkPcsoBJmsW8
[Apps]
https://screenshot.googleplex.com/B49VKy2jaZYisWK
https://screenshot.googleplex.com/6VZQ2gESRes8RMH
- [Force RTL][EN]
[Settings] https://screenshot.googleplex.com/4V7coyLf5ueUcGv
[Apps]
https://screenshot.googleplex.com/9UaERwDmrpitqdq
https://screenshot.googleplex.com/3JDfcXi8pmz5Mew

Bug: 309569299
Test: manual
Change-Id: I8bee7f86d602112e0cbbd936b439330aaff7275c
2023-11-13 11:52:44 +08:00
Bill Yi
05104fc8ff Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-10 21:15:40 +00:00
Wa Gao
dcf678c835 Merge "Add the dialog when clicking on the diabled switch." into main 2023-11-10 19:13:13 +00:00
Joseph Vincent
4b3e9395f6 Merge "Interim change to upddate strings in hide page" into main 2023-11-10 18:24:45 +00:00
Wa Gao
6b9e20d32d Add the dialog when clicking on the diabled switch.
Bug: 302189945
Change-Id: I0bf7774b80a59c70a2ea1725e0adba522854adde
2023-11-10 17:55:25 +00:00
Chaohui Wang
1a1c54c11a Migrate MainSwitchBar in Settings to Material3
Settings UI changed in this cl.

Bug: 306658346
Test: manual - on Settings pages
Change-Id: If7bba3cd8e26e84158f5bcc11a6a0443009921e5
2023-11-10 22:59:39 +08:00
josephpv
31016b1b75 Interim change to upddate strings in hide page
Bug: 309416972
Test: Manual- Verify strings in hide page
Change-Id: I4fa22b377ae2c93ba881508cde9f2393b43479ac
2023-11-10 14:45:24 +00:00
Bruno Kremp
0d0736c46c Add a config to hide "Enable wireless display" menu
Add config_show_wifi_display_enable_menu to control whether to
display "Enable wireless display" menu at Settings->
Connection preference->Cast.

If persist.debug.wfd.enable is 1, "Enable wireless display" menu will be
shown at Settings->Connection preference->Cast. Add a config to hide the
menu when needed.

setHasOptionsMenu is invoked in onActivityCreated of the parent class of
WifiDisplaySettings. No need to invoke it in onCreate.

Co-authored-by: Jingqiu Zhao <jingqiu.zhao@sony.com>

Test: manual test
Bug: 289532978
Change-Id: I146fb8188e783fed98d9fe56050e384bc4cca052
2023-11-10 10:43:40 +01:00
Bill Yi
913dde2150 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id459e11b40f4e38754131c386adce24711f3ca4e
2023-11-09 16:06:54 -08:00
Bill Yi
77895d0f02 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I736e271088cfb5d306b601286e89e9e8f2a7266c
2023-11-09 16:04:59 -08:00
Joshua Mccloskey
4c43b094d9 Merge "Adding back screenshot test to Settings." into main 2023-11-09 23:27:56 +00:00
Hao Dong
bd2eeff824 Merge "Fix lock screen notification string." into main 2023-11-09 17:15:13 +00:00
Treehugger Robot
96718215a2 Merge "Refine FaceEnrollEducation UI" into main 2023-11-09 05:01:47 +00:00
Randy Pfohl
27c6774f10 Merge "Updating corner gesture summary string" into main 2023-11-08 18:42:55 +00:00
Treehugger Robot
97e9b7696f Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-08 18:21:31 +00:00
MiltonWu
96591ed001 Refine FaceEnrollEducation UI
Update switch button style and adjust the margin for head motion swith
button on the end of FaceEnrollEducation page

Bug: 293274664
Test: Manually check UI
Change-Id: Ifff42364c75bc7c0a83a0211743dcd1e50f04aac
2023-11-08 16:10:53 +08:00
Yuanru Qian
d56ed8b7ae Fix a bluetooth page footer message.
Bug: 300648205
Test: Compiled
Change-Id: I3040a7c886332159576ab9b0a6abeca606e511c5
2023-11-08 07:51:26 +00:00
Yiyi Shen
0a5bbd34b9 Merge "[Audiosharing] Add audio sharing section to Connected devices page." into main 2023-11-08 07:33:09 +00:00
Chaohui Wang
2284e5a7a4 Merge "Limit wifi item edit content's max length to 500" into main 2023-11-08 07:04:55 +00:00
Yiyi Shen
2f2afa22fd [Audiosharing] Add audio sharing section to Connected devices page.
The section will show up during a sharing session.

Flagged with enable_le_audio_sharing

Bug: 305620450
Test: Manual
Change-Id: I59cf81b35dcbf328b253d72d7fdc86af450251ee
2023-11-08 13:41:05 +08:00
Bill Yi
abc050a0a2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I66cc124b528ef022b1df904cbacb92fb6bc8744f
2023-11-07 18:26:56 -08:00
Hao Dong
3ba7db1a72 Fix lock screen notification string.
Test: manual test on SUW
Bug: 293108091

Change-Id: If4999d1e88a3657d33ff89d43ec13d78964b49c4
2023-11-08 01:18:57 +00:00
Kyle Zhang
061cf714f8 Add Widevine developer option to settings
Bug: 301669353
Change-Id: Idcca4cc6ce2e614a79a0ac95eb8c39cf05b91f56
2023-11-08 00:25:33 +00:00
Randy Pfohl
2aeff64425 Updating corner gesture summary string
Test: Built and ran locally

Bug: 308421854

Change-Id: I395628a66f032f5f99c8060b4c142ff4c0a2d7d1
2023-11-07 22:45:13 +00:00
Nino Jagar
a6e8467375 Merge "Update content protection toggle title text" into main 2023-11-06 22:40:05 +00:00
Bill Yi
a8cfc6d99e Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-06 21:25:39 +00:00
Nino Jagar
a0b54107f1 Update content protection toggle title text
Bug: 307604681
Test: Compiled
Change-Id: I66c6fcf28435012b93ca3964dc7c36a275484247
2023-11-06 21:23:03 +00:00
Joshua Mccloskey
114fabf79d Adding back screenshot test to Settings.
Test: atest SettingsScreenshotTests
Fixes: 307356833
Change-Id: I80b32cd40155d56e38d41d5f6d52e4c5d5ef715c
2023-11-06 19:40:58 +00:00
Chaohui Wang
855053ca41 Limit wifi item edit content's max length to 500
Bug: 293199910
Test: manual - on "Add network"
Change-Id: I303b8c6e0f3c3a1174a047ba98f302042e5db9ae
2023-11-06 09:14:18 +00:00
mxyyiyi
8e7bf5d2c1 Update all forcestop icons in Settings.
Test: manual
Bug: 308893988
Fix: 308893988
Change-Id: I007225c390a922c69f2b32d0d1dbd4224e5bc4b5
2023-11-06 14:12:54 +08:00
Chaohui Wang
c744aaabae Fix IMEI is not selectable
By settings textIsSelectable = true

Also unify all the similar logic into @style/device_info_dialog_value

Fix: 305248578
Test: manual - on About phone page
Change-Id: Iaa6b4ab45067a01106367de3b8d81d5df51bd6dc
2023-11-06 11:01:18 +08:00
Bill Yi
0b3105688b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id54d10cde6cb789f1917ca9f9b88da286a89e05e
2023-11-03 17:16:20 -07:00
Bill Yi
ba991e52f0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I576d418ecffc4dd4f9c8013476df83e59b74b4f3
2023-11-03 17:14:29 -07:00
Sally Qi
6584f32b6a Merge "Settings: add a new developer menu entry to show hdr/sdr ratio overlay." into main 2023-11-03 19:13:06 +00:00
Joseph Vincent
57ca9c9c68 Merge "Adds Google account login during private space setup" into main 2023-11-03 18:24:50 +00:00
Sally Qi
fbb088ffdb Settings: add a new developer menu entry to show hdr/sdr ratio overlay.
- The hdr/sdr ratio overlay will be shown on screen if the option is
  selected from the developer option.
- This option is hidden on non-HDR-supported devices.
- Add flags: com.android.settings.flags.development_hdr_sdr_ratio

Test: enable show hdr/sdr ratio from developer menu; com.android.settings.development.ShowHdrSdrRatioPreferenceControllerTest
Bug: 291863102
Change-Id: Idd72f95c67c95cd8127f9b94e031b3d87b18e307
2023-11-03 11:02:07 -07:00
fayey
2be6218c64 Update voice activation apps toggle page string constant.
Bug: 306447565
Bug: 303727896
Test: presubmit
Change-Id: Ibb4fe898b836daef69af85be6b25b99dc6a7b446
2023-11-03 16:37:24 +00:00