History log of /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/CustomizationParamsTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
76c9d6f39b203080117409b1548eea0aeb60ef47 30-Jan-2018 Tony Mak <tonymak@google.com> Cleanup CustomizationParams

1. Consolidate mainColor, swiperColor and and buttonColor into mainColor
2. Instead of hardcoding suw_color_accent_glif_v3, we should resolve
the accent color in runtime. It is because different colors are
used in different GLIF themes.

Test: atest ManagedProvisioningTests

Change-Id: I8774c07217976144099a240f136e8478de157d4c
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/CustomizationParamsTest.java
31768d775132b1e927113de3d1038cab133b2fe3 30-Jan-2018 Tony Mak <tonymak@google.com> Allow to specify a different color for statusbar

Also, changed the default colors accordingly.
1. Main color -> #1A73E8
2. Status bar color -> white
3. Swiper color -> #1A73E8

PS: The provision intent no longer affects the default colors.

We may consider to consolidate "mainColor", "buttonColor" and
"swiperColor" into just "mainColor" if we confirm with UX that
they are always the same color.

BUG: 70621340
Change-Id: I4ea055e37adb41cdfccaf7386aea11b5a492e66d
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/CustomizationParamsTest.java
b0e275f0511cfe10c698d6a260fcfdb194e7c810 13-Feb-2017 Jakub Gielzak <jgielzak@google.com> Customization (icon and colors) bugfix / tests

* Fixed default color issue in the PreProvisioning screen on Managed Profile (b/35342403).
* Added tests for colors and logo (b/30491951).

Bug: 35342403, 30491951
Test: runtest managed-provisioning

Change-Id: I7114095478fa8cdf4ada08013d28b1ecf0ca606f
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/CustomizationParamsTest.java
b92e69a492251fc72ae1cd0a29f7206678bd3a31 08-Feb-2017 Benjamin Franz <bfranz@google.com> Add robolectric tests to managed provisioning

Test: runtest managed-provisioning
Test: make RunManagedProvisioningRoboTests
Change-Id: Ib0231d1838bf4d26b38c489da938da9d04f96f48
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/CustomizationParamsTest.java