Derek Jedral
8802d4c085
Merge "getAuthority using resolveContentProvider" into main
2024-04-01 21:26:41 +00:00
Derek Jedral
9cdb54315e
getAuthority using resolveContentProvider
...
Gets the provider info directly by providing the authority, rather than
getting all providers, and then finding the matching authority. This
should be much more efficient.
Test: local test, confirm entry point still appears
Bug: 316799867
Change-Id: I9b98cff3b8f19a6cab8dd64b433a2b3129546ada
2024-04-01 17:41:01 +00:00
Fan Wu
ac1c5c7274
Ignore MainClearTest as it's crashing Postsubmit process
...
Bug: 329736064
Test: atest
Change-Id: Ia3f60a525247566f74cd93598800043581a4fc83
2024-04-01 16:59:33 +08:00
Kyle Zhang
6565292c71
Merge "Modify test to accomodate unchangable flag" into main
2024-03-29 20:58:10 +00:00
Jason Chiu
6ca5c992d7
Merge "[Safer intents] Permission controller" into main
2024-03-29 09:20:28 +00:00
Joseph Vincent
7e3d30c95f
Merge "Change Never Option to lock private space after device restart" into main
2024-03-28 22:39:13 +00:00
Kyle Zhang
e99e5f39c4
Modify test to accomodate unchangable flag
...
Bug: 301669353
Change-Id: I6d5857d2e414a0c87e1a6212bf36da1bcb5fcbdf
2024-03-28 20:10:54 +00:00
josephpv
d4f5641c55
Change Never Option to lock private space after device restart
...
Bug: 324208974
Test: atest AutoLockPreferenceControllerTest
Change-Id: Ia45f7f02f407808eaa9a061ae32480c354bdfb74
2024-03-28 11:16:23 +00:00
Jason Chiu
cf13dfd4c6
[Safer intents] Permission controller
...
To avoid implicit intents, make intents launch explicitly.
Test: build, manual
Bug: 323061508
Change-Id: Ib95b417fc8682f690890fc55f321b4fece2c0369
2024-03-28 17:09:37 +08:00
Kyle Zhang
be7215cc51
Merge "Use new naming for Widevine Developer option." into main
2024-03-27 18:54:40 +00:00
Kyle Zhang
fc21e32cb3
Use new naming for Widevine Developer option.
...
Bug: 301669353
Change-Id: Idf9802fc6bbffdc81c9c0fa3527dc3eb7efbf2a1
2024-03-25 22:04:51 +00:00
josephpv
31a793dfcf
Enabling private space unit tests in presubmit
...
Bug: 330755765
Test: atest SettingsUnitTests
Change-Id: Iad53a5425238d933af96d4ef8c3f3fd8c04347f7
2024-03-25 12:38:39 +00:00
Allen Su
ab18169773
[ToA]Cache system gender to reduce unnecessary IPC
...
Bug: 312324895
Test: atest TermsOfAddressNotSpecifiedControllerTest
atest TermsOfAddressNeutralControllerTest
atest TermsOfAddressMasculineControllerTest
atest TermsOfAddressFeminineControllerTest
Change-Id: Idee2cc1ece673092c94307b8812f032f7826c16a
2024-03-22 09:17:09 +00:00
Treehugger Robot
937693d538
Merge "Add new Cellular Network Security page" into main
2024-03-19 16:15:32 +00:00
yomna
5599de4fb5
Add new Cellular Network Security page
...
Test: m & atest CellularSecurityNotificationsDividerControllerTest CellularSecurityNotificationsPreferenceControllerTest CellularSecurityEncryptionDividerControllerTest CellularSecurityPreferenceControllerTest
Bug: b/318428717
Change-Id: I4a6ec5f47beb36bd455e04c2e6c4cea0ba65110f
2024-03-18 21:22:10 +00:00
Chun-Ku Lin
5cdf972b50
Make QS shortcut type as default preferred shortcut for A11yService that
...
associate with a TileService
Bug: 322712028
Test: manual (Turn on the shortcut for the first time for various
feature with or without tile. Verify only the A11yService with tile
would show QS as the shortcut when directly turn on the main shortcut
toggle)
Test: atest com.android.settings.accessibility
Flag: aconfig android.view.accessibility.a11y_qs_shortcut
Change-Id: I569b417639d2db8b7eddd818a2b9037ed4be2509
2024-03-18 00:14:43 +00:00
Treehugger Robot
6b6aa30bdc
Merge "[i18n] Fix tests for RegionalPreference and TickButtonPreference" into main
2024-03-15 14:02:43 +00:00
Zoey Chen
fe5e153a12
[i18n] Fix tests for RegionalPreference and TickButtonPreference
...
Bug: 329808623
Test: atest TermsOfAddressNotSpecifiedControllerTest
Test: atest TermsOfAddressFeminineControllerTest
Test: atest TermsOfAddressNeutralControllerTest
Test: atest TermsOfAddressMasculineControllerTest
Test: atest FirstDayOfWeekItemListControllerTest
Test: atest TemperatureUnitListControllerTest
Change-Id: I8f00e423799be75a222078247116558f3bb6b34b
2024-03-15 10:20:20 +00:00
Chaohui Wang
167f9d4166
Merge "New countryIfOriginLabel" into main
2024-03-15 08:46:14 +00:00
Joseph Vincent
f2f44f50de
Merge "Add entrypoint for Learn More in PS settings & Setup intro" into main
2024-03-15 07:39:16 +00:00
Chaohui Wang
87318b10cd
New countryIfOriginLabel
...
And display this label as fallback when Regulatory Image is missing.
Bug: 329378943
Test: manual - on SIMs
Test: unit test
Change-Id: I0b8851da20face9ca444b3e6456a4a662b944b65
2024-03-15 15:25:55 +08:00
Kangping Dong
b0c7563cdf
Merge "[Thread] use dedicated flag for Thread settings" into main am: 33722b512a
am: c19a1094d7
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3002558
Change-Id: I1c28a4a870b8ded5aad1b32e1e4e7f505d580138
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-03-14 06:19:07 +00:00
Kangping Dong
08dd96fd8f
[Thread] use dedicated flag for Thread settings
...
a larger THREAD_ENABLED_PLATFORM flag which guards all Thread-related
platform changes is used for the Thread settings change. But we need
more flexible control of the UX release timeline. So use a dedicated
THREAD_SETTINGS_ENABLED flag here.
Bug: 329384658
Change-Id: Ib5b3ae3c71ccc890fc46af982b021858774938f3
2024-03-13 18:28:45 +08:00
Joseph Vincent
d003fb1be8
Merge "Show Alert dialog on Hide when locked is enabled" into main
2024-03-12 17:04:44 +00:00
josephpv
1af33733c6
Add entrypoint for Learn More in PS settings & Setup intro
...
Screenshots:
go/ss/RXhN57DSuSj7aQf.png
go/ss/5xcbx3mWeo2sZ37.png
Bug: 326059389
Test: atest PrivateSpaceFooterPreferenceControllerTest
Change-Id: I72beb1a04ea11909643dd6b455575478cfb5d87c
2024-03-12 16:15:53 +00:00
josephpv
3c97c63d62
Show Alert dialog on Hide when locked is enabled
...
Bug: 325398789
Test: atest HidePrivateSpaceControllerTest
Change-Id: I6bfa3546b3ba56905918f8fd44c5351bf2d284b8
2024-03-12 10:35:56 +00:00
Treehugger Robot
3c26c93bd5
Merge "Add new dialogue when user is going to delete multiple sims where aleast on of them use RAC." into main
2024-03-12 05:45:06 +00:00
Rafael Higuera Silva
9ac44b3aae
Add new dialogue when user is going to delete multiple sims where aleast on of them use RAC.
...
Test: make, manually test, atest com.android.settings.network, atest SubscriptionUtilTest
Bug: 328649505
Change-Id: I0c6fb7b5407179ec6850ece47f486b64759e2d1c
2024-03-11 23:29:30 +00:00
Aditi Katragadda
d983741f07
Merge "Enable Bluetooth stack logging from Developer Options UI Element" into main
2024-03-08 19:17:04 +00:00
Chun-Ku Lin
9cf7f6e861
Merge "Show QS shortcut option if the a11y feature provides a tile." into main
2024-03-08 17:20:15 +00:00
Aditi Katragadda
5c98e0fbcc
Enable Bluetooth stack logging from Developer Options UI Element
...
The goal is to be able to enable different log levels for Bluetooth
stack logging from Developer Options in Settings. This is done by
creating a Bluetooth property which houses the current state of the log
level, adding the required UI elements and linking the two together.
Tag: #feature
Bug: 307330446
Test: atest BluetoothStackLogPreferenceControllerTest
Change-Id: I8665b17622218743aa00250118b718d5cabdb9fc
2024-03-07 23:59:10 -08:00
Sudheer Shanka
34bd0481df
Merge "Remove the developer option to control Quarantine app state." into main
2024-03-07 19:39:55 +00:00
Chaohui Wang
4b0090700a
Merge "Migrate the "Use this SIM" preference" into main
2024-03-07 12:43:52 +00:00
Olivier Nshimiye
b816437d39
Merge changes from topic "add-ps-features-flag" into main
...
* changes:
Add Private Space features flag check to Settings tests
Add an additional flag guard for Private Space implementation
2024-03-07 10:48:58 +00:00
Chaohui Wang
186629aad4
Migrate the "Use this SIM" preference
...
This will fix the toggle flicker issue.
Fix: 262179656
Test: manual - on Mobile Settings
Test: unit test
Change-Id: Ided2445034a83a8efc11dc97bab8719686d63712
2024-03-07 17:48:09 +08:00
Chun-Ku Lin
8b67c17a7b
Show QS shortcut option if the a11y feature provides a tile.
...
Bug: 314852953
Test: atest com.android.settings.accessibility
Test: atest com.android.settings.accessibility.shortcuts
Test: manual
Flag: ACONFIG android.view.accessibility.a11y_qs_shortcut STAGING
Change-Id: Id7a6b3adfd4c4f3cb2b9f7fe15269b57a3d00543
2024-03-06 20:26:28 +00:00
Sudheer Shanka
07251c8262
Remove the developer option to control Quarantine app state.
...
Bug: 305256093
Test: manual
Change-Id: I28cfb3f1e6c5d3bdab77b7eae2262a03909c45f7
2024-03-06 06:02:38 +00:00
Chaohui Wang
4dbc23ca28
Create NetworkScanRepository
...
And migrate network scan to flow for better maintenance and prevent ANR.
Fix: 323105271
Test: manual - Choose network
Test: unit test
Change-Id: I5c49d195fc202143c0131ffd78bc3adc168b119c
2024-03-05 21:45:18 +08:00
SongFerng Wang
b321e4ca34
Merge "Fix the test case failed" into main
2024-03-05 10:02:02 +00:00
songferngwang
29286ec8c3
Fix the test case failed
...
-Add flag FLAG_IS_DUAL_SIM_ONBOARDING_ENABLED
-Add mock for SubscriptionManager.createForAllUserProfiles
Bug: 323652989
Test: atest NetworkProviderCallsSmsFragmentTest
atest SubscriptionsPreferenceControllerTest
atest DefaultSubscriptionControllerTest
atest DisableSimFooterPreferenceControllerTest
atest MobileDataPreferenceControllerTest
atest MobileNetworkSwitchControllerTest
atest MobileNetworkUtilsTest
atest NetworkSelectSettingsTest
Change-Id: I4d473140f291daec0f8e56c01bd8f7cfa2d0c82e
2024-03-04 22:35:38 +00:00
Manish Singh
55e9f41bda
Return true only if the userManager belongs to private profile
...
The existing code asks the main user's userManager if there's a
private profile belonging to it. If a private profile exists then the
answer to that question will always be true. So, we always end up
showing the apps from the private profile for the personal case.
We should instead ask the userManager if it belongs to the private
profile or not.
Bug: 327598131
Test: manual
Change-Id: I7bc9d58c371341235579d3456b54ea85f598892b
2024-03-04 18:26:58 +00:00
Olivier Nshimiye
b4e6f20567
Add Private Space features flag check to Settings tests
...
Adding this flag check since we are putting all the implementations of Private Space features behind this flag.
Bug: 326060689
Test: Run presubmits and verify that nothing breaks
Change-Id: I2c0e9a1afc3787232425f79d06d4aeba001283ec
2024-03-04 15:43:47 +00:00
SongFerng Wang
71c6c3e557
Merge changes I96574a79,I74681222 into main
...
* changes:
Fix the testcase failed
Add the log for SidecarFragment
2024-03-04 12:27:37 +00:00
songferngwang
c9a3eeb792
Fix the testcase failed
...
Add mock for SubscriptionManager.createForAllUserProfiles
Bug: 323652989
Test: atest MobileNetworkPreferenceControllerTest
Change-Id: I96574a79eba581db95d387f0d9c9fde2e004c41c
2024-03-04 10:58:22 +00:00
SongFerng Wang
d94a556939
Merge "Fix SimDialogActivityTest" into main
2024-03-04 08:48:11 +00:00
Weng Su
1a2d60a867
Merge "Ignore failed Wi-Fi unit tests" into main
2024-03-04 03:47:47 +00:00
Weng Su
777157b5b4
Ignore failed Wi-Fi unit tests
...
Bug: 323645528
Flag: None
Test: unit test
atest -c SettingsUnitTests:RequestToggleWiFiActivityTest \
SettingsUnitTests:WifiDialog2Test \
SettingsUnitTests:WifiUtilsTest
Change-Id: I8d3ddb1eb775b8758cb359cac4dac39bb9c8dfed
2024-03-04 06:07:40 +08:00
songferngwang
3f6d1dc3e5
Fix SimDialogActivityTest
...
Can't create handler inside thread
Bug: 323649089
Test: atest SimDialogActivityTest
Change-Id: I678a1a1841ab1e1cd87c358fbb3d52cbfb55dbe4
2024-03-02 14:45:47 +00:00
Treehugger Robot
29e984b13a
Merge "settings(dev): Remove NFC stack logging control" into main
2024-03-02 02:16:24 +00:00
Kangping Dong
830d4c0b1e
Merge "[Thread] add Thread toggle in settings" into main am: 522e193947
am: abd5f23fe9
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2909326
Change-Id: If086f510fe5d3b3f67b4f168f2e0d3f5e0ef98bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-29 18:25:13 +00:00