Commit Graph

30501 Commits

Author SHA1 Message Date
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
josephpv
380ac9a48e Adds Google account login during private space setup
This has the following changes:
1. On profile creation starts intent to add google account to the private profile for Pixel only devices.
2. On accout sign in failed show an error screen with message to try again.
3. Moves the lock setup fragment from private to main user which now calls the helper Activity as a private user which helps to setup lock. This activity can now also be called from the planned Secondary Auth settings page to set up private profile lock.
4. On set up complete use SHOW_WORK_APPS intent as a workaroud to start launcher.

Bug: 308397617
Test: Manual setup
Change-Id: I19b95375409f015b2a5d30fdad766c2f6baa634b
2023-11-03 13:50:55 +00:00
fayey
6619010f0a Add Voice activation apps into Settings->Apps->Special app access
This change is flag controlled by
`com.android.settings.flags.enable_voice_activation_apps_in_settings`.

Bug: 306447565
Bug: 303727896
Test: atest com.android.settings.spa.app.specialaccess.VoiceActivationAppsTest
Test: atest com.android.settings.spa.app.specialaccess.VoiceActivationAppsPreferenceControllerTest
Test: manual Settings CUJs
Change-Id: I71a0dc2303263c9957220b56e4dcacec9a561b02
2023-11-02 20:07:53 +00:00
Yiyi Shen
ed94c4eaa2 Merge "[Audiosharing] Add audio sharing stream name preference." into main 2023-11-02 04:51:40 +00:00
Joshua Mccloskey
ff69c0ca2d Merge "Rear Fingerprint Enrollment" into main 2023-11-01 21:10:47 +00:00
Joseph Vincent
1dfa082592 Merge "Increase privatespace_hide_page_summary character limit" into main 2023-11-01 15:05:41 +00:00
josephpv
303a8ab63a Increase privatespace_hide_page_summary character limit
Bug: 308397617
Test: Manual
Change-Id: I9d1694d4a2675945ad793365df94e2c11eeec3ce
2023-11-01 13:50:39 +00:00
Yiyi Shen
1af86c34af [Audiosharing] Add audio sharing stream name preference.
Flagged with enable_le_audio_sharing

Bug: 305620450
Test: Manual
Change-Id: I1502fb824bcf612d069ee24d7af67afda5e997bb
2023-11-01 13:32:09 +00:00
Charlotte Lu
d8630aa4d9 Merge "Show "add access point" when the user selects add Apn." into main 2023-11-01 09:02:47 +00:00
Charlotte Lu
8cbffebb89 Show "add access point" when the user selects add Apn.
Fix: 308724447
Test: Visual Test
Change-Id: I7c5a93c426dbb7806e5c21bae22f0dba7f61d870
2023-11-01 14:42:59 +08:00
Xinyi Mao
bd01c83944 Merge "Refactor background optimization mode in Power Usage Detail page." into main 2023-11-01 05:04:56 +00:00
Yiyi Shen
d624b575a6 Merge "[Audiosharing] Add audio sharing dialog." into main 2023-11-01 03:54:45 +00:00
mxyyiyi
81e028931a Refactor background optimization mode in Power Usage Detail page.
[Screenshot]:
before: https://screenshot.googleplex.com/6m5jYWHofY2pFov

after:
[App battery usage]
- [normal] https://screenshot.googleplex.com/7aurWk7cHKaWds7
- [always unrestried/optimized] https://screenshot.googleplex.com/3rGAh4ccUYTKBAr

[Allow Background usage]
- [Restricted]: https://screenshot.googleplex.com/MPXjQe5kPWw2nhr
- [Optimized]: https://screenshot.googleplex.com/6w4zTT6r34APnGc
- [Unrestricted]: https://screenshot.googleplex.com/97FgvHWMrwASqYH

Bug: 302063050
Bug: 306295660
Bug: 308359833
Test: manual
Change-Id: I3237d015549fe26e62d6d68c13403cc2cbdf0017
2023-11-01 11:17:30 +08:00
Jean Chen
bf18e7967e Merge "Revert^2 "feat(MultiFingerMultiTap): Add tutorial for two finger triple tap"" into main 2023-11-01 00:23:08 +00:00
Bill Yi
fd3b3a81d3 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-10-31 17:46:21 +00:00
Chaohui Wang
5ac8a4e281 Merge "Async load eid in SimEidPreferenceController" into main 2023-10-31 10:02:30 +00:00
Chelsea Hao
55fde59c17 Merge changes Ia5b56c28,I258add40 into main
* changes:
  [Audiosharing] Add audio sharing streams page and entry point.
  Add flag for LE audio private sharing via QR code.
2023-10-31 09:40:57 +00:00
Yiyi Shen
738962fb28 [Audiosharing] Add audio sharing dialog.
Open the dialog when audio sharing main switch on.

Flagged with enable_le_audio_sharing

Bug: 305620450
Test: Manual
Change-Id: I5b7cf655782a1da8b4fbd42eca11b473bac339b0
2023-10-31 17:04:52 +08:00
Jean Chen
6a50a06f76 Revert^2 "feat(MultiFingerMultiTap): Add tutorial for two finger triple tap"
This reverts commit dc9ad88a26.

Reason for revert: The issue be fixed on b/308228560. Our change wasn't the actual culprit. 

Change-Id: Ie023b10d70db680799f30c8bc9346cc65716b550
2023-10-31 08:43:39 +00:00
Chaohui Wang
13150d922c Merge "Migrate to Material3 Switch" into main 2023-10-31 08:26:43 +00:00
chelseahao
9dd627e9e4 [Audiosharing] Add audio sharing streams page and entry point.
Flagged with enable_le_audio_qr_code_private_broadcast_sharing

Bug: 308368124
Test: Manual
Change-Id: Ia5b56c288e61ac9accd33d7674b049e46a9ef03d
2023-10-31 08:12:03 +00:00
Chaohui Wang
d598caaeb7 Merge "Migrate ShortcutPreference to SwitchCompat" into main 2023-10-31 06:32:11 +00:00
Chaohui Wang
8501293f07 Migrate to Material3 Switch
UI changed in this cl.

Bug: 306658346
Test: manual - on Settings pages
Change-Id: Ic72a49e978eb3308f561d24a16be26504297e05c
2023-10-31 13:33:44 +08:00
Chaohui Wang
b6e44ce818 Async load eid in SimEidPreferenceController
Avoid data loading in getAvailabilityStatus() to prevent ANR, override
updateNonIndexableKeys() for search availability.

Fix: 304560734
Test: manual - on "About phone" page
Change-Id: I9994abf3787f5db0edc71ff48d08e549a4b70bf7
2023-10-31 02:44:18 +00:00
Bill Yi
e840be4b44 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7217a31af0c13778b162fbb834fd5e58ccbe69d6
2023-10-30 19:20:39 -07:00
Bill Yi
46794da777 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I26dae51a0434470eb5701d4416a2c45276f2e1f0
2023-10-30 19:18:53 -07:00
Joshua McCloskey
a98dc8d4b5 Rear Fingerprint Enrollment
Bug: 297083009
Test: atest RFPSIconTouchViewModelTest FingerprintEnrollEnrollingViewModelTest FingerprintManagerInteractorTest
Change-Id: Icc072e7d7815070087ccb50ea5937c386b06fb11
2023-10-30 22:18:56 +00:00
Treehugger Robot
ff03ce88ff Merge "settings(nfc): Remove NFC beam settings" into main am: e8df63f148
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2808364

Change-Id: Ic8c0f7ceec443aca5172cd38ede765781640dc0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 21:03:30 +00:00
Roshan Pius
ad565c49dc settings(nfc): Remove NFC beam settings
This API was already deprecated and not supported for a few years. The
API was completely removed in Android U (see b/236980291).

Bug: 307352220
Test: Verified NFC settings works correctly
Merged-In: I40974a26d170cf3eeec18e6a07a21f6c420eca9e
Change-Id: I40974a26d170cf3eeec18e6a07a21f6c420eca9e
2023-10-30 19:42:47 +00:00
Treehugger Robot
336e95cf64 Merge "settings(nfc): Remove NFC beam settings" into main 2023-10-30 17:11:17 +00:00
Tyler Freeman
db99e6027c Merge "Revert "feat(MultiFingerMultiTap): Add tutorial for two finger triple tap"" into main 2023-10-30 16:45:46 +00:00
Daniel Norman
dc9ad88a26 Revert "feat(MultiFingerMultiTap): Add tutorial for two finger triple tap"
This reverts commit 2870455091.

Reason for revert: b/308368520

Change-Id: I512fa574e47585f0005ccc6c3790c0c20a3a4c55
2023-10-30 16:29:19 +00:00
Chaohui Wang
bbc1ffb930 Merge "Migrate Enhanced notifications to SwitchPreferenceCompat" into main 2023-10-30 14:18:44 +00:00
Treehugger Robot
0201afb9d5 Merge "Add a flow to keep special apps in the battery unrestricted mode" into main 2023-10-30 11:27:19 +00:00
Yiyi Shen
17870ad864 Merge "[Audiosharing] Add calls and alarms device picker when sharing." into main 2023-10-30 11:01:17 +00:00
Yiyi Shen
60c33f570c [Audiosharing] Add calls and alarms device picker when sharing.
Flagged with enable_le_audio_sharing

Bug: 305620450
Test: Manual
Change-Id: I211bbd83e29a1ea865c3e368f0fcacf3a98255e9
2023-10-30 16:05:01 +08:00
ykhung
6d94558451 Add a flow to keep special apps in the battery unrestricted mode
Fix: 306506148
Test: atest & presubmit
Change-Id: I1636f4fe38394686b40c9f52d37bd9ae6f2c46ba
2023-10-30 15:33:15 +08:00
Jean Chen
5678c7eb12 Merge "feat(MultiFingerMultiTap): Add tutorial for two finger triple tap" into main 2023-10-30 05:21:34 +00:00
YK Hung
1b2bc3e59b Merge "Rename for: force app stay in the battery optimize mode" into main 2023-10-30 04:29:37 +00:00
Treehugger Robot
864ea107b6 Merge "Update the description for Smooth Display in Settings" into main 2023-10-30 03:49:14 +00:00
ykhung
d3684f7d1d Rename for: force app stay in the battery optimize mode
Bug: 306506148
Test: atest & presubmit
Change-Id: I69a0c6b290c21ae1fca676ffe8295543b2323a7a
2023-10-30 11:33:39 +08:00
Chaohui Wang
019be1b687 Migrate ShortcutPreference to SwitchCompat
Settings use SwitchCompat instead of Switch in the future, for new
Material 3 UI.

Bug: 306658427
Test: manual - on Accessibility pages
Change-Id: Idf87eb6fcf1a57bd98a6fd0eca3c8c325127ce17
2023-10-28 20:04:31 +08:00