Commit Graph

145152 Commits

Author SHA1 Message Date
Weng Su
e5d19b38cb Skip authentication if device was unlocked recently
- Sync the same behavior from SystemUI to Settings

Bug: 365611488
Flag: EXEMPT bugfix
Test: Manual testing
atest -c WifiNetworkDetailsFragmentTest \
         WifiDetailPreferenceController2Test \
         WifiTetherSSIDPreferenceControllerTest \
         com.android.settings.wifi.dpp.WifiDppUtilsTest
atest -c com.android.settings.spa.wifi.dpp.WifiDppUtilsTest

Change-Id: Ie3e8374b1fdbbc61e9e5bbf0f5162b18ba1452f3
2024-12-13 18:10:44 +08:00
Daniel Huang
626017d196 Merge "Add measurement system" into main 2024-12-11 22:23:42 -08:00
danielwbhuang
fffe05404f Add measurement system
1. add UX
2. add main functionality

Bug: 375979373
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: manual, atest
Change-Id: Ie0c82551ff4e9ab0c70fa5d3c32c62d1d7e26b87
2024-12-12 12:31:57 +08:00
Yiyi Shen
0ca6d53458 Merge "Add accessibility label for device details gear icon" into main 2024-12-11 19:32:24 -08:00
Bill Yi
1a4de9370a Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-12-11 14:44:10 -08:00
Bill Yi
4c6dd6dc25 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-12-11 14:44:10 -08:00
Bill Yi
7e0e429f12 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-12-11 14:44:10 -08:00
Jason Chang
7bd52367bb Merge "Change resource id to the correct package name" into main 2024-12-11 09:16:37 -08:00
Hani Kazmi
2ccbf1dbe9 Merge "[AAPM] UX for disabling WEP" into main 2024-12-11 09:05:58 -08:00
Joshua Mccloskey
15ca2dddf7 Merge "Updated initial value for accessibility interactor" into main 2024-12-11 08:49:55 -08:00
Jacky Wang
dc80bddc1e [Catalyst] Partially revert ag/30664694
The preference is not yet migrated, we should not update fragment based
on current flag rollout plan.

Bug: 368355361
Bug: 368359963
Flag: com.android.settings.flags.catalyst_tether_settings
Test: manual
Change-Id: I89a5d2ee29e1c3428d40428b3d3d4ba3afcd4ece
2024-12-11 18:18:09 +08:00
Yiyi Shen
a5b06a2e72 Add accessibility label for device details gear icon
Flag: EXEMPT small fix
Bug: 379994439
Test: compile
Change-Id: Ie1fa3901e50a8094f73bd4d409eb13a3b501ee80
2024-12-11 16:14:01 +08:00
Jason Chang
a55788d3b9 Change resource id to the correct package name
Change resource id to the correct SUW package name.

Flag: EXEMPT bug-fixing

Bug: 383030121

Test: Build and manually then check the UI
Change-Id: I31c8c7e79a65edd7953080a9bd16b638a901d607
2024-12-11 08:10:17 +00:00
Yiyi Shen
810309413a Merge "[Audiosharing] Check profile readiness before adding source" into main 2024-12-11 08:04:04 +00:00
Treehugger Robot
9082aa03a3 Merge "Mock method to avoid exception." into main 2024-12-11 05:32:56 +00:00
Treehugger Robot
5b6d4b0821 Merge "Settings: Fix face enroll stack overflow" into main am: e0e07dab27 am: 0b36bd05ec
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3389339

Change-Id: I95f203f635d00b619d0739cf344caf509958edc3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-11 04:13:44 +00:00
tomhsu
2c5682719f Mock method to avoid exception.
- TelephonyManager#getVoiceNetworkType()

Flag: EXEMPT bug fix
Fix: 383209846
Test: atest pass
Change-Id: Iedb971b58cea6ff5844eb4268a53b0d8f0d41062
2024-12-11 03:50:02 +00:00
Treehugger Robot
0b36bd05ec Merge "Settings: Fix face enroll stack overflow" into main am: e0e07dab27
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3389339

Change-Id: I83098683c5e25576db53963e032253cc5eb5780b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-11 03:48:37 +00:00
Treehugger Robot
e4b0181232 Merge "[Catalyst] Remove UserManager.addUserRestrictionsListener usage" into main 2024-12-11 03:45:26 +00:00
Treehugger Robot
e0e07dab27 Merge "Settings: Fix face enroll stack overflow" into main 2024-12-11 03:22:16 +00:00
Jason Chang
42e47f1a6e Merge "Change resource id to the correct package name" into main 2024-12-11 02:41:39 +00:00
Jacky Wang
2043c1e7d8 [Catalyst] Remove UserManager.addUserRestrictionsListener usage
Bug: 377600992
Bug: 379130874
Flag: com.android.settings.flags.catalyst
Test: testdpc
Change-Id: If0111a19af7a077a0a06c4a4fa7f1e555fbed3b9
2024-12-11 10:09:54 +08:00
Bill Yi
f2da3a1f0b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2ec88175c428732fb69200b1727abace765540b9
2024-12-10 15:27:55 -08:00
Bill Yi
a246490f47 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2b3bd7ea741d3850b43efe57bff80ae0c4e1eca3
2024-12-10 15:25:41 -08:00
Bill Yi
54e683af5a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iaaeb747e5daab6d03c4ddf8f31a9d57e4bf3295e
2024-12-10 15:23:49 -08:00
Yining Liu
b4cbd1913b Merge "Use the new logging event for "Notifications on lock screen" in Settings" into main 2024-12-10 17:52:21 +00:00
Matías Hernández
5cf2306221 Merge "Use different "None" strings for Messages and Calls in Modes breakthrough" into main 2024-12-10 15:58:06 +00:00
Matías Hernández
6ba4109c2b Use different "None" strings for Messages and Calls in Modes breakthrough
Bug: 330870672
Test: manual
Flag: android.app.modes_ui
Change-Id: I33c6ebce9281313d5d1cb483b82dfd90d1ff48a1
2024-12-10 12:47:31 +01:00
Treehugger Robot
f9fcfaff15 Merge "[Catalyst] Fix enable state for Wi-Fi hotspot" into main 2024-12-10 10:43:31 +00:00
Jacky Wang
3d595b169d [Catalyst] Fix enable state for Wi-Fi hotspot
NO_IFTTT=Catalyst only

Bug: 383232049
Flag: com.android.settings.flags.catalyst_tether_settings
Test: manual
Change-Id: I067e97820a19822eaad2e93e30d42f7f767bf855
2024-12-10 17:29:49 +08:00
Yiyi Shen
c9c088ae34 [Audiosharing] Check profile readiness before adding source
Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 362858921
Change-Id: I9ee6226d1bd16225adf1756678ef7565941d7c60
2024-12-10 17:01:09 +08:00
Jason Chang
bc26a1decc Change resource id to the correct package name
Change resource id to the correct SUW package name.

Flag: EXEMPT bug-fixing

Bug: 383030121

Test: Build ABTD manually then check the UI
Change-Id: Ic7dce3c0f61abf56e49163240d12ac5da8b627c6
2024-12-10 07:58:16 +00:00
Jacky Wang
249e381a63 [Catalyst] Fix MainSwitchBarPreference NPE when configuration changed
When activity is recreated (due to configuration is changed),
preference screen is created before SettingsActivity sets view layout
and results in NPE. As a workaround, save the states inside
MainSwitchBarPreference to fix the problem.

Bug: 332201912
Flag: EXEMPT library
Test: manual
Change-Id: I052cd0a521dac203a5f58963c550911e7a741e6f
2024-12-10 15:25:39 +08:00
Jacky Wang
fdbfa69183 Merge changes from topic "catalyst" into main
* changes:
  [Catalyst] Migrate bluetooth screen to catalyst
  [Catalyst] Migrate BluetoothFooterPreference
  [Catalyst] Fully migrate BluetoothMainSwitchPreference
  [Catalyst] Add SatelliteRepository.isSatelliteOn helper method
  [Catalyst] Support callChangeListener for MainSwitchBarPreference
2024-12-10 07:11:09 +00:00
Angela Wang
05783a589d Merge "Show battery info for mono audio location device" into main 2024-12-10 03:38:31 +00:00
chelseahao
e306ee4c6c Disable announcing "Enabled / disabled" when toggling BT in settings.
Test: atest
Bug: b/375545416
Flag: EXEMPT bugfix
Change-Id: I1992faaf813c147fa734a3522b070ccbf0531dab
2024-12-10 02:28:25 +00:00
Olivier Nshimiye
bda181160f Merge "Set Private Space usehandle to null if we receive ACTION_PROFILE_REMOVED for PS user" into main 2024-12-10 01:52:22 +00:00
tomhsu
48895aaf03 Ignore test due to test failed.
- Will update the test CL later

Flag: EXEMPT bug fix
fix: 382998226
Test: atest pass.
Change-Id: Icf82dab5a497304df9c3e6a8159e5806ac687445
2024-12-09 23:52:03 +00:00
Olivier Nshimiye
24b05b053d Set Private Space usehandle to null if we receive ACTION_PROFILE_REMOVED for PS user
Flag: EXEMPT bugfix

Bug: 376044598
Test: Manually verified on a test device

Change-Id: Id7e3caed8bbe3afe301a3c29a70ba5ec77c90116
2024-12-09 22:04:14 +00:00
Joshua McCloskey
e0f75b626b Updated initial value for accessibility interactor
Test: Verified the default value is correct
Bug: 383060578
Flag: EXEMPT bugfix
Change-Id: I205609165a746d9d155eb6a3b91c89d22a97ed9f
2024-12-09 19:21:59 +00:00
Jacky Wang
efd08c4bfb [Catalyst] Migrate bluetooth screen to catalyst
Bug: 372774767
Flag: com.android.settings.flags.catalyst_bluetooth_switchbar_screen
Test: devtool
Change-Id: I08730e63f17b5fe57268e57f796f88f52ef5caa0
2024-12-09 21:07:37 +08:00
Jacky Wang
1c63279c3d [Catalyst] Migrate BluetoothFooterPreference
Bug: 372774767
Flag: com.android.settings.flags.catalyst_bluetooth_switchbar_screen
Test: devtool
Change-Id: Ic1f5cc897bcbaf8775fb4b841625c9a40644adfc
2024-12-09 21:07:33 +08:00
Shawn Lin
97072e434d Merge "[Biometric Onboarding & Edu] Update Set up Fingerprint/Face Unlock page" into main 2024-12-09 10:37:03 +00:00
Jacky Wang
2b21d69c0c [Catalyst] Fully migrate BluetoothMainSwitchPreference
Bug: 372774767
Flag: com.android.settings.flags.catalyst_bluetooth_switchbar_screen
Test: atest
Change-Id: Ie7a78a0ef2a8739d30ece4c1c4fde5651876dc8a
2024-12-09 17:47:40 +08:00
Jacky Wang
95719f21b3 [Catalyst] Add SatelliteRepository.isSatelliteOn helper method
NO_IFTTT=Catalyst only

Bug: 335132588
Flag: EXEMPT refactor
Test: manual
Change-Id: Ib10f7f616a6deed438a129da4b2cb927915bfcda
2024-12-09 17:47:14 +08:00
Jacky Wang
f79173a664 [Catalyst] Support callChangeListener for MainSwitchBarPreference
Bug: 335132588
Flag: EXEMPT library
Test: manual
Change-Id: I6924ccfa0d66b9a643811f49a2ec3fcdc1d749ae
2024-12-09 16:59:16 +08:00
Marcelo Arteiro
bedda9d1f2 Merge "Migrate materialColor* attributes into colors" into main 2024-12-09 08:36:04 +00:00
Treehugger Robot
759c5644d1 Merge "[Expressive design] Migrate WifiPrivacyPage." into main 2024-12-09 07:55:43 +00:00
Shawn Lin
087ac777a8 [Biometric Onboarding & Edu] Update Set up Fingerprint/Face Unlock page
Update icons, strings and layouts for new UX design

Bug: 370940762
Test: manual:
      Pre condition - no fingerprint/face enrolled
      For FP: Go Settings>Security & privacy>Device unlock>Fingerprint unlock
      For Face: Go Settings>Security & privacy>Device unlock>Face unlock
Test: atest FaceEnrollIntroductionTest
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: Iaee6792d1a27be8fa4b443f783a47a3715b6d3a1
2024-12-09 07:52:08 +00:00
Treehugger Robot
6123cb9aeb Merge "[Catalyst] Refactor some Text Reading items" into main 2024-12-09 07:07:59 +00:00