Commit Graph

137048 Commits

Author SHA1 Message Date
FanWu
c9eb27c62c Ignore failing tests under com.android.settings.wifi.details
Bug: 313536962

Test: atest
Change-Id: I8f2152e29fe8db0463ea1cbf5ab1e388e17366dd
2023-11-28 10:42:05 +08:00
Treehugger Robot
63b69694f6 Merge "Updated error text color for pin/pass" into main 2023-11-28 01:40:53 +00:00
Fan Wu
a808cbe11d Merge "Ignore failing tests under com.android.settings.biometrics" into main 2023-11-28 01:34:27 +00:00
Fan Wu
9b17f30108 Merge "Ignore failing tests under connecteddevice/" into main 2023-11-28 01:34:08 +00:00
Joshua McCloskey
6904a341de Updated error text color for pin/pass
Test: Manually verified color was different.
Fixes: 281957374
Change-Id: If03efe588c82649d9898e7818511cec2a2b207df
2023-11-28 00:24:50 +00:00
Omer Ozer
b347d32b31 Merge "Change the existing permission to a system level perm for factory reset prep." into main 2023-11-27 22:57:32 +00:00
Treehugger Robot
958a6ab7aa Merge "Remove unnecessary flag check" into main 2023-11-27 19:05:22 +00:00
Manish Singh
62692bf6eb Merge "Put stricter flag checks" into main 2023-11-27 18:53:53 +00:00
Manish Singh
eaafcbcb28 Remove unnecessary flag check
This code is to remove the user which shouldn't be shown when in quiet
mode - if anything, it's better to keep this not behind the flag.

Also, the user property is not behind the flag.

Bug: 312976400
Test: manual
Change-Id: Ic66a53bf7608848df223914b0fe78ed00b86db70
2023-11-27 17:39:16 +00:00
Kevin Liu
bc69be0ff6 Merge "Temporarily ignore the tests that time out the execution" into main 2023-11-27 16:53:43 +00:00
FanWu
11ecd1f626 Ignore failing tests under connecteddevice/
Bug: 313362757

Test: atest
Change-Id: Ic9c6c1f071c403c7df5d5539cc44a401ac500774
2023-11-27 15:29:23 +08:00
Chaohui Wang
b848685b8d Merge "Clean up Contextual Wifi card" into main 2023-11-27 06:55:55 +00:00
Chaohui Wang
357076d03d Merge "Remove injecting developer options into Settings itself" into main 2023-11-27 06:49:55 +00:00
Chaohui Wang
30c8254cfd Merge "Clean up unused SummaryProvider" into main 2023-11-27 06:49:47 +00:00
Chaohui Wang
34c4deb6c9 Clean up Contextual Wifi card
Bug: 245854887
Test: m RunSettingsRoboTests
Change-Id: I3b4ccc076a68eadc11e9fb3d2967a34fe0396cf9
2023-11-27 13:59:33 +08:00
Chaohui Wang
ee7139a889 Remove injecting developer options into Settings itself
- It can improve performance because we use less injected item
- Also use RestrictedPreference instead just checking restrictions,
  so we follow policy transparency.

Note: Renamed DevelopmentSettingsDashboardActivity to
DevelopmentSettingsActivity,
because DevelopmentSettingsDashboardActivity could in disabled state
even after Settings upgrades, use a new name to prevent this issue.

Bug: 311604902
Test: manual - turn on / off Developer Options
Test: unit test
Change-Id: I17be117ae59e59410687e6d08fd5edd034d0508f
2023-11-27 05:12:13 +00:00
Chaohui Wang
c9ccf861c6 Merge "Clean up unused MobilePlanPreferenceController" into main 2023-11-27 05:11:53 +00:00
Chaohui Wang
7c4b3a3477 Clean up unused SummaryProvider
Remove unused content provider to improve latency.

Bug: 311604902
Test: manual - on System page
Change-Id: I3208a2fe341337c2648733b5e11159b96f5e6908
2023-11-27 12:26:48 +08:00
Treehugger Robot
fb431d863f Merge "Temporary failing tests under com.android.settings.bluetooth" into main 2023-11-27 04:04:27 +00:00
FanWu
804dfb4fe1 Ignore failing tests under com.android.settings.biometrics
Bug: 313342682

Test: atest
Change-Id: Id16d407983c0cc323418a8765cadae2be0fd453a
2023-11-27 11:40:45 +08:00
Kevin Liu
3544c76c56 Temporarily ignore the tests that time out the execution
Fix timeout issue that cause v2/android-settings/apps/robolectric_settings_test with no result on CI

Bug: 300134365
Test: atest SettingsRoboTests
Change-Id: Ied94c6f6357d1919c37ceeca27fc1b9cb726c502
2023-11-24 23:51:55 +00:00
Manish Singh
51f1321b1e Put stricter flag checks
Also removed a log which gives away flag.

Bug: 312976400
Test: manual
Change-Id: I4a989de8b6b920666aabf0cc9311e28becc4d862
2023-11-24 18:51:27 +00:00
Treehugger Robot
b76f32ef3e Merge "Hide search results when Battery info page is disabled." into main 2023-11-24 16:50:20 +00:00
Yi-Ling Chuang
43260f6f28 Hide search results when Battery info page is disabled.
Fixes: 312639417
Test: robotest
Change-Id: I04279c4068ebb0e06b575ae2df44836d193f9bac
2023-11-24 23:56:08 +08:00
Chaohui Wang
a39905eabd Clean up unused MobilePlanPreferenceController
Which can improve the latency of "Network & internet" page.

Bug: 311604902
Test: manual - on "Network & internet" page
Change-Id: If306e93491402278ede4f20591296765b30bde37
2023-11-24 23:55:14 +08:00
Treehugger Robot
f122a93efc Merge "Add power consumption footer in screen timeout page." into main 2023-11-24 09:59:58 +00:00
mxyyiyi
027db802fe Add power consumption footer in screen timeout page.
- show this footer when there's no footer about work profile
Screenshots:
[without work profile]: https://screenshot.googleplex.com/5pAD2xBvP6QSBvY
[with work profile]:  https://screenshot.googleplex.com/7BRd6ToAjFN9QZx

Bug: 300245790
Test: manual
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.ScreenTimeoutSettingsTest"
Change-Id: I6df018d7758fbec3277179358b17eb11fa1aee34
2023-11-24 17:11:15 +08:00
FanWu
73f3015961 Temporary failing tests under com.android.settings.bluetooth
Bug: 313014781
Bug: 293405483
Test: atest
Change-Id: Ib2f4504dacd8f16acd23871e3ff26e87cab99e65
2023-11-24 07:29:37 +00:00
YK Hung
e5dc6a5cba Merge "Reset the dynamic set denylist after reboot the device" into main 2023-11-24 07:05:42 +00:00
ykhung
65260c7f5e Reset the dynamic set denylist after reboot the device
Reset the uids which are set into the POLICY_REJECT_METERED_BACKGROUND
from the dynamic configured mechanism, rather than set by users
manually, to avoid it still take effect after rebooting the device.

Bug: 306329984
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge"
Change-Id: Idc0c21350cad7e48e6a5c7190565d5364236c2cd
2023-11-24 13:59:20 +08:00
Chelsea Hao
fe934dd097 Merge "[Audiosharing] Hide / show audio streams category." into main 2023-11-24 05:21:00 +00:00
YK Hung
0b30f6a2e2 Merge "Replace the isWorkProfile method from the SettingsLib" into main 2023-11-24 05:07:31 +00:00
ykhung
7007b11228 Replace the isWorkProfile method from the SettingsLib
Replace the isWorkProfile() in the Settings with the common method
defined in the SettingsLib to avoid duplicate code

Bug: 306329984
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge"
Change-Id: Ic9b18e6b80c23f9d4fc200080224daa27cbf4a4d
2023-11-24 11:08:06 +08:00
YK Hung
ba6a19ea21 Merge "Dump the DynamicDenylistManager stored data into bugreport" into main 2023-11-24 03:03:13 +00:00
ykhung
072ccdd06a Dump the DynamicDenylistManager stored data into bugreport
Bug: 306329984
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge.datasaver"
Change-Id: If512f561b3b376ea56e0dc78c339bf254ff20060
2023-11-24 10:01:59 +08:00
Edgar Wang
a930f5eaf8 Merge "Remove injecting multi-user settings into settings itself" into main 2023-11-23 22:02:30 +00:00
Olivier Nshimiye
02399366cd Merge "Update the getHideInSettingsInQuietMode to getHideInUiInQuietMode" into main 2023-11-23 15:53:28 +00:00
Haijie Hong
e3d823cffd Merge "Skip authentication in Wifi sharing if the device is unlocked recently" into main 2023-11-23 11:42:52 +00:00
chelseahao
78a667e7ca [Audiosharing] Hide / show audio streams category.
Only show when there is an active LE buds connecting, and the source is
not currently broadcasting.

Bug: 308368124
Test: Manual
Change-Id: I2cc172a66648901ac8a7e49c5aac734b6bbc7e33
2023-11-23 11:03:16 +00:00
Haijie Hong
ec1b13eb72 Skip authentication in Wifi sharing if the device is unlocked recently
BUG: 311168955
Test: atest com.android.settings.wifi.dpp.WifiDppConfiguratorAuthActivityTest
Change-Id: I59674788e04d843541e8fcc3f3305ba295e8d8b1
2023-11-23 10:49:04 +00:00
Yiyi Shen
6ab64aa71f Merge "[Audiosharing] Set earlist connected device active in sharing." into main 2023-11-23 09:39:44 +00:00
Edgar Wang
40cc58f5a1 Merge "Update SpellCheckerPreference layout to support divider" into main 2023-11-23 07:50:41 +00:00
Yiyi Shen
b82f290fce [Audiosharing] Set earlist connected device active in sharing.
Flagged with enable_le_audio_sharing

Bug: 305620450
Test: Manual
Change-Id: I8e0132f3d982fe2723581cd2aafd3cb9a9ed409c
2023-11-23 15:40:50 +08:00
chelseahao
1e0301d70f [Audiosharing] Move getSummary to a bg thread.
Bug: 308368124
Test: Manual
Change-Id: I6d521681ce8835e5187c43f6ec930fb119f46674
2023-11-23 05:41:06 +00:00
Edgar Wang
2dfae393c4 Merge "Remove SettingsIntelligence log writer" into main 2023-11-23 03:28:13 +00:00
Chelsea Hao
73a95d165a Merge "[Audiosharing] Create preference for audio streams" into main 2023-11-23 03:19:40 +00:00
Edgar Wang
3755ba0f42 Remove SettingsIntelligence log writer
Bug: 259034522
Test: rebuild
Change-Id: I9bc4eee86a251aa30289b2d279bdb84de82d91b1
2023-11-23 09:58:33 +08:00
Bill Yi
9d45161d63 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 1c2f669606 -s ours am: 875ae1db39 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iecf78fafc8adc4ee548a7b502a1a99731c929ae9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-22 23:16:00 +00:00
Treehugger Robot
4897aa1915 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-22 21:13:29 +00:00
Treehugger Robot
94bc38cc91 Merge "Migrate Force L3 fallback to SwitchPreferenceCompat" into main 2023-11-22 20:18:41 +00:00