Bill Yi
5a77ace9d2
Import translations. DO NOT MERGE
...
Change-Id: Ia72c31e15aa0b8697ddffdbcf865ab768a8704d7
Auto-generated-cl: translation import
2017-12-12 22:59:43 -08:00
Bill Yi
2a8aa566e1
Import translations. DO NOT MERGE
...
Change-Id: I1c1b8d2908d542f4b1a26bc7e61e07ce634d53cf
Auto-generated-cl: translation import
2017-11-26 09:05:00 -08:00
Philip P. Moltmann
6c92c450fe
Make ic_print and ic_print_error vector graphics
...
This makes very high resolution versions of the icon appear sharper.
Fixes: 69175097
Test: Looked at places where the icon shows in the UI. Looks like
before, just sharper.
Change-Id: I2bf24c08605e6e4949892dcb720005497f1fadfa
2017-11-13 12:54:04 -08:00
Bill Yi
e391f37b71
Import translations. DO NOT MERGE
...
Change-Id: Ic889a433a21166e4d7f4458f134bb47bb85e9ecc
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-11-06 22:45:47 -08:00
Philip P. Moltmann
13fba9dbe7
Unify print test tools into a library.
...
Test: - adb shell am instrument -w com.android.printspooler.outofprocess.tests/android.support.test.runner.AndroidJUnitRunner
- adb shell am instrument -w -e class android.content.pm.PackageManagerTests com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I58e2dcb492a7f528a5554f7ace83940ad0d82297
2017-10-10 10:54:10 -07:00
Bill Yi
77184a8dca
Import translations. DO NOT MERGE
...
Change-Id: I3ff683e9e0439415e397e821702160bd2ff1fd4d
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-10-08 06:37:12 -07:00
Bill Yi
3cc3d826db
Import translations. DO NOT MERGE
...
Change-Id: I48971d150b2a7429060bf3e47f96ef39d4cf2bfd
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-18 05:59:51 -07:00
Philip P. Moltmann
cb50430037
Disable print service while running WorkflowTests
...
Test: m -j PrintSpoolerOutOfProcessTests && adb install -r ${ANDROID_PRODUCT_OUT}/data/app/PrintSpoolerOutOfProcessTests/PrintSpoolerOutOfProcessTests.apk && adb shell am instrument -w com.android.printspooler.outofprocess.tests/android.support.test.runner.AndroidJUnitRunner && adb uninstall com.android.printspooler.outofprocess.tests
Change-Id: I9cb611c24fc826c86acde1386d88cbb6257fae4d
2017-09-14 16:50:58 -07:00
Philip P. Moltmann
d8896e14be
Fix Print workflow tests.
...
Test: m -j PrintSpoolerOutOfProcessTests && adb install -r ${ANDROID_PRODUCT_OUT}/data/app/PrintSpoolerOutOfProcessTests/PrintSpoolerOutOfProcessTests.apk && adb shell am instrument -w com.android.printspooler.outofprocess.tests/android.support.test.runner.AndroidJUnitRunner && adb uninstall com.android.printspooler.outofprocess.tests
Change-Id: I3eba48ac3f8dc343cd22cac0f9fbf4d4e6c76631
2017-09-14 11:46:32 -07:00
Bill Yi
914013d195
Import translations. DO NOT MERGE
...
Change-Id: I82d19a9c1cadb5f776e9636e190e84c2b2d5c5a4
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-13 04:25:07 -07:00
Bill Yi
f5aa9bcb94
Import translations. DO NOT MERGE
...
Change-Id: I2b6569466d204cc2305fcddbf0d47fb9d95e190e
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-05 23:44:03 -07:00
TreeHugger Robot
b86129e405
Merge "Disable more options while in progress"
2017-09-01 17:12:54 +00:00
TreeHugger Robot
37acb83e14
Merge "Do not call MediaSizeComp before it is initalized"
2017-08-31 01:03:03 +00:00
Philip P. Moltmann
196784ac1d
Reset update spec after canceled layout
...
When we cancel a layout there are two cases. Either we already scheduled
the next layout. In this case operate as before as the update-spec was
updated to the new update.
In there is no new layout we have to reset the update spec as the last
command was canceled and the state of the remotePrintDocument has
become invalid. The resetted update spec forces a new update the next
time update() is called.
Fixes: 64911776
Test: cts-tradefed run cts-dev -m Print
Added two new tests reproducing the scenarios mentioned in the
bug.
Change-Id: Icad8da5fd985aed1cc201076ee7262f6d6541380
2017-08-30 07:52:37 -07:00
Philip P. Moltmann
318655973e
Disable more options while in progress
...
Otherwise tapping the button quickly enough can cause the activity to
open twice.
Change-Id: I007d7ee7d8d271111dc919f195a487a9c65d2bdf
Fixes: 63647922
Test: cts-tradefed run cts-dev -m Print
2017-08-29 14:09:29 -07:00
Philip P. Moltmann
8682785c4a
Do not call MediaSizeComp before it is initalized
...
Change-Id: I551d3bf58abd5164c5babc8e04cc32f152a25b4c
Fixes: 38164808
Test: Manual
2017-08-29 12:56:10 -07:00
Bill Yi
26dfdfc0dd
Import translations. DO NOT MERGE
...
Change-Id: I435a97e4d4b35d90a0165e687b29a669fd2f5781
Auto-generated-cl: translation import
2017-08-27 05:26:04 -07:00
Bill Yi
71d451d797
Import translations. DO NOT MERGE
...
Change-Id: Ib751f071d383012c82bce9417651ccc0fee1b507
Auto-generated-cl: translation import
2017-08-25 19:12:39 -07:00
Bill Yi
28a6bd30a9
Import translations. DO NOT MERGE
...
Change-Id: If4d51561a5288b8d58b741214fcd07acc3ec569a
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-24 05:25:01 -07:00
Bill Yi
303c19cf27
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64680434
Change-Id: I69c12edf04356d6377083b12940b19aa4c41ff2e
2017-08-16 19:02:54 -07:00
huiwan
110dbf8409
Merge "Merge "PrintSpooler: fix monkey crash if height&width small than 0" am: 4a41744919 am: c970268397 am: a022d0d783 am: 7686fd5e74" into oc-mr1-dev-plus-aosp
...
am: d86dc388db
Change-Id: I62977fd45b2b1cf64e6984e6f57b4f241a63e961
2017-08-15 01:54:53 +00:00
huiwan
2044f0c171
Merge "PrintSpooler: fix monkey crash if height&width small than 0" am: 4a41744919 am: c970268397 am: a022d0d783
...
am: 7686fd5e74
Change-Id: I440862f03bcc5a99a080a380ca72ead5fa365929
2017-08-15 01:33:36 +00:00
huiwan
7686fd5e74
Merge "PrintSpooler: fix monkey crash if height&width small than 0" am: 4a41744919 am: c970268397
...
am: a022d0d783
Change-Id: Ie15f031818f735cae40b63775aca1da50892c346
2017-08-15 00:55:19 +00:00
huiwan
a022d0d783
Merge "PrintSpooler: fix monkey crash if height&width small than 0" am: 4a41744919
...
am: c970268397
Change-Id: I00e35784a1da7896f37dabe65e204724f8898677
2017-08-15 00:19:14 +00:00
huiwan
c970268397
Merge "PrintSpooler: fix monkey crash if height&width small than 0"
...
am: 4a41744919
Change-Id: I3b704d0f3e27bb26e00c60cd22145767d6c08335
2017-08-14 23:59:13 +00:00
huiwan
e54349fda5
PrintSpooler: fix monkey crash if height&width small than 0
...
During the monkey test, should add check height & width before
create the bitmap, to avoid the monkey test fail.
Change-Id: I5619c30af63afa3d74d0417e37c67c4920e099ba
Test: build & run
2017-08-14 16:17:38 +08:00
Bill Yi
d04655ca6d
Import translations. DO NOT MERGE
...
Change-Id: I070a23fc6378a16701b7cf81e9fb4c7f9ffcbb36
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-11 21:36:01 -07:00
Bill Yi
544db798f4
Import translations. DO NOT MERGE
...
Change-Id: I54df9444d8466bc63aca95417f8b5c49ec5568e1
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-06 15:36:51 -07:00
Bill Yi
2ddf7a683d
Import translations. DO NOT MERGE
...
Change-Id: I27066077e2059b267c8b4d5f4a3570239a2a058b
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-26 10:48:05 -07:00
Philip P. Moltmann
c0a128dc2b
Dump print manager as proto
...
Test: incident_report print. Having no entries
Change-Id: I3c7d611e44c0d3bf8e00775b1708bd82a334121a
2017-07-25 11:32:24 -07:00
Bill Yi
135168d63c
Import translations. DO NOT MERGE
...
Change-Id: I4e7e37da6e88e5e0cad6aa6371ca6acc3721dc0d
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-21 21:46:24 -07:00
TreeHugger Robot
08b397dea7
Merge "Import translations. DO NOT MERGE"
2017-07-20 09:45:09 +00:00
Steven Moreland
2412b4d979
Merge "frameworks/base: use proper nativehelper headers" am: 826eafd958 am: 5c091dc944 am: c840945a78
...
am: 9f430b2782
Change-Id: Ibe321dd4a8aae9342c76da0780edf94b90e8cd3a
2017-07-20 03:11:00 +00:00
Steven Moreland
9f430b2782
Merge "frameworks/base: use proper nativehelper headers" am: 826eafd958 am: 5c091dc944
...
am: c840945a78
Change-Id: I654e14f0d1b495450db81592a2e564e308746350
2017-07-20 03:05:02 +00:00
Steven Moreland
5c091dc944
Merge "frameworks/base: use proper nativehelper headers"
...
am: 826eafd958
Change-Id: I36f10ff4d963284a313f1cc5b368f82549a4adb2
2017-07-20 02:50:53 +00:00
Bill Yi
6be54779ad
Import translations. DO NOT MERGE
...
Change-Id: I4fa334364dbf497bc2ace77ba1eafb45d6360a8f
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-19 16:27:14 -07:00
Steven Moreland
2279b25342
frameworks/base: use proper nativehelper headers
...
libnativehelper exports headers under nativehelper. These were
available before incorrectly as global headers in order to give
access to jni.h.
Test: modules using frameworks/base find headers
Bug: 63762847
Change-Id: I0f9f231acdebe460f279135462f43d3e32eff64d
2017-07-19 10:06:40 -07:00
Philip P. Moltmann
6870033d37
Enforce permission for print system APIs
...
The permission is preinstalled as we want to leave the PrintSpooler
unpriviledged.
Test: Checked that Settings, PrintSpooler and BuiltInPrintService still
behave as expected.
Fixes: 62350107
Change-Id: Id33896f2899533f2d05cafa926df29cf1c6bfa77
2017-07-14 16:16:13 -07:00
Bill Yi
1ba21cee96
Import translations. DO NOT MERGE
...
Change-Id: I9de56de27b233b159c962353f361af06e0f58629
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-13 01:29:32 -07:00
Bill Yi
564defda65
Import translations. DO NOT MERGE
...
Change-Id: Icf90cd9ce6b4cb42a5969f0549079d799dd6b97f
Auto-generated-cl: translation import
2017-06-30 23:09:08 -07:00
Philip P. Moltmann
a436bf599a
DestinationSpinner intercepts click not touch
...
As touch is not executed by a11y code.
Fixes: 62743170
Test: Turned on accessibility and pressed the spinner. Saw listener
executed
cts-tradefed run cts-dev -m Print
Change-Id: If4e26f020fc5a831c8f4896188fd91fb559c5948
2017-06-20 16:38:20 -07:00
Philip P. Moltmann
1db4a5e21b
Merge "Only preload selected pages" into oc-dev am: 314457a424 am: 1af7c0bdbe
...
am: 39ef047a93
Change-Id: I23d064676ba55ab98946d136dfbf8df635f2309f
2017-06-17 03:09:25 +00:00
Philip P. Moltmann
39ef047a93
Merge "Only preload selected pages" into oc-dev am: 314457a424
...
am: 1af7c0bdbe
Change-Id: Ia3ecca3507a8d3b2e18dee59f83af0c0804ab68c
2017-06-17 03:02:42 +00:00
Philip P. Moltmann
1af7c0bdbe
Merge "Only preload selected pages" into oc-dev
...
am: 314457a424
Change-Id: Ice10d16e149ce7807c50b413939cb71caf52f715
2017-06-17 02:57:26 +00:00
Philip P. Moltmann
9bab45a2da
Only preload selected pages
...
Otherwise if only some pages are selected all (non-selected) pages in
between are preloaded.
Test: Selected only some pages of a large document and observed which
pages got preloaded
cts-tradefed run cts-dev -m Print
Fixes: 62296301
Change-Id: I3a97cfa6991e5a95ff73628c4bb540c629160c0c
2017-06-16 11:49:10 -07:00
Philip P. Moltmann
56448c7369
Merge "Select the right pages to scrap" into oc-dev am: 890cb59003 am: 955aead48d
...
am: e993a709ce
Change-Id: I655c9b8ad44aed44cc0de245150625aaeed5df6d
2017-06-14 19:07:01 +00:00
Philip P. Moltmann
e993a709ce
Merge "Select the right pages to scrap" into oc-dev am: 890cb59003
...
am: 955aead48d
Change-Id: Ie7ea8573c00506a035a1eb61bdff7f66780e27ce
2017-06-14 15:03:42 +00:00
Philip P. Moltmann
955aead48d
Merge "Select the right pages to scrap" into oc-dev
...
am: 890cb59003
Change-Id: I5393dde07ea3feff2053d85769eccd5195139229
2017-06-14 14:52:13 +00:00
Philip P. Moltmann
bdace63d5b
Select the right pages to scrap
...
The code before overwrote some data the outside code expected to not be
modified which resulted in the scrapped pages to be offset.
Test: - cts-tradefed run cts-dev -m Print
- Tried to repro case in the bug
Bug: 62296301
Change-Id: If3f250dbca43125bbbe9faadc5183a6dbaa69481
2017-06-13 15:29:01 -07:00
Bill Yi
d399c0dee7
Import translations. DO NOT MERGE
...
Change-Id: Ifb61023a779bccfe2c73653d9f6689b426eedcb7
Auto-generated-cl: translation import
2017-06-12 12:11:39 -07:00