Bonian Chen
e96b889d5b
[Settings] Code refactor - NetworkSelectSettingsTest
...
Move NetworkSelectSettingsTest.java from robolectric into JUnit.
Bug: 189742455
Test: local, JUnit
Change-Id: I72066cc04ea6bdc8f7c68351e649926350fe41c9
2021-05-31 11:14:17 +00:00
Galia Peycheva
dfa53ca32f
Merge "Repurpose the blurs dev option for window blurs" into sc-dev am: 13caa482bb
am: 9573d307b5
am: 8428945580
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14734469
Change-Id: Ia8cdcf7280413cfc8ad50316ae34ccae077d3245
2021-05-31 09:23:51 +00:00
Galia Peycheva
13caa482bb
Merge "Repurpose the blurs dev option for window blurs" into sc-dev
2021-05-31 08:49:28 +00:00
Stanley Wang
9b6ead8de7
SettingsMainSwitchPreference should display the restricted icon
...
if it is restricted.
- Use the RestrictedPreferenceHelper to check the restricted state.
Fix: 179245126
Test: rebotest and see the UI
Change-Id: I3c0e3bd0f3596d6fa548b6f8f10e4d12e7e50c9a
2021-05-31 14:49:48 +08:00
TreeHugger Robot
25be0a6736
Merge "Fix test case fail in ConnectedDeviceDashboardFragmentTest" into sc-dev am: be5621e6e8
am: 9d8fe37128
am: ca94e94812
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14772151
Change-Id: I0a5dd5942eb482cee751b1f2bbea713cf70e7f78
2021-05-31 06:30:31 +00:00
Wesley Wang
b66d71be2c
Merge "Add description to battery settings footer link (2/3)" into sc-dev am: bb2f72b672
am: fc1763d93d
am: 8e85a683cb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14733190
Change-Id: I7b60f14ff1e42ad28d5ffc079760acb665dbdcfd
2021-05-31 06:07:57 +00:00
TreeHugger Robot
be5621e6e8
Merge "Fix test case fail in ConnectedDeviceDashboardFragmentTest" into sc-dev
2021-05-31 06:01:28 +00:00
Wesley Wang
bb2f72b672
Merge "Add description to battery settings footer link (2/3)" into sc-dev
2021-05-31 05:42:37 +00:00
Syaoran Kuo
6af3a05f78
Merge "Adds new test for ApplicationState sorting function." into sc-dev am: 25b846d6d5
am: e288a3f965
am: 4f3090099e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14271581
Change-Id: Ib68d8616fe22cd471bf2c5671d586b7962181075
2021-05-31 05:00:33 +00:00
Syaoran Kuo
25b846d6d5
Merge "Adds new test for ApplicationState sorting function." into sc-dev
2021-05-31 03:53:57 +00:00
Yanting Yang
d6da2c56d0
Merge "Remove silky flag from System for official release" into sc-dev am: afcb0497a8
am: 48c6cb992c
am: 6aa91313f3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14733193
Change-Id: Ie2f44fa20fd9380e6e8a7a58bbbd121d84fca668
2021-05-31 03:50:48 +00:00
YUKAI HUNG
26ee9d4e20
Merge "Resolve localization issue and refine UI for chart view" into sc-dev am: 72f0500211
am: 09ad5436d1
am: 706c11079c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14758073
Change-Id: I2f1645c814fa999ee13c298493f8823b31d79544
2021-05-31 03:39:49 +00:00
YUKAI HUNG
e2ce7c046e
Merge "Convert battery framework provided package name to valid one" into sc-dev am: b7aa32d3db
am: c277741cc0
am: b0f213bf45
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14732237
Change-Id: I587f12abfc44f2aa6866d147636093faaac6c0d3
2021-05-31 03:39:43 +00:00
Yanting Yang
afcb0497a8
Merge "Remove silky flag from System for official release" into sc-dev
2021-05-31 03:01:10 +00:00
YUKAI HUNG
72f0500211
Merge "Resolve localization issue and refine UI for chart view" into sc-dev
2021-05-31 03:00:58 +00:00
YUKAI HUNG
b7aa32d3db
Merge "Convert battery framework provided package name to valid one" into sc-dev
2021-05-31 03:00:49 +00:00
Hugh Chen
3a829025e5
Fix test case fail in ConnectedDeviceDashboardFragmentTest
...
Bug: 189589354
Test: make RunSettingsRoboTests
Change-Id: I201f7b1fbd2b7ab61b1afa1c920ee203382f54c9
2021-05-31 10:22:41 +08:00
ykhung
0caec37161
Resolve localization issue and refine UI for chart view
...
Bug: 189293866
Bug: 189407613
Bug: 189413817
Test: make SettingsgRoboTests
Change-Id: If38d133d88bb940c248ef1887548112ff576e0c4
2021-05-28 22:07:01 +08:00
Wesley.CW Wang
256636055b
Add description to battery settings footer link (2/3)
...
- Update battery saver footer learn more link description
- Update app usage footer learn more link description
Bug: 187812487
Bug: 187135286
Test: make RunSettingsRoboTests
Change-Id: Iee496cf615f2f9e0e61be69d6b3a1d6c1c859013
2021-05-28 17:40:04 +08:00
ykhung
2098665e51
Convert battery framework provided package name to valid one
...
convert battery framework provided package name to formal one, since
some returned package name will append the process name to avoid
fetching app label and icon not found. for example:
Bug: 188751551
Test: make SettingsgRoboTests
Change-Id: If59167d575154f99eba2c7bd81a1d862652ea47b
2021-05-28 13:37:32 +08:00
TreeHugger Robot
e4097b8ae9
Merge "Fix LocationSetttingsFooter robotests" into sc-dev am: 2bc0aa5537
am: d5f9f645c3
am: f6bd155c98
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14749031
Change-Id: Ie2532b64ea04b0aab05704fa504b4665ac0307e9
2021-05-28 04:08:28 +00:00
Beth Thibodeau
910d1f7aa8
Merge "Add recommendation setting and remove app settings" into sc-dev am: 8e67634830
am: b7749fd405
am: baf515ee95
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14720441
Change-Id: I300769f058b71090dee2d9581dab72c1e1332031
2021-05-28 03:06:49 +00:00
Betty Chang
4182307ec9
Merge "Adding an option to install a certificate from the CA certificate menu" into sc-dev am: b857491c48
am: 8fdf4774b4
am: 58e10e06c3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14209646
Change-Id: If3f90c94cb71b306d82bf11c609fbf1cf3be31d5
2021-05-28 03:06:35 +00:00
TreeHugger Robot
2a02febbfe
Merge "Update battery defender tip string" into sc-dev am: 029edb7c48
am: 509a09653b
am: d799e4332b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14730710
Change-Id: I0e11cdd3dd74b46bcfc04d7cfa43391469aebf86
2021-05-28 03:03:09 +00:00
TreeHugger Robot
2bc0aa5537
Merge "Fix LocationSetttingsFooter robotests" into sc-dev
2021-05-27 20:23:53 +00:00
Felipe Leme
e89c2fd4b8
Further refactoring on ActionDisabledByAdminDialog classes.
...
Bug: 184107103
Bug: 188836559
Test: m -j RunSettingsRoboTests ROBOTEST_FILTER=ActionDisabledByAdminDialogHelperTest
Test: atest ActionDisabledLearnMoreButtonLauncherImplTest
Test: adb shell am start -e android.app.extra.RESTRICTION no_install_unknown-sources -a android.settings.SHOW_ADMIN_SUPPORT_DETAILS
Test: manual verification with CtsVerifier
Change-Id: I3c4056d82834b5e2a4afbd958be7c9d0b9af543e
2021-05-27 11:27:33 -07:00
Yu-Han Yang
7a2122e35a
Fix LocationSetttingsFooter robotests
...
Bug: 189352953
Test: tests passing
Change-Id: I4ca1a53449a6b845e39bcb7423cfee2ee5c9d820
2021-05-27 11:26:00 -07:00
Beth Thibodeau
8e67634830
Merge "Add recommendation setting and remove app settings" into sc-dev
2021-05-27 16:19:17 +00:00
Betty Chang
b857491c48
Merge "Adding an option to install a certificate from the CA certificate menu" into sc-dev
2021-05-27 09:04:42 +00:00
Galia Peycheva
4b4a8c3a51
Repurpose the blurs dev option for window blurs
...
Bug: 185580298
Test: make RunSettingsRoboTests ROBOTEST_FILTER=EnabledBlursPreferenceControllerTest
Change-Id: I12e356c4a2997bf67580652e7d3fff9bb89483ac
2021-05-27 09:42:33 +02:00
Yanting Yang
5035ef9f94
Remove silky flag from System for official release
...
Remove the silky condition and clean up redundant files.
Bug: 183670633
Test: robotests & visual
Change-Id: I2743a65869c4fe2ea684e259373ddc309dea59c3
2021-05-27 13:53:18 +08:00
TreeHugger Robot
029edb7c48
Merge "Update battery defender tip string" into sc-dev
2021-05-27 05:52:19 +00:00
TreeHugger Robot
b0d278f22d
Merge "Remove silky flag from tests for official release" into sc-dev am: a8e4d51c24
am: 20f3744880
am: 631f2db980
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14733196
Change-Id: I9d19285fc67034540f51e84c4e97030e6753e7d6
2021-05-27 03:03:38 +00:00
TreeHugger Robot
a8e4d51c24
Merge "Remove silky flag from tests for official release" into sc-dev
2021-05-27 02:18:23 +00:00
Yanting Yang
098a17ccb2
Remove silky flag from tests for official release
...
Bug: 183670633
Test: robotests
Change-Id: Ie78a35cfc73632dcb638b78e952a1093926763bb
2021-05-27 03:05:55 +08:00
Rajeev Kumar
0afd586789
Merge "Ensure hibernation exemption toggle uses pre-S flag" into sc-dev am: 265dd55235
am: 4c18ba65c6
am: ad4390f270
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14725079
Change-Id: I3227b72270c88e88908c62b49710b09c5e4d7c1f
2021-05-26 17:42:32 +00:00
Rajeev Kumar
265dd55235
Merge "Ensure hibernation exemption toggle uses pre-S flag" into sc-dev
2021-05-26 16:46:58 +00:00
Beth Thibodeau
b7993699ba
Add recommendation setting and remove app settings
...
- Add a new setting to control whether smartspace recommendations are
enabled
- Remove setting to block individual apps from resumption
- Update strings for existing resume setting
Bug: 187925818
Test: atest SettingsProviderTest
Test: atest MediaControlsRecommendationControllerTest
Test: atest MediaControlsPreferenceControllerTest
Change-Id: I4bd6a420e01e8c44f4db8be477557501648cc8d7
2021-05-26 11:00:25 -04:00
TreeHugger Robot
f6fe790b46
Merge "Fix connected devices settings jank issue" into sc-dev am: 8cb761e3d7
am: 219b5551ff
am: 1ab8616bd7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702395
Change-Id: I919d4ad5372005a879dba92a4f66ddf375015bf3
2021-05-26 13:22:42 +00:00
Weng Su
befa054914
Merge "[Provider model] Add "See all" text link to Internet Panel" into sc-dev am: 9512d53697
am: 3ada3bd0b4
am: 085975957f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14716195
Change-Id: I8874a98ae63cb51b52b92e58a3bbfc36e34052d3
2021-05-26 12:37:10 +00:00
Weng Su
d03002319c
Merge "[Provider model] Add "Turn off/on Wi-Fi" link to Internet Panel" into sc-dev am: 59f7b677fe
am: d9a3515d36
am: e4b37f5333
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702752
Change-Id: Id72beec5954fb4cd875166b8969c6d7171255a48
2021-05-26 12:37:03 +00:00
TreeHugger Robot
8cb761e3d7
Merge "Fix connected devices settings jank issue" into sc-dev
2021-05-26 12:36:44 +00:00
Weng Su
9512d53697
Merge "[Provider model] Add "See all" text link to Internet Panel" into sc-dev
2021-05-26 11:45:00 +00:00
Weng Su
a2084a63c6
[Provider model] Add "See all" text link to Internet Panel
...
- Add "See all" text link at the bottom of the network providers list
- Don't show "See all" text link if the Wi-Fi network is empty
Bug: 188710392
Test: manual test
atest -c ProviderModelSliceTest
Change-Id: If99c1e6597b4d2ef6a916fbdab3df9cfad8b464e
2021-05-26 11:44:09 +00:00
Weng Su
59f7b677fe
Merge "[Provider model] Add "Turn off/on Wi-Fi" link to Internet Panel" into sc-dev
2021-05-26 11:43:49 +00:00
YUKAI HUNG
7045ec0b67
Merge "Disable app usage item if this item is not clickable" into sc-dev am: 7164ec8863
am: 64a11c5a87
am: ff51d80270
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702402
Change-Id: Iba420b51045795d8ee9f42a1f030e63e020329f5
2021-05-26 09:52:23 +00:00
Hugh Chen
51b6605aef
Fix connected devices settings jank issue
...
Completed the UI in displayPreference() to fix jank issue.
Bug: 188752628
Test: make RunSettingsRoboTests
Change-Id: Ib97b76e1b8622424ad481597f63d3540fb0bfc5b
2021-05-26 17:37:13 +08:00
Weng Su
7b8c367d4f
[Provider model] Add "Turn off/on Wi-Fi" link to Internet Panel
...
- Replace the left menu button with "Turn off/on Wi-Fi"
- Remove the TurnOnWifiSlice
- Show "Wi-Fi is off" sub-title when Wi-Fi is disabled
- Remove the "Wi\u-Fi is turned on" sub-title when APM is on.
Bug: 188710392
Test: manual test
atest -c InternetConnectivityPanelTest
make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.panel
Change-Id: I53e200f6cadf8b712bf794bcbd5ff79f0f239cc0
2021-05-26 17:22:38 +08:00
changbetty
916bac8f2e
Adding an option to install a certificate from the CA certificate menu
...
For CA ceritificate we only can install in Network Preferences > Advaned
> Install certificates. So we add the option for user to install when
you setup the wifi network. After you install the certificate, you can
see the certificate in your menu.
Bug: 176998563
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiConfigController2Test
Change-Id: I532b12f9277c6a15c649907fa3711c807566c88e
2021-05-26 16:37:14 +08:00
Wesley Wang
1eaac06288
Merge "Add new battery entry into AppInfo page launch variable" into sc-dev am: a967b88ee4
am: 92f6d4fdf3
am: da5b7ee353
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14639372
Change-Id: I5c78387f18d1d953828f7cee39b489b08238b97d
2021-05-26 07:57:42 +00:00