5076 Commits

Author SHA1 Message Date
Jim Miller
b155194775 am 517c8cf3: am 14cabdab: Merge "Add setting to disable keyguard widgets" into klp-dev
* commit '517c8cf31833cc8fde0e6546c41af7d39e5e5429':
  Add setting to disable keyguard widgets
2013-08-26 15:11:20 -07:00
Jeff Sharkey
943bc8b389 am 308aacb9: am 365768fd: Merge "Return EXIF thumbnails when available." into klp-dev
* commit '308aacb924898b95d6114edfff3a985c897f2c6f':
  Return EXIF thumbnails when available.
2013-08-26 15:11:04 -07:00
Jeff Sharkey
98e154c039 am d0fcacd9: am 98d62123: Merge "Add CancellationSignal support to file operations." into klp-dev
* commit 'd0fcacd949cd8b42b37d238a4ba74e3c29325277':
  Add CancellationSignal support to file operations.
2013-08-26 15:11:01 -07:00
Svetoslav Ganov
f026518672 am e0612ffe: am 826debf5: Merge "Print UI bug fixing and printer discovery refactoring." into klp-dev
* commit 'e0612ffe5495602134d60422f63bfc05387512e1':
  Print UI bug fixing and printer discovery refactoring.
2013-08-26 15:10:49 -07:00
Jason Monk
96eee102b0 am 4163241f: am 4359d564: Merge "System binds PAC Local Proxy instead of self start" into klp-dev
* commit '4163241f146bffeda889bd8a04455945fc9f4922':
  System binds PAC Local Proxy instead of self start
2013-08-26 15:10:35 -07:00
Jim Miller
517c8cf318 am 14cabdab: Merge "Add setting to disable keyguard widgets" into klp-dev
* commit '14cabdabac1eb87026e4bbd71a18530031b1dd34':
  Add setting to disable keyguard widgets
2013-08-26 15:03:33 -07:00
Jeff Sharkey
308aacb924 am 365768fd: Merge "Return EXIF thumbnails when available." into klp-dev
* commit '365768fd3533343d6631875d7d46882907f7ab09':
  Return EXIF thumbnails when available.
2013-08-26 15:02:57 -07:00
Jeff Sharkey
d0fcacd949 am 98d62123: Merge "Add CancellationSignal support to file operations." into klp-dev
* commit '98d6212327d1c483894b642d5e24c3aac9fca9cf':
  Add CancellationSignal support to file operations.
2013-08-26 15:02:53 -07:00
Svetoslav Ganov
e0612ffe54 am 826debf5: Merge "Print UI bug fixing and printer discovery refactoring." into klp-dev
* commit '826debf5f806fdab77f9e3aa17d4e32abc87ec77':
  Print UI bug fixing and printer discovery refactoring.
2013-08-26 15:01:57 -07:00
Jason Monk
4163241f14 am 4359d564: Merge "System binds PAC Local Proxy instead of self start" into klp-dev
* commit '4359d56420b114f433ba4187c2d1f341bb35c938':
  System binds PAC Local Proxy instead of self start
2013-08-26 15:00:22 -07:00
Jim Miller
14cabdabac Merge "Add setting to disable keyguard widgets" into klp-dev 2013-08-24 01:28:28 +00:00
Jim Miller
f45bb40388 Add setting to disable keyguard widgets
This allows disabling keyguard widgets through Settings.
On new devices, the setting is turned off by default.  If the
user currently has widgets in keyguard, then we keep them
and re-enable the setting.

Change-Id: I7258921231d439925ac8627105710efa99309094
2013-08-23 17:36:30 -07:00
Jeff Sharkey
365768fd35 Merge "Return EXIF thumbnails when available." into klp-dev 2013-08-23 23:18:11 +00:00
Jeff Sharkey
98d6212327 Merge "Add CancellationSignal support to file operations." into klp-dev 2013-08-23 23:17:47 +00:00
Baligh Uddin
4f5e080486 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-23 21:26:48 +00:00
Svetoslav Ganov
826debf5f8 Merge "Print UI bug fixing and printer discovery refactoring." into klp-dev 2013-08-23 20:00:29 +00:00
Jeff Sharkey
6398343e83 Return EXIF thumbnails when available.
Adds new ExifInterface method to extract the thumbnail range from
a larger image file, and use that to return an AssetFileDescriptor.

When decoding an AssetFileDescriptor thumbnail with offsets, read out
the raw data entirely, since Skia uses lseek() aggressively.

Bug: 10412208
Change-Id: I7906cdf82c0c3794cec7043c801a86f66efeb143
2013-08-23 12:19:19 -07:00
Baligh Uddin
8a2df16745 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-23 18:59:50 +00:00
Baligh Uddin
e1f9e2f60d Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-23 18:59:33 +00:00
Svetoslav Ganov
44720af55a Print UI bug fixing and printer discovery refactoring.
1. Added support for selecting a printer from the all printers activity
   that is not in the initial printer selection drop down. The user
   initially sees a sub set of the printers in the drop down and the
   last option is to see all printers in a separate activity. Some
   of the printers in the all printers activity are not shown in the
   initial drop down.

2. Refactored printer discovery by adding (private for now) printer
   discovery app facing APIs. These APIs are needed to support multiple
   printer selection activities (print dialog and all printers activities)
   and also the settings for showing all printers for a service.

   Now multiple apps can request observing for printers and there is
   a centralized mediator that ensures the same printer discovery
   session is used. The mediator dispatches printer discovery specific
   requests to print services. It also aggregates discovered printers
   and delivers them to the interested apps. The mediator minimizes
   printer discovery session creation and starting and stopping discovery
   by sharing the same discovery session and discovery window with
   multiple apps. Lastly, the mediator takes care of print services
   enabled during discovery by bringing them up to the current
   discovery state (create discovery session and start discovery if
   needed). The mediator also reports disappearing of the printers
   of a service removed during discovery and notifies a newly
   registered observers for the currnet printers if the observers are
   added during an active printer discovery session.

3. Fixed bugs in the print UI and implemented some UX tweaks.

Change-Id: I4d0b0c5a6c6f1809b2ba5dbc8e9d63ab3d48f1ef
2013-08-23 18:36:33 +00:00
Jeff Sharkey
bd3b902567 Add CancellationSignal support to file operations.
Since ContentProvider file operations can end up doing substantial
network I/O before returning the file, allow clients to cancel their
file requests with CancellationSignal.

Ideally this would only be needed for openFile(), but ContentResolver
heavily relies on openAssetFile() and openTypedAssetFile() for common
cases.

Also improve documentation to mention reliable ParcelFileDescriptors
and encourage developers to move away from "rw" combination modes,
since they restrict provider flexibility.  Mention more about places
where pipes or socket pairs could be returned.

Improve DocumentsContract documentation.

Bug: 10329944
Change-Id: I49b2825ea433eb051624c4da3b77612fe3ffc99c
2013-08-23 11:27:25 -07:00
Jason Monk
4359d56420 Merge "System binds PAC Local Proxy instead of self start" into klp-dev 2013-08-23 17:53:33 +00:00
Baligh Uddin
3f6cb532c5 Import translations. DO NOT MERGE
Change-Id: Ieca373df9de5971c95e6954d6262c618420d2eb3
Auto-generated-cl: translation import
2013-08-23 10:10:53 -07:00
Baligh Uddin
7e361bcf7f Import translations. DO NOT MERGE
Change-Id: I7cb875bb18871021fb9972b427713440c8e95be6
Auto-generated-cl: translation import
2013-08-23 10:09:45 -07:00
Baligh Uddin
20e4beea1c Import translations. DO NOT MERGE
Change-Id: Ibbd7d5bc59126933bbcf0370cbdcd590f89d0ad7
Auto-generated-cl: translation import
2013-08-23 10:08:48 -07:00
John Spurlock
b27776a451 am 7e2d4262: am 17f83229: Revert GPS status bar icon to the correct size.
* commit '7e2d4262c5137208ff6b135adad6c35edee0c505':
  Revert GPS status bar icon to the correct size.
2013-08-23 07:30:35 -07:00
John Spurlock
7e2d4262c5 am 17f83229: Revert GPS status bar icon to the correct size.
* commit '17f832296cba0c9932403d894b0c95a9d0d5ab76':
  Revert GPS status bar icon to the correct size.
2013-08-23 07:28:21 -07:00
John Spurlock
17f832296c Revert GPS status bar icon to the correct size.
Bug:10452779
Change-Id: Idfb5097e33d10be1106c0a10be3d5794388f7d08
2013-08-23 08:49:14 -04:00
John Spurlock
18c41fa44c am 1338ceac: am d28cb3e7: Merge "Remove more unused icons." into klp-dev
* commit '1338ceac6702bedab8a8139fea0c4c9b9b07d2b3':
  Remove more unused icons.
2013-08-23 05:26:35 -07:00
John Spurlock
8a157d58fb am 1026479c: am b77edbfd: Improve transparent bar transitions.
* commit '1026479c196b66c7b214bc47ef01d9b261277958':
  Improve transparent bar transitions.
2013-08-23 05:26:33 -07:00
John Spurlock
1338ceac67 am d28cb3e7: Merge "Remove more unused icons." into klp-dev
* commit 'd28cb3e7572c838582fbba2e205fa6fa776d8783':
  Remove more unused icons.
2013-08-23 05:24:31 -07:00
John Spurlock
1026479c19 am b77edbfd: Improve transparent bar transitions.
* commit 'b77edbfdab54531023c8bbea7d89b6cefc42096c':
  Improve transparent bar transitions.
2013-08-23 05:24:28 -07:00
John Spurlock
d28cb3e757 Merge "Remove more unused icons." into klp-dev 2013-08-23 12:22:53 +00:00
John Spurlock
b77edbfdab Improve transparent bar transitions.
1. Migrate transparent transitions to the new optimized
background color animations.

2. Ensure sysui animation transparent -> opaque has enough
time to run before window manager crops off the content area.

3. Lose the individual alpha on each status bar icon if the bars
are not opaque.  Animate the alpha if visible, make sure they
play together.

4. Documentation typo fix found in AnimatorSet.

Bug:10344949
Change-Id: I615668ce3c552d3df15dbba5cdeeca67549a0220
2013-08-23 08:08:24 -04:00
John Spurlock
9320645164 Remove more unused icons.
By also removing their obsolete layout referents.

Bug:10344949
Change-Id: Iff8bf686507c63239f058de82ebc776d27480b4f
2013-08-23 08:07:11 -04:00
Jason Monk
da205a749f System binds PAC Local Proxy instead of self start
The PAC Local Proxy priviously caught proxy broadcasts and started itself
when needed.  Now it is bound by the system the same way the pac processing
service is started.

Bug: 10425091
Change-Id: I746daa21645a11aa18ef464f00c8cb5536d8c86f
2013-08-22 16:33:26 -04:00
Geoffrey Borggaard
9d42aab94d am 7d93aa06: am f4e8eb83: Merge "Notify the users if a user installed SSL CA Cert is present." into klp-dev
* commit '7d93aa065ed741ea1629eac6048f370d6fd94e57':
  Notify the users if a user installed SSL CA Cert is present.
2013-08-22 11:19:59 -07:00
Geoffrey Borggaard
7d93aa065e am f4e8eb83: Merge "Notify the users if a user installed SSL CA Cert is present." into klp-dev
* commit 'f4e8eb8342b16f9b550243303462c823c4613c19':
  Notify the users if a user installed SSL CA Cert is present.
2013-08-22 11:16:52 -07:00
Geoffrey Borggaard
f4e8eb8342 Merge "Notify the users if a user installed SSL CA Cert is present." into klp-dev 2013-08-22 18:13:53 +00:00
Geoffrey Borggaard
348fc4867e Notify the users if a user installed SSL CA Cert is present.
Adds a tile to quick settings when a cert is present.  Message varies
depending on if this device is managed or a consumer device.
Bug: 10105918
Change-Id: Ifbe78c10638ef6e2a4661e8d18b44b8913a2cf9d
2013-08-22 18:09:57 +00:00
Baligh Uddin
a43d8acaba Merge "Import translations. DO NOT MERGE" 2013-08-22 17:50:20 +00:00
Chris Wren
0d24e686e7 am ff4e490d: am 6d15a364: use ONGOING as the signal not to auto-hide heads up
* commit 'ff4e490d97497083856bef9ff4d71bf9d8d80749':
  use ONGOING as the signal not to auto-hide heads up
2013-08-22 09:17:50 -07:00
Chris Wren
42b5443e75 am 49d686de: am e03f4e1f: handle updates to the notification in the heads up
* commit '49d686deaa3fc2a952a9a49b7212b09d10ecc65c':
  handle updates to the notification in the heads up
2013-08-22 09:17:47 -07:00
Chris Wren
ff4e490d97 am 6d15a364: use ONGOING as the signal not to auto-hide heads up
* commit '6d15a364f26bd61122bfdd127eee225ca65206f5':
  use ONGOING as the signal not to auto-hide heads up
2013-08-22 09:15:01 -07:00
Chris Wren
49d686deaa am e03f4e1f: handle updates to the notification in the heads up
* commit 'e03f4e1fae518cff08ffcf51a3435cefe4fed1c8':
  handle updates to the notification in the heads up
2013-08-22 09:14:59 -07:00
Chris Wren
6d15a364f2 use ONGOING as the signal not to auto-hide heads up
instead of INSISTENT or NO_CLEAR
required some disambiguation in places where ONGOING is already used.

Bug: 10412149
Change-Id: Iea7d698846c76a464cae511a3a8e3908b114edfe
2013-08-22 10:45:32 -04:00
Chris Wren
e03f4e1fae handle updates to the notification in the heads up
Bug: 10226356
Change-Id: I5bc9aecc3849617092e863868a6df610c615048b
2013-08-22 10:45:31 -04:00
John Spurlock
56e8312bdf am 758b038b: am 83208e34: Remove obsolete sysbar icons and layouts.
* commit '758b038bc8aa6a08a669e27eea3ba333d082811f':
  Remove obsolete sysbar icons and layouts.
2013-08-22 07:02:11 -07:00
John Spurlock
758b038bc8 am 83208e34: Remove obsolete sysbar icons and layouts.
* commit '83208e34f6a0381d5627886dbf98ff8f313e590f':
  Remove obsolete sysbar icons and layouts.
2013-08-22 06:59:02 -07:00
John Spurlock
83208e34f6 Remove obsolete sysbar icons and layouts.
Remove icons no longer referenced in source or layout files.
Some icons are referenced in obsolete layouts, remove those
as well.

Bug:10344949
Change-Id: Ifc2e4c01534499b687cebd3e32db61e9c7a92e4a
2013-08-22 09:41:39 -04:00