Commit Graph

53548 Commits

Author SHA1 Message Date
Jason Chiu
8375c61a46 PrivateSpaceAuthenticationActivity to support dual-pane mode
Test: visual
Fix: 334792208
Change-Id: Ibae659daa45e93ac3ac53fce4cbcdaed258ba6a3
2024-04-23 14:02:38 +08:00
Chaohui Wang
a339f019e2 Remove existing list when force update network
Otherwise it could including previous scan result when re-enter the
page.

Fix: 336244021
Test: manual test - on NetworkSelectSettings
Change-Id: I34b4820b116868b98649202c424d2168746232e8
2024-04-23 13:43:59 +08:00
Charlotte Lu
893e8d1f4b Merge "[WIFI-WEP] Add WEP dialog in System UI." into main 2024-04-23 05:28:37 +00:00
Yiling Chuang
1aa4bcf17d Clean up on the charging remaining time label for WLC.
Bug: 336204618
Test: robotests
Change-Id: Ic2c9d653f8bd9ec25383319766256162d81424c2
2024-04-23 03:36:06 +00:00
Yiling Chuang
ce51f659df Merge "Customize the remaining time label during wireless charging." into main 2024-04-23 02:40:06 +00:00
Paulz Chen
319245cdbe Merge "Add FeatureProvider for SyncAcrossDevices Settings integration." into main 2024-04-22 23:52:23 +00:00
Pawan Wagh
c1659eaeee Set 16K dev option as checked by default for 16KB page size
Page agnostic targets use 16KB pages by default. Set the developer
option for 16KB enabled when booted with 16KB page size.

Bug: 303280163
Bug: 295035851
Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Change-Id: I01457ce3003ea884c7d1e47aca6b85aab341aa24
2024-04-22 22:22:03 +00:00
Daniel Norman
5c32deeb16 Tightens Accessibility Settings owners.
Per discussion with leads, we'd like to ensure that Settings > Accessibility changes are seen
and approved by the Android Accessibility team. This change prevents default Settings owners
from accidentally approving changes without looping in a11y, while ensuring Settings lead cipson
has approval for emergency changes.

Change-Id: I914067a4d2616c212309b70fb29679f9acfa7643
2024-04-22 16:54:42 +00:00
Yuri Lin
9dbd8ddffe Merge "Add info on whether the rule is active to ZenMode" into main 2024-04-22 16:20:38 +00:00
Yuri Lin
af82199317 Add info on whether the rule is active to ZenMode
modifying the corresponding methods on ZenModesBackend to collect that information from NotificationManager.

Bug: 327419222
Test: ZenModesBackendTest, ZenModeTest
Change-Id: I01cb0ffa21a7fecaa5128cec51ced3eff384f370
2024-04-22 10:57:32 -04:00
Jason Chang
0c61a9662c Fix Talkback announcement for SFPS enrollment issues
Remove the redundant "enrolled %" string when talkback announcement.

Bug: 324488176

Flag: NONE

Test: manually do SFPS enrolling then hearing the sounds to check.
Change-Id: I00d1f885bca2609cd954817943a1d4f5625a95b3
2024-04-22 13:38:30 +00:00
Anna Bauza
71361dafd3 Integrating new Avatar Picker App in Settings
Bug: 309426522
Test: manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e6c9a08ab7648d884c0d9c3fbbc7f8c74a016624)
Merged-In: Ie5831cec9ebb7a8d5cfabc93300ca2d6cadb944b
Change-Id: Ie5831cec9ebb7a8d5cfabc93300ca2d6cadb944b
2024-04-22 12:15:54 +00:00
Chaohui Wang
5ae84662b5 Check isConvertedPsimSubscription in new UI
Bug: 326896614
Test: manual test
Change-Id: I0d3c87a863f58a9e962fb87df5b8001be9edb767
2024-04-22 18:14:20 +08:00
Yiling Chuang
901a46c93e Customize the remaining time label during wireless charging.
Bug: 336204618
Test: robotests
Change-Id: Ic7025f219ee09fba0922ac183daa891e7b63b673
2024-04-22 10:14:13 +00:00
Chaohui Wang
2ecc77ef08 Merge "Create AppDataUsageSummaryController" into main 2024-04-22 08:30:19 +00:00
Weng Su
d1f7df008c Merge "Restrict WifiAPITest" into main 2024-04-22 07:57:14 +00:00
paulzhchen
132e7341ea Add FeatureProvider for SyncAcrossDevices Settings integration.
Bug: 330498032
Test: FakeFeatureFactory
Change-Id: Iccf7ca4411a03d29e9eeba6c1544ccbd95b97654
2024-04-22 06:58:31 +00:00
Chaohui Wang
ea89a3cb1d Not include user input in regex am: 4f5920c3f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27048156

Change-Id: I2a3740b52b65ff650f309aa62a42e57f9ba8dffb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-22 06:34:24 +00:00
Chaohui Wang
07335514c4 Create AppDataUsageSummaryController
Content description for usage will be added later.

Bug: 318780411
Test: manual - on AppDataUsage
Test: unit test
Change-Id: I3990218395dfd7553554346ea8ef00368ba57589
2024-04-22 04:58:49 +00:00
Chaohui Wang
4f5920c3f5 Not include user input in regex
Check prefix and remove prefix first, to avoid include user input in
the regex to fix.

Fix: 335136289
Test: manual - on SIMs
Test: unit test
Change-Id: Iff4dcfc3662c744d00b586d05e64b4f5fe33a0d8
2024-04-22 04:56:57 +00:00
Chun-Ku Lin
5b08a3d7ce Make QS shortcut as the default shortcut type only if it's an a11y tool
Bug: 333602196
Test: atest ToggleAccessibilityServicePreferenceFragmentTest
Flag: android.view.accessibility.a11y_qs_shortcut aconfig Nextfood
Change-Id: I108e8ab127bcae545b92166a0147f5fee89f9e94
2024-04-19 23:20:16 +00:00
Joseph Vincent
1946b4a669 Merge "Remove logs revealing private space existence" into main 2024-04-19 19:59:39 +00:00
Joseph Vincent
0e96e7328e Merge "Update string in Delete private space dialog" into main 2024-04-19 19:59:17 +00:00
Varun Shah
74668d1e7e Merge "Remove RUN_BACKUP_JOBS special app access page." into main 2024-04-19 17:41:28 +00:00
Hyunho Shin
74aecaf6bc Merge "When the transfer status is CONVERTED, the menu on the pSIM is greyed out." into main 2024-04-19 16:43:50 +00:00
SongFerng Wang
e529a1233c Merge "Using the new sim ui when user insert psim" into main 2024-04-19 15:49:17 +00:00
Kholoud Mohamed
0480d7c0a1 Merge "Fix incorrect password attempts messaging on headless" into main 2024-04-19 14:47:57 +00:00
Hakjun Choi
1227eb311f Merge "Return empty list when SatelliteManager is not created" into main 2024-04-19 13:21:40 +00:00
Kholoud Mohamed
85c38bc078 Fix incorrect password attempts messaging on headless
Bug: 257276847
Test: manual
Flag: ACONFIG android.app.admin.flags.headless_single_user_fixes DISABLED
Change-Id: I2fb70d99203228ce4ee36f84eb4dfed36fa6fd8c
2024-04-19 12:49:31 +00:00
YK Hung
491cb8fbe1 Merge "Add content description string for '<1%'." into main 2024-04-19 12:04:41 +00:00
YK Hung
e57842bd40 Merge "Help talkback to read the hyphen of time frame '{day}{time}-{time}'" into main 2024-04-19 11:57:55 +00:00
Matías Hernández
d69b539c1e Merge "Remove TODO which is resolved by changes in ZenModeHelper" into main 2024-04-19 10:49:35 +00:00
Treehugger Robot
b5f7d62bbd Merge "Log optimization mode for app usage in BatteryUsageSlot." into main 2024-04-19 10:07:56 +00:00
Roy Chou
e4fb6b93a4 fix(magnification suw): followTyping preference should be hidden in magnification suw page
In ag/26349366 we wrapped the follow typing prefernce creation into new
method, but in the new method we didn't assign the created preference to
mFollowingTypingSwitchPreference. So
ToggleScreenMagnificationPreferenceFragmentForSetupWizard can not access
the preference object to hide it. Therefore, as a short-term solution we
assign the created preference to mFollowingTypingSwitchPreference. For a
long-term plan we should not create a preference and hide it in suw,
instead we don't need to create that preference. (tracked in b/335788167)

Bug: 335788769
Flag: NONE
Test: manually
Change-Id: Ideef93127343b7d1105a63006d343cd5ef66de08
2024-04-19 09:04:58 +00:00
Haijie Hong
724af770b7 Merge "Hide LeAudio toggle for LeAudio-only device" into main 2024-04-19 08:07:39 +00:00
songferngwang
aecc940987 Using the new sim ui when user insert psim
When device has two active esim and the user insert psim, the settings
will popup the dailog to ask user select the two sim card.
Now, there is the new sim UI, so it should show the new one.

Bug: 335780975
Test: verify UI
Change-Id: I298d488d467c447d6f8d91d86383708a4d1f70c9
2024-04-19 07:44:22 +00:00
Tom Hsu
fa6289f81e Merge "Fixs user input nothing, but save it successfully" into main 2024-04-19 07:17:13 +00:00
Weng Su
3c2e22afc8 Restrict WifiAPITest
- Disable Wi-Fi functions below if user has DISALLOW_CHANGE_WIFI_STATE
  - disableNetwork
  - disconnect
  - enableNetwork

Bug: 290612834
Flag: None
Test: Manual testing
Change-Id: I7435b30381401b10fa82b25fb245b1ed12bf3ade
2024-04-19 14:57:33 +08:00
tomhsu
aebb53870c Fixs user input nothing, but save it successfully
- If user inputs nothing, use original sim carrier name instead
 - Add a hint of showing original sim carrier name on edit field.

fix: 333642116
fix: 335763360
Test: Manual test
Test: atest passed
Change-Id: I68fa6bb12c2039899c0a3d0d2aef7f7946b717d1
2024-04-19 05:12:37 +00:00
mxyyiyi
6853021975 Add content description string for '<1%'.
Bug: 322855583
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage
Change-Id: I704a591ab4cba21644e86457c2dd1000ceecc291
2024-04-19 12:21:55 +08:00
mxyyiyi
3950632041 Help talkback to read the hyphen of time frame '{day}{time}-{time}'
Talkback Hover: https://screenshot.googleplex.com/6Z5KMhXRPRWrqh9
Talkback Click: https://screenshot.googleplex.com/5iYVWXE95rgH98D

Bug: 322855775
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage
Change-Id: I54b78e9e29c67d514c0346ddae8331450bf53f01
2024-04-19 12:18:57 +08:00
mxyyiyi
08d4b7a2ae Log optimization mode for app usage in BatteryUsageSlot.
Bug: 335374932
Test: atest ConvertUtilsTest
Change-Id: Icf86b9bee58b3b70d99e166d9fce0dfd7e30dea3
2024-04-19 10:58:15 +08:00
Becca Hughes
862e71b73d Merge "Fix bug where empty section is sometimes shown" into main 2024-04-18 22:08:29 +00:00
josephpv
58050a6f56 Update string in Delete private space dialog
Screenshot : go/ss/BuyAQZLToiv3z3K.png

Bug: 335454847
Test: Manual
Change-Id: I95c8472f494793212d10d8968017780b3739c294
2024-04-18 20:06:51 +00:00
Becca Hughes
1c3fb49913 Fix bug where empty section is sometimes shown
There is a bug where the empty section is
sometimes shown for additional providers. This
is because the logic for calculating the
visibility gets the providers and then the
logic for displaying the list gets the providers
and can result in getting out of sync. This aligns
both sets of logic to use the same data.

Test: ondevice & unit
Bug: 330163369
Change-Id: Icf71c78d67d55c929476f8e699d5893e60a49776
2024-04-18 19:52:15 +00:00
josephpv
8c45e82c35 Remove logs revealing private space existence
With this change logs which can reveal private space existence when
private space is locked are removed.

Bug: 334040689
Test: Manual
Change-Id: I09e01db839569ca5cc995b72ece6fe25916788a8
2024-04-18 19:00:12 +00:00
Treehugger Robot
29ad4163c2 Merge "When erasing an eSIM, verify the device screen PIN lock if one is set." into 24D1-dev 2024-04-18 17:46:59 +00:00
Chun-Ku Lin
0245c465b9 Merge "Update footer text whenever the ScreenPinningSettings is shown" into main 2024-04-18 17:25:17 +00:00
Rafael Higuera Silva
6389239f76 Merge "Add logic to log interaction of RAC warning dialog." into 24D1-dev 2024-04-18 16:28:38 +00:00
Matías Hernández
c19aba4115 Remove TODO which is resolved by changes in ZenModeHelper
Bug: 326061620
Test: N/A
Change-Id: Ibbf025341c8c1705253accccc5a07b568de6f34a
2024-04-18 17:38:31 +02:00