The theme seems to have stabilized to always have a colored
'colorAccent'. Hence make the foreground always white as the previous
attibute causes a black icon on light blue background which was quite
ugly.
Test: Looked at UI in dark more and regular mode
Change-Id: If3031daa0c8dceced8cc62810054b60e20cfb805
Also back up historical printer usage data (used to select default
printer).
The historical printer usage contains the physical location of the
printer (determined by using the permission). The data is only used by
this app and is not sent off the device beside for backup. The backup
data is not further analyzed.
Test: Built
Change-Id: I42f562ef264d49c32ff016ca1677e76cc2a2af13
See build/soong/README.md for more information.
Bug: 80095087
Test: atest PrintSpoolerOutOfProcessTests
Change-Id: I9d641b9c480745ccee323aa0f758cd6a146e0638
In this case the mUpdateSpec will be marked as stale once the command
is done, hence we have to start from scratch.
Fixes: 117124112
Test: - Reproduced scenario in bug
- atest CtsPrintTestCases
Change-Id: I98e11d28147bae638d68b2124507d04f825a392f
Otherwise the foreground is always white.
Fixes: 115830710
Test: Looked at print dialog in light and dark mode
Change-Id: I921106a70dd9ae23d8d64f746e17eef77ca5439c
- replace png's by vector graphics
- Use alredy existing icons if possible
- Remove unnnecessary hard coded color values
- hard code all colors for preview-page as the background colors are
hard coded, hence foreground also needs to be hard coded.
- Unify layout of loading/error/select printer UI
Test: Looked at print spooler. Switched theme to dark and checked if all
looks ok too.
Change-Id: I07cc619d575c7372bd18550db8f2582df657cc5c
more specifically while any print job is
- queued (ready to be printed but not yet printing)
- started (actually printing right now)
- cancelling (printing, but cancel request has been sent)
Test: - Printed successfully
- Canceled print job
- Had print job that blocked
Wake locks looked fine while doing all this
Fixes: 74811014
Change-Id: Ia1a3327bd55fb7f3cc7ecb330d7d2c141d4fdb34
See build/soong/README.md for more information.
Test: m libframeworks_coretests_jni
Test: m FrameworkCoreTests_install
Test: m libshim_jni
Test: m CtsShimPrivUpgrade
Test: m libfilterfw
Test: m PMTest_Java_dual
Test: m libdefcontainer_jni
Test: m libperftestscore_jni
Test: m libpmtest32 libpmtest64
Test: m libprintspooler_jni
Test: m libsmartcamera_jni
Test: m idmap
Test: m libdrmframework_jni
Test: m libdvr_loader com.google.vr.platform com.google.vr.platform.xml
Test: m libfilterpack_imageproc libfilterpack_base
Test: m libwebviewchromium_loader
Test: m shared_mem_test
Test: m test-touchlag
Change-Id: I868561dd237fa28647896d59049ab9260373ada1
Most functionality works, but the PrintActivity cannot directly interact
with the instant service.
As instant services should only appear in tests this functionality needs
to be enabled via shell commands.
Fixes: 79484768
Test: cts-tradefed run commandAndExit cts-instant-dev -m CtsPrintTestCases
cts-tradefed run commandAndExit cts-dev -m CtsPrintTestCases
Change-Id: Ie4663c72b8c0f959b5d172ef28875479d120e386
This reverts commit 431d9d63e993c6056e95811e9a84869aa324e7a0.
Reason for revert: Rolling forward with a fix.
Change-Id: I5804e240535b84e0f4b2d306649b1981a9871632
Merged-In: I5804e240535b84e0f4b2d306649b1981a9871632
Bug: 74118164
Test: atest cts/hostsidetests/theme
This reverts commit 431d9d63e993c6056e95811e9a84869aa324e7a0.
Reason for revert: Rolling forward with a fix.
Change-Id: I5804e240535b84e0f4b2d306649b1981a9871632
Bug: 74118164
Test: atest cts/hostsidetests/theme