Commit Graph

14713 Commits

Author SHA1 Message Date
Trevor Black
6c0a701540 Merge "Remove extra app info setting under specific condition" into sc-dev 2021-06-02 18:13:01 +00:00
Julia Reynolds
eb838f2eef Revert DND toggle back to a button
Test: manual, Robotests
Fixes: 188616179
Change-Id: I70b469ff6ef809056c9eceec7f87f91aed9a23ca
2021-06-02 11:31:59 -04:00
Yanting Yang
90a9714cc0 Deprecate silky flag for official release
- Turn on the collapsing toolbar by default.
- Remove the silky flag from All apps page.
- Ignore tests of ChooseLockGenericTest and trace it on b/179136903.
- Remove silky flag.

Fixes: 183670633
Bug: 179136903
Test: robotests & visual
Change-Id: Iee2a9e7ccaebd1624f995af4fd45446142e5f500
2021-06-02 15:18:33 +00:00
kholoud mohamed
c9eeabb378 Fix failing test in InteractAcrossProfilesSettingsTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesSettingsTest
Fixes: 188947450
Change-Id: Ie69332abd9d5072ba7be9067c0d4aef9b5f03503
2021-06-02 16:03:09 +01:00
Stanley Wang
60cf6b0bb7 Merge "SettingsMainSwitchPreference should display the restricted icon if it is restricted." into sc-dev am: b4b35a8c38 am: 55ee50d381 am: 72983e34fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14758319

Change-Id: Ie8fe5b6dc928537c1a28c3c65a0fbc7a830b590d
2021-06-02 08:46:03 +00:00
Trevor David Black
c3fc64cbb0 Remove extra app info setting under specific condition
Bug: b/189585202
Test: Settings -> Apps -> App -> ExtraAppInfo
Change-Id: Ibdd86607bfdf2879ad3461b35c72964671827854
2021-06-02 08:34:36 +00:00
Stanley Wang
b4b35a8c38 Merge "SettingsMainSwitchPreference should display the restricted icon if it is restricted." into sc-dev 2021-06-02 08:05:57 +00:00
TreeHugger Robot
978ce53b58 Merge "Apply sliding transition to trust agent." into sc-dev am: fffda8de08 am: 6907efdb72 am: eadbf50bc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14786716

Change-Id: I4a7c4f244b82affe3281363ae7f230172a5c5334
2021-06-02 07:22:55 +00:00
Menghan Li
c2af625d7c Merge "Fix the link text "Learn more" in the accessibility pages with help links could not convey the link's purpose clearly" into sc-dev am: 58ed6a90fe am: 884fcfd72d am: c3e83e5106
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702759

Change-Id: I2b553dc0ce8a50c932442828258a65338b8d39c5
2021-06-02 07:22:28 +00:00
TreeHugger Robot
fffda8de08 Merge "Apply sliding transition to trust agent." into sc-dev 2021-06-02 06:39:03 +00:00
Menghan Li
58ed6a90fe Merge "Fix the link text "Learn more" in the accessibility pages with help links could not convey the link's purpose clearly" into sc-dev 2021-06-02 06:26:00 +00:00
Tim Peng
4150049498 Remove flake error for AdvancedBluetoothDetailsHeaderControllerTest
Bug: 188871826
Test: make -j50 RunSettingsRoboTests ROBOTEST_FILTER=AdvancedBluetoothDetailsHeaderControllerTest
Change-Id: If61140213d37b03188cba0c8f49baf3bb9b7f00e
2021-06-02 14:11:34 +08:00
TreeHugger Robot
7233b95761 Merge "Further refactoring on ActionDisabledByAdminDialog classes." into sc-dev am: 9e1e5ddb72 am: 1744af0d97 am: 282050ce95
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14700128

Change-Id: Ic30fef16736f22437770a8365cf4d8c50ef39fdb
2021-06-01 21:06:04 +00:00
TreeHugger Robot
9e1e5ddb72 Merge "Further refactoring on ActionDisabledByAdminDialog classes." into sc-dev 2021-06-01 20:13:24 +00:00
YUKAI HUNG
0c7474742e Merge "Set default locale in the testing environment to avoid flaky test" into sc-dev am: 3940e5293c am: 4e55c543fa am: 5175e915c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14782142

Change-Id: Iad932bcb4ccc9f1153fa1e61c019155705fe2e8a
2021-06-01 10:17:58 +00:00
Syaoran Kuo
47328cc97b Adjuest battery saver component test for new logic
1. Remove 1 case for spec change.
2. Change UI finding for switch on/off button.

Test: atest com.android.settings.fuelgauge.batterysaver.BatterySaverButtonPreferenceControllerComponentTest
Bug: 185750890
Change-Id: I0612d31b351db8622ac705b46eae1a448bfb3273
2021-06-01 10:15:59 +00:00
Yi-Ling Chuang
e7c769fe02 Apply sliding transition to trust agent.
- Also rename the extra of page transition.
- Remove useless code while starting activity from fragment.

Bug: 187542491
Test: robotest and manually went through trust agent flow.
Change-Id: I55419f23db7fa77281039e642bde5558c17dce0f
2021-06-01 16:39:13 +08:00
ykhung
7a6bd1e4a4 Set default locale in the testing environment to avoid flaky test
from the error message, looks like some testing environment cannot get the default locale settings to cause it crash. we will et the default locale before testing to avoid such condition.

Bug: 188947451
Test: make SettingsgRoboTests
Change-Id: I6ec9abba41d72c205426df8710eae5b83a841f46
2021-06-01 07:51:15 +00:00
Zoey Chen
511be24bbf Merge "[ProviderModel] Use category to separate physical SIM and e-SIM" into sc-dev am: c968a80ff6 am: 67551e8dd2 am: fe8f6a1c99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14732243

Change-Id: If6761df2973935dde4080c29899314bdbccc92d6
2021-06-01 03:21:17 +00:00
Zoey Chen
c968a80ff6 Merge "[ProviderModel] Use category to separate physical SIM and e-SIM" into sc-dev 2021-06-01 02:16:08 +00:00
Zoey Chen
71fada3af8 [ProviderModel] Use category to separate physical SIM and e-SIM
Mock from UX: https://screenshot.googleplex.com/4kscwJvoQE7vwF3.png

Implementation UI: https://screenshot.googleplex.com/AEeVzLi364KiPGa.png

Bug: 187071119
Test: atest NetworkProviderSimListControllerTest
Test: atest NetworkProviderSimsCategoryControllerTest
Test: atest NetworkProviderDownloadedSimListControllerTest
Test: atest NetworkProviderDownloadedSimsCategoryControllerTest

Change-Id: Ia84bebe6ea431cdbae19f3e4b840f7cd56dc2d6f
2021-05-31 23:59:37 +08:00
TreeHugger Robot
ed6c25eefe Merge "Reduce flickers when launching Storage Settings" into sc-dev am: 0462ffaffc am: c73a8cff20 am: 29671a86d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14716098

Change-Id: Id4df6e798f2192d49e77aa80cffa9ccb51e74eb0
2021-05-31 15:09:49 +00:00
TreeHugger Robot
0462ffaffc Merge "Reduce flickers when launching Storage Settings" into sc-dev 2021-05-31 14:16:05 +00:00
Bonian Chen
ca83d9e631 Merge "[Settings] Code refactor - NetworkSelectSettingsTest" 2021-05-31 13:45:07 +00:00
Arc Wang
96b6106f2f Reduce flickers when launching Storage Settings
This change remove unnecessary UI dpdate of
StorageItemPreferenceController.

- For StorageItemPreferenceController:
  Remove UI update at #displayPreference since onLoadFinished will update.
  Don't update order at #setVolume since onLoadFinished will update.

- StorageDashboardFragment & StorageCategoryFragment update
  StorageItemPreferenceController only when both StorageInfo
  and StorageResult are loaded.

Bug: 185547228
Test: atest com.android.settings.deviceinfo
      atest com.android.settings.deviceinfo.storage
      make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo
      make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo.storage
      manual visual
      Click each file category to count files size is the same as
      displayed in Storage Settings.
      manual visual
Change-Id: Id449003827a3e340e7a90f706152100b5568f834
2021-05-31 12:48:02 +00:00
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