5590 Commits

Author SHA1 Message Date
Brian Colonna
85b11b6ec9 am 6d9b6bee: am 4811398b: Merge "Fix 10550373: Stopping FUL when emergency dialer opens" into klp-dev
* commit '6d9b6beedcac132ae5f81ad561c2f11048a58da7':
  Fix 10550373: Stopping FUL when emergency dialer opens
2013-09-17 15:03:31 -07:00
Brian Colonna
6d9b6beedc am 4811398b: Merge "Fix 10550373: Stopping FUL when emergency dialer opens" into klp-dev
* commit '4811398bfdaf4cf07f945c46d15977fd7418f498':
  Fix 10550373: Stopping FUL when emergency dialer opens
2013-09-17 15:01:06 -07:00
Brian Colonna
4811398bfd Merge "Fix 10550373: Stopping FUL when emergency dialer opens" into klp-dev 2013-09-17 21:58:05 +00:00
Brian Colonna
7fce380216 Fix 10550373: Stopping FUL when emergency dialer opens
Face Unlock wasn't being stopped when the emergency dialer opened,
causing FUL to flash briefly after the emergency dialer appeared.
This was most noticeable on Hammerhead devices.

This change allows EmergencyButton to stop FUL by way of
KeyguardUpdateMonitor.  Note that it must stop FUL immediately rather
than going through a handler.  If going through a handler FUL is not
stopped in time to prevent the issue.

Change-Id: I3985969a19e909e2633d7876a3fb2d34c70e2cc1
2013-09-17 17:33:21 -04:00
Michael Jurka
1c7a180f3c am c23762ec: am 4c8cc720: Merge "Fix black bar drawn sometimes when swiping away items in Recents" into klp-dev
* commit 'c23762ecd6efff066ed195f3db8dad27972035a1':
  Fix black bar drawn sometimes when swiping away items in Recents
2013-09-17 14:02:43 -07:00
Michael Jurka
c23762ecd6 am 4c8cc720: Merge "Fix black bar drawn sometimes when swiping away items in Recents" into klp-dev
* commit '4c8cc720e79f01840800bd0a6dd611d179acdbed':
  Fix black bar drawn sometimes when swiping away items in Recents
2013-09-17 13:59:39 -07:00
Michael Jurka
4c8cc720e7 Merge "Fix black bar drawn sometimes when swiping away items in Recents" into klp-dev 2013-09-17 20:54:04 +00:00
Svetoslav
417787d374 am 70201a53: am 0cfebec5: Merge "Print pooler crashes for some page ranges." into klp-dev
* commit '70201a53f4b38a655ce70b1530b0c40d76e8e37f':
  Print pooler crashes for some page ranges.
2013-09-17 13:52:29 -07:00
Svetoslav
70201a53f4 am 0cfebec5: Merge "Print pooler crashes for some page ranges." into klp-dev
* commit '0cfebec522539722f294a99bc32437b5d9e4b27d':
  Print pooler crashes for some page ranges.
2013-09-17 13:49:31 -07:00
Svetoslav
0cfebec522 Merge "Print pooler crashes for some page ranges." into klp-dev 2013-09-17 20:46:35 +00:00
Michael Jurka
69b8f11028 am b35d94e7: am d1544e3f: Merge "Reduce memory usage of default thumbnail" into klp-dev
* commit 'b35d94e72156effc8d14125769fed32e4e5b7157':
  Reduce memory usage of default thumbnail
2013-09-17 13:44:16 -07:00
Michael Jurka
4a6bc55cd5 Fix black bar drawn sometimes when swiping away items in Recents
- move drawing of faded black edges to RecentsPanelView
- invalidate RecentsPanelView when scroll value of Recents*ScrollView changes

Bug: 10022236

Change-Id: Idb102fb2454c2a077920b770e25c449ccd33486e
2013-09-17 22:43:02 +02:00
Michael Jurka
b35d94e721 am d1544e3f: Merge "Reduce memory usage of default thumbnail" into klp-dev
* commit 'd1544e3f71d35b01e34bbf64720f260c8fa2a7e8':
  Reduce memory usage of default thumbnail
2013-09-17 13:42:29 -07:00
Michael Jurka
d1544e3f71 Merge "Reduce memory usage of default thumbnail" into klp-dev 2013-09-17 20:40:34 +00:00
John Spurlock
4d5b6c7969 am b6ac744b: am 80645121: Merge "BatteryMeterView: Charging trumps empty." into klp-dev
* commit 'b6ac744b11aaad592a8c27fdaafec5d5a6b90837':
  BatteryMeterView: Charging trumps empty.
2013-09-17 11:12:27 -07:00
John Spurlock
b6ac744b11 am 80645121: Merge "BatteryMeterView: Charging trumps empty." into klp-dev
* commit '80645121fbba6f038feb48026d935b31028463d7':
  BatteryMeterView: Charging trumps empty.
2013-09-17 11:09:29 -07:00
Michael Jurka
9926272f32 Reduce memory usage of default thumbnail
Bug: 10639174

Change-Id: I2b7f3844e77427d2327a7d89c63e4f3b0d890bc0
2013-09-17 18:24:47 +02:00
John Spurlock
d19877f8a3 BatteryMeterView: Charging trumps empty.
Match the style implicit in the battery assets: if charging,
show the bolt, not the exclamation point.

Bug:10651062
Change-Id: I3edd822326ad611972e791cf4acc8c395e51a74d
2013-09-17 11:03:03 -04:00
Baligh Uddin
b1c85e4a8e Merge "Import translations. DO NOT MERGE" 2013-09-17 04:05:28 +00:00
Baligh Uddin
fd111c8f61 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-17 04:05:19 +00:00
Baligh Uddin
e7e3394d4a Merge "Import translations. DO NOT MERGE" 2013-09-17 04:05:10 +00:00
Baligh Uddin
5dd80754a3 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-17 04:05:05 +00:00
Baligh Uddin
67d24eb342 Merge "Import translations. DO NOT MERGE" 2013-09-17 04:04:55 +00:00
Baligh Uddin
eedb4f8f85 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-17 04:04:51 +00:00
Svetoslav
06c7f39f6f am e7d34086: am be0d9317: Merge "App UI freezes when printing. API clean up." into klp-dev
* commit 'e7d3408652dd6e997a3c5abfd5abc6855aa170c0':
  App UI freezes when printing. API clean up.
2013-09-16 19:32:41 -07:00
Svetoslav
e7d3408652 am be0d9317: Merge "App UI freezes when printing. API clean up." into klp-dev
* commit 'be0d9317e27b600eee7deb8f328358cdb38115c6':
  App UI freezes when printing. API clean up.
2013-09-16 19:30:50 -07:00
Svetoslav
c3484024e1 Print pooler crashes for some page ranges.
1. The print spooler fails to parse page ranges that end with
   a dash, e,g, "1-", which are however valid inputs since the
   user can continue typing to end up with a well-fromed range.

2. After a layout we are asking for the first selected page
   to be written emulating print preview, thus increasing the
   changes that apps will correctly implement the APIs.

bug:10743632

Change-Id: Ia74172d4fa6bce6ad93a0bc53da1aaa3fe8bef42
2013-09-16 19:13:25 -07:00
Svetoslav
2fbd2a7f07 App UI freezes when printing. API clean up.
1. The UI of a printing app was freezing a little when calling the print
   method since the print manager service was waiting for it to bind to the
   print spooler which generated the print job id (and the initial print
   job info really). Now the print manager service is responsible for job
   id generation and does not not wait for the print spooler to spin. Hence,
   the app UI is not blocked at all. Note that the print manager initiates
   the binding to the spooler and as soon as it completes the spooler shows
   the print UI which is hosted in its process. It is not possible to show
   the print UI before the system is bound to the spooler since during this
   binding the system passes a callback to the spooler so the latter can
   talk to the system.

2. Changed the print job id to be an opaque class allowing us to vary the
   way we generate print job ids in the future.

3. The queued print job state was hidden but the print job returned by the
   print method of the print manager is in that state. Now now hidden.

4. We were incorrecly removing print job infos if they are completed or
   cancelled. Doing that is problematic since the print job returned by
   the print method allows the app to query for the job info after the
   job has been say completed. Hence, an app can initiate printing and
   get a print job whose state is "created" and hold onto it until after
   the job is completed, now if the app asks for the print job info it
   will get an info in "created" state even though the job is "completed"
   since the spooler was not retaining the completed jobs. Now the spooler
   removes the PDF files for the completed and cancelled print jobs but
   keeps around the infos (also persisting them to disc) so it can answer
   questions about them. On first boot or switch to a user we purge the
   persisted print jobs in completed/cancelled state since they
   are obsolete - no app can have a handle to them.

5. Removed the print method that takes a file since we have a public
   PrintDocumentAdapter implementation for printing files. Once can
   instantiate a PrintFileDocumentAdapter and pass it to the print
   method. This class also allows overriding of the finish method to
   know when the data is spooled and deleted the file if desired, etc.

6. Replaced the wrong code to slice a large list of parcelables to
   use ParceledListSlice class.

bug:10748093

Change-Id: I1ebeeb47576e88fce550851cdd3e401fcede6e2b
2013-09-16 17:55:14 -07:00
Daniel Sandler
c0a9709ad2 am 8c9905eb: am 1656a346: Merge "Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS." into klp-dev
* commit '8c9905ebfac3a3a7ca97faa447d5f118072adb59':
  Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS.
2013-09-16 11:46:17 -07:00
Daniel Sandler
1fe69fac4b am 32327048: am 9cb5445d: Merge "Fix recent SystemUI dump crash." into klp-dev
* commit '32327048d4d628e985e2581a98078768bd267b92':
  Fix recent SystemUI dump crash.
2013-09-16 11:46:14 -07:00
Daniel Sandler
8c9905ebfa am 1656a346: Merge "Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS." into klp-dev
* commit '1656a346d9b69470cf8336a3059e9624797c7b7d':
  Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS.
2013-09-16 11:44:19 -07:00
Daniel Sandler
32327048d4 am 9cb5445d: Merge "Fix recent SystemUI dump crash." into klp-dev
* commit '9cb5445d26a7973b0212d3bb9b807877cce1f5c6':
  Fix recent SystemUI dump crash.
2013-09-16 11:44:16 -07:00
Daniel Sandler
1656a346d9 Merge "Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS." into klp-dev 2013-09-16 18:40:14 +00:00
Daniel Sandler
9cb5445d26 Merge "Fix recent SystemUI dump crash." into klp-dev 2013-09-16 18:36:04 +00:00
Michael Jurka
8da63ce295 am 303392de: am 1199a37a: Merge "Catch ActivityNotFoundException in Recents" into klp-dev
* commit '303392de0ed32e6387c9796c04a4c6bb77f00935':
  Catch ActivityNotFoundException in Recents
2013-09-16 11:00:51 -07:00
Michael Jurka
303392de0e am 1199a37a: Merge "Catch ActivityNotFoundException in Recents" into klp-dev
* commit '1199a37a038d28753396a08ff60de2491bb6a20d':
  Catch ActivityNotFoundException in Recents
2013-09-16 10:58:35 -07:00
John Spurlock
41c1e359c6 Fix recent SystemUI dump crash.
If only string format specification errors were compilation errors...

Bug:10781286
Change-Id: I2843a805f6bba35f9cddcbfe7e551d3f0248e789
2013-09-16 13:57:13 -04:00
Michael Jurka
1199a37a03 Merge "Catch ActivityNotFoundException in Recents" into klp-dev 2013-09-16 17:56:28 +00:00
Michael Jurka
4e85f46c1c Catch ActivityNotFoundException in Recents
Bug: 8633151
2013-09-16 19:52:21 +02:00
Baligh Uddin
7015117cfa Import translations. DO NOT MERGE
Change-Id: I378d9e9e35a63fd333f92b02ee383e40c0f1b9b3
Auto-generated-cl: translation import
2013-09-16 09:54:20 -07:00
Baligh Uddin
c59286ab7b Import translations. DO NOT MERGE
Change-Id: I7f6eb24f5bb7c1ae9e8734eb957a966e49848a3b
Auto-generated-cl: translation import
2013-09-16 09:52:22 -07:00
Baligh Uddin
fd14da3535 Import translations. DO NOT MERGE
Change-Id: I6c1b05ea202375f8bbc242721fa064ab65453693
Auto-generated-cl: translation import
2013-09-16 09:47:50 -07:00
Baligh Uddin
72e8643fdd Import translations. DO NOT MERGE
Change-Id: Icd16c449ff68a89ecd4a36856764d24f5894c9e5
Auto-generated-cl: translation import
2013-09-16 09:47:04 -07:00
Baligh Uddin
4089fb5985 Import translations. DO NOT MERGE
Change-Id: I2238c7d86ef482e0c2cac7d1ff927c7cd5656546
Auto-generated-cl: translation import
2013-09-16 09:45:22 -07:00
Baligh Uddin
ad178f5509 Import translations. DO NOT MERGE
Change-Id: I6066e1589c84a842887ac37b737d6852a2ff99a7
Auto-generated-cl: translation import
2013-09-16 09:44:32 -07:00
Daniel Sandler
fe904ecc97 am 48591ef6: am 28ed00d3: Merge "Fix RenderScript crash." into klp-dev
* commit '48591ef67e92bbb80a2a263b6813a8afcd9c2788':
  Fix RenderScript crash.
2013-09-16 08:29:46 -07:00
Daniel Sandler
48591ef67e am 28ed00d3: Merge "Fix RenderScript crash." into klp-dev
* commit '28ed00d3b7931c75ac97d1aced01b1dda465f07f':
  Fix RenderScript crash.
2013-09-16 08:28:16 -07:00
Daniel Sandler
28ed00d3b7 Merge "Fix RenderScript crash." into klp-dev 2013-09-16 15:26:50 +00:00
Daniel Sandler
a30b7035ce Fix RenderScript crash.
Also lay the groundwork for a future checkin.

Bug: 10240151
Bug: 10505742
Change-Id: I62d61c9048188c93863c8c43839e713b75a65102
2013-09-16 11:19:15 -04:00
John Spurlock
abf0f51196 am 19bea5ef: am a751d97e: Merge "Fix layout glitch specific to quick-settings -> settings." into klp-dev
* commit '19bea5efdfa80e97f718d5a6043c69bb4a9a10c7':
  Fix layout glitch specific to quick-settings -> settings.
2013-09-16 06:26:04 -07:00