6209 Commits

Author SHA1 Message Date
Svetoslav
0298ebb2db am 60fb1e28: am 714ba345: Merge "Complete implementation of the advanced print options." into klp-dev
* commit '60fb1e28375b9c0dc7505214f3ab33bdd38f7aa8':
  Complete implementation of the advanced print options.
2013-10-28 15:12:26 -07:00
Svetoslav
60fb1e2837 am 714ba345: Merge "Complete implementation of the advanced print options." into klp-dev
* commit '714ba34556572d36b1f9f8d9b860c4da24da6361':
  Complete implementation of the advanced print options.
2013-10-28 15:09:12 -07:00
Svetoslav
714ba34556 Merge "Complete implementation of the advanced print options." into klp-dev 2013-10-28 22:07:03 +00:00
Baligh Uddin
170735d460 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-28 19:34:13 +00:00
Baligh Uddin
9b16d1313f Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-28 19:33:31 +00:00
Svetoslav
b4fda13476 Complete implementation of the advanced print options.
1. Implemented the advanced printer options integration. Now a print service
    may declare an advanced print options activity which may be launched by
    the user if the current printer supports advanced print options. These options
    are visible only to the print service that added them and it is the only party
    that will interpret the options.

2. Fixed a couple of bugs in the saved print jobs parsing. One was that if there
    are more than one page range, a half of the print job properties was not
    properly parsed. The other was that the media size constructor was using
    incorrect argument order, thus creating a media size with wring width.

3. Fixed and edge case where old print jobs and their docs can get stuck in
    the spooler. If the app did not write the requested pages we were not showing
    an error message, rather just finish the activity without canceling the print
    job and this print job is stuck in the spooler. Now we show an error message
    and the user may retry, cancel. If the user cancels the print job is also
    cancelled, thus no leftover in the spooler.

4. Fixed the background color of the print dialog to meet UX spec.

bug:11241800

Change-Id: I352440bc86aec824a805883fc9579d96a06d11e6
2013-10-28 11:44:07 -07:00
Baligh Uddin
97ea6a0648 Import translations. DO NOT MERGE
Change-Id: I1ef363e676ff75e85aece9789cdb7c86b55281d3
Auto-generated-cl: translation import
2013-10-28 10:45:56 -07:00
Jeff Sharkey
e643e33736 am 99dcb2eb: am 10e509dc: Merge "Use inotify to update DocumentsUI." into klp-dev
* commit '99dcb2eb3578c3d14658b3850cb3e32608e173b1':
  Use inotify to update DocumentsUI.
2013-10-28 09:57:20 -07:00
Baligh Uddin
4aef4ca530 Import translations. DO NOT MERGE
Change-Id: I74c7510762c6c2591784ea2997695449f8aa2e53
Auto-generated-cl: translation import
2013-10-28 09:19:49 -07:00
Jeff Sharkey
99dcb2eb35 am 10e509dc: Merge "Use inotify to update DocumentsUI." into klp-dev
* commit '10e509dcc20da34b79bc4616cc795a3720ddad49':
  Use inotify to update DocumentsUI.
2013-10-28 09:14:37 -07:00
Jeff Sharkey
de9b66fee1 am 3ac436b7: am 80f103ae: Merge "Extra to always show advanced devices." into klp-dev
* commit '3ac436b758830eb938c62d5ed91caa7808b5b63e':
  Extra to always show advanced devices.
2013-10-25 18:17:52 -07:00
Jeff Sharkey
3ac436b758 am 80f103ae: Merge "Extra to always show advanced devices." into klp-dev
* commit '80f103ae12c4eb90fc2e06a6921dde2f092a181b':
  Extra to always show advanced devices.
2013-10-25 18:13:33 -07:00
Jeff Sharkey
db5ef12500 Use inotify to update DocumentsUI.
While user is actively looking at a directory, subscribe to inotify
events and notify of content changes to trigger requeries.  Reference
count the observers, since multiple cursors are regularly open during
requeries.

Fix leaking cursors on activity rotation; crazy loader ID generation
is no longer needed.

Bug: 10999396
Change-Id: Iddeb08a056fee80c93df8499874705bcd213a1e2
2013-10-25 17:51:04 -07:00
Jeff Sharkey
96c620595b Extra to always show advanced devices.
Also always lower-case extension to extract MIME type correctly,
we may want to fix in MimeUtils at some point.

Bug: 11354402
Change-Id: I77d0c06a663cd0c4320c41553ff1980b6f9a7778
2013-10-25 16:30:54 -07:00
Svetoslav Ganov
01b1e66135 am 1aae2c47: am 2a40da55: Merge "Update the documentaton of the android.print package." into klp-dev
* commit '1aae2c477772378b447da35717882c76aa39fb67':
  Update the documentaton of the android.print package.
2013-10-25 13:54:07 -07:00
Svetoslav Ganov
1aae2c4777 am 2a40da55: Merge "Update the documentaton of the android.print package." into klp-dev
* commit '2a40da558b267b91ed0b0c9090656bdc02db2833':
  Update the documentaton of the android.print package.
2013-10-25 13:51:45 -07:00
Svetoslav Ganov
2a40da558b Merge "Update the documentaton of the android.print package." into klp-dev 2013-10-25 20:48:45 +00:00
John Spurlock
286291bf86 am d958b78d: am 4a7f3ada: Merge "Optimize system bar background drawable." into klp-dev
* commit 'd958b78de92a3697eba4c7b47b39cffe88757b7d':
  Optimize system bar background drawable.
2013-10-25 13:39:57 -07:00
John Spurlock
d958b78de9 am 4a7f3ada: Merge "Optimize system bar background drawable." into klp-dev
* commit '4a7f3adaf08e65eceaad0e69f8edcdbcb897011a':
  Optimize system bar background drawable.
2013-10-25 13:36:31 -07:00
John Spurlock
4a7f3adaf0 Merge "Optimize system bar background drawable." into klp-dev 2013-10-25 20:33:35 +00:00
John Spurlock
a281dda794 am baa18a39: am f3b5b37b: Merge "Reset our status bar window fade color on screen off." into klp-dev
* commit 'baa18a3966b0eee205e5c028b4d109e9b6a56e2f':
  Reset our status bar window fade color on screen off.
2013-10-25 13:30:12 -07:00
John Spurlock
baa18a3966 am f3b5b37b: Merge "Reset our status bar window fade color on screen off." into klp-dev
* commit 'f3b5b37b14c49cfe9a74abd25afa5e071ec55b51':
  Reset our status bar window fade color on screen off.
2013-10-25 13:27:52 -07:00
John Spurlock
f3b5b37b14 Merge "Reset our status bar window fade color on screen off." into klp-dev 2013-10-25 20:25:08 +00:00
Jim Miller
854b63f674 am 8b98e040: am 5357f8fd: Merge "Remove \'?\' icon in layout for "Forgot pattern" button" into klp-dev
* commit '8b98e04092d6ef92f84e198853535dffb0d0610a':
  Remove '?' icon in layout for "Forgot pattern" button
2013-10-25 13:15:09 -07:00
Jim Miller
8b98e04092 am 5357f8fd: Merge "Remove \'?\' icon in layout for "Forgot pattern" button" into klp-dev
* commit '5357f8fd24bc578a1a584cac9c1943227816ea05':
  Remove '?' icon in layout for "Forgot pattern" button
2013-10-25 13:12:02 -07:00
Jim Miller
5357f8fd24 Merge "Remove '?' icon in layout for "Forgot pattern" button" into klp-dev 2013-10-25 20:08:40 +00:00
Svetoslav Ganov
4d4c66dd38 Update the documentaton of the android.print package.
bug:10551786
bug:10551697
bug:10705082
bug:10741641
bug:11318976
bug:10550979
bug:10551761

Change-Id: I46ceb66a69b6d32d6b417356178f67f2e25e891a
2013-10-25 11:33:34 -07:00
John Spurlock
c19418e3f5 Reset our status bar window fade color on screen off.
Previously, turning the screen off with the panel expanded would
run one time through panelExpansionChanged, leaving the background
in an intermediate state.

This has probably been around for a while, only uncovered now
that we can see it (if the status bar is translucent).

Bug:11357145
Change-Id: I55b768696c8791f82265a61d2c0f665503ad8bb0
2013-10-25 14:25:09 -04:00
Wink Saville
568513d32c am 4bc35650: am 604cfc2d: Merge "Enhance pin/puk support" into klp-dev
* commit '4bc356506429cd85773ee0b36be2a99bffe71584':
  Enhance pin/puk support
2013-10-25 09:45:54 -07:00
Wink Saville
4bc3565064 am 604cfc2d: Merge "Enhance pin/puk support" into klp-dev
* commit '604cfc2de963c17ed53fef745b93e3afcfd5a5f8':
  Enhance pin/puk support
2013-10-25 09:43:00 -07:00
Wink Saville
604cfc2de9 Merge "Enhance pin/puk support" into klp-dev 2013-10-25 16:40:55 +00:00
Jeff Sharkey
a5d24638f6 am 180e484e: am be416248: Merge "Remove persisted stacks when app removed/cleared." into klp-dev
* commit '180e484ef0370ab7f796c8fa51baf6b4c1c2cbdc':
  Remove persisted stacks when app removed/cleared.
2013-10-24 15:40:15 -07:00
Jeff Sharkey
180e484ef0 am be416248: Merge "Remove persisted stacks when app removed/cleared." into klp-dev
* commit 'be416248631c001b846297597b25be9bccc960eb':
  Remove persisted stacks when app removed/cleared.
2013-10-24 15:37:45 -07:00
Jeff Sharkey
be41624863 Merge "Remove persisted stacks when app removed/cleared." into klp-dev 2013-10-24 22:32:58 +00:00
Jeff Sharkey
909924de9f am 8dd4c1d0: am 5ecfb557: Merge "Long-press on GET_CONTENT app shows its details." into klp-dev
* commit '8dd4c1d062bfcfd46c48e568870856787852124c':
  Long-press on GET_CONTENT app shows its details.
2013-10-24 12:35:26 -07:00
Jeff Sharkey
46106ca28e am 686fa2db: am c832ef0d: Merge "Show spinner while waiting for mutations." into klp-dev
* commit '686fa2db5b8feeb9e378aeb8e5dbac2f79ef2153':
  Show spinner while waiting for mutations.
2013-10-24 12:35:22 -07:00
Jeff Sharkey
8dd4c1d062 am 5ecfb557: Merge "Long-press on GET_CONTENT app shows its details." into klp-dev
* commit '5ecfb557b1d38537b7a484505b550000980d17f1':
  Long-press on GET_CONTENT app shows its details.
2013-10-24 12:15:40 -07:00
Jeff Sharkey
686fa2db5b am c832ef0d: Merge "Show spinner while waiting for mutations." into klp-dev
* commit 'c832ef0d434f9c3834ef312dcabef43b2787e5ff':
  Show spinner while waiting for mutations.
2013-10-24 12:15:37 -07:00
Jeff Sharkey
5ecfb557b1 Merge "Long-press on GET_CONTENT app shows its details." into klp-dev 2013-10-24 18:23:17 +00:00
Jeff Sharkey
c832ef0d43 Merge "Show spinner while waiting for mutations." into klp-dev 2013-10-24 18:23:11 +00:00
Jeff Sharkey
758f97e46d Remove persisted stacks when app removed/cleared.
When an app's data is cleared, or it's uninstalled, remove any
persisted stacks.

Bug: 11355566
Change-Id: I4e5cf0ec710591ad62f1ad52c2e358616631af41
2013-10-24 11:22:20 -07:00
Daniel Sandler
dae531753a am 6714471b: am 9279d45b: DessertCase memory improvements
* commit '6714471bffe1a9d1f55d586a4277209e19f7f9ed':
  DessertCase memory improvements
2013-10-24 10:45:13 -07:00
Daniel Sandler
6714471bff am 9279d45b: DessertCase memory improvements
* commit '9279d45b8d26c88c69fa917816ea396142627020':
  DessertCase memory improvements
2013-10-24 10:42:22 -07:00
Daniel Sandler
9279d45b8d DessertCase memory improvements
- reuse intermediate bitmaps when loading resources
  - only use hardware layers on views that are animating

Bug: 11269977
Change-Id: I39ad7aff16468632da47448404416404f3b54cc4
2013-10-24 17:27:33 +00:00
Baligh Uddin
da13330d9b Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-24 02:27:01 +00:00
Baligh Uddin
154fd0b2a2 Import translations. DO NOT MERGE
Change-Id: Ia0ce87e181ca1c425b1a4ea2427b267c9e5d1cf0
Auto-generated-cl: translation import
2013-10-23 17:59:26 -07:00
Baligh Uddin
ef9d04a2b6 Import translations. DO NOT MERGE
Change-Id: If44c0d3258a9b125cfc1afe930af8f6524200ffd
Auto-generated-cl: translation import
2013-10-23 17:08:47 -07:00
Jeff Sharkey
c24bbd4ce5 Long-press on GET_CONTENT app shows its details.
Matches ResolverActivity behavior.

Bug: 11319259
Change-Id: Id7f2a73b225e4cfd9bdef3b1c7cecb77d9bd2b90
2013-10-23 16:05:56 -07:00
Jeff Sharkey
04d45a0bdd Show spinner while waiting for mutations.
When mutation operations are waiting for a storage backend, show a
spinner in place of the save button.

Bug: 11333249
Change-Id: I2b620b4532ad977a2b60d4bdc5caa55f89021456
2013-10-23 15:48:05 -07:00
Wink Saville
b896b9f742 Enhance pin/puk support
Add supplyPinReportResult & supplyPukReportResult that
returns the result code and attempts remaining.

Display "Attempts remaining" in Keyguard

Bug: 9928717
Change-Id: Ibad0635dd1375fabce11ba2b7b9f95f8868489e6
2013-10-23 15:44:26 -07:00