110914 Commits

Author SHA1 Message Date
Jonathan Dixon
9f9fbc9605 Fix for 10530176 - CookieSyncManager must be created by WebView c'tor
WebViewClassic created the CookieSyncManager instane as a side effect of
starting up its internal WebCoreThread. As this forms part of th API
contract (app doesn't need to call CookieSyncManager.createInstance if
it already made a WebView instance) promote this logic up to the API
layer.

Change-Id: I0e92d97be987dfef90162ad379c79b066aae34e0
2013-08-28 20:29:39 -07:00
Fabrice Di Meglio
627dd9b584 Merge "Fix bug #10515013 CalendarView is always forcing first day of the week to Sunday and not taking into account CLDR data" into klp-dev 2013-08-28 19:53:56 +00:00
John Spurlock
f016a91247 Merge "Ensure IME windows always appear north of the nav bar." into klp-dev 2013-08-28 19:32:06 +00:00
Dirk Dougherty
f503fbd0a2 am d4702f3c: am 6d3fbd00: am 8236443b: Doc change: update spam policy image.
* commit 'd4702f3c67473045d92eb4c3ea001d671f2f5f56':
  Doc change: update spam policy image.
2013-08-28 11:46:48 -07:00
Dirk Dougherty
d4702f3c67 am 6d3fbd00: am 8236443b: Doc change: update spam policy image.
* commit '6d3fbd0073cdb9cd21acfb56b58a29634bd182ad':
  Doc change: update spam policy image.
2013-08-28 11:44:42 -07:00
Dirk Dougherty
6d3fbd0073 am 8236443b: Doc change: update spam policy image.
* commit '8236443bdac2ba7c7630ddcc4ce9a18a03fe31a1':
  Doc change: update spam policy image.
2013-08-28 11:42:05 -07:00
Dirk Dougherty
8236443bda Doc change: update spam policy image.
Change-Id: Ib19ea838f0f72725cedf2cea8aff505ccc477a45
2013-08-28 11:37:05 -07:00
John Spurlock
d4e6575c4f Ensure IME windows always appear north of the nav bar.
Even if the bars are transparent / invisible.

Refactor the PSB bar mode override logic to take the IME hint into
account.  Bars are overriden to opaque when hint is showing.

Initialize bar state to showing, fix bug that would mark state
as hidden pre-show (on shell restart).

Bug:10505132
Bug:9499956
Change-Id: I21e830e90c7e9812b4192ca65c3c0cd7a6b72798
2013-08-28 14:20:22 -04:00
Alan Viverette
236ae4f2c9 Merge "Set alpha channel correctly when recomputing gradient" into klp-dev 2013-08-28 18:03:11 +00:00
Alan Viverette
ce9e2526d4 Merge "Implement new accessibility APIs in lists, text view" into klp-dev 2013-08-28 17:44:44 +00:00
Santos Cordon
b56ed3a4b2 Merge "Protecting against NPE with null country detector." into klp-dev 2013-08-28 17:43:19 +00:00
Alan Viverette
5b2081dc41 Implement new accessibility APIs in lists, text view
Sets contentInvalid for TextViews with errors, sets collection
and item properties in AbsListView, GridView, and ListView.

BUG: 10391326
Change-Id: I91191c8ce1e10a1112f74215e30b26349396344b
2013-08-28 10:43:07 -07:00
Alan Viverette
116c12ef4c Merge "Add public API for obtaining drag-to-open listener" into klp-dev 2013-08-28 17:25:06 +00:00
Alan Viverette
4d971c1fa0 Set alpha channel correctly when recomputing gradient
The alpha channel is applied by modulateAlpha(). Setting it to
mAlpha in ensureValidRect() locked the maximum alpha channel to
whatever value was set before layout. Setting it to BLACK
ensures it can be modulated later.

BUG: 10514848
Change-Id: If7a824410a66f1e9b648e20ee627bdf99a42ae78
2013-08-28 10:24:12 -07:00
Marco Nelissen
ee9d443842 Merge "Use explicit intent for MediaScannerConnection" into klp-dev 2013-08-28 17:19:47 +00:00
Jason Monk
1f809c7761 Merge "Don't clear Global Proxy on boot." into klp-dev 2013-08-28 14:41:15 +00:00
John Spurlock
d20aeab028 Merge "SystemUI asset update post ux asset merge." into klp-dev 2013-08-28 13:26:01 +00:00
John Spurlock
0d1376811c SystemUI asset update post ux asset merge.
Bug:10502089
Change-Id: I88b0b4a17018766bccb99426f8f270214c883427
2013-08-28 09:02:40 -04:00
Daniel Sandler
f31da76a3a Merge "Remove period from "No service."" into klp-dev 2013-08-28 13:01:21 +00:00
Daniel Sandler
52a1923592 Remove period from "No service."
Bug: 10460869
Change-Id: I57b030518c9cfec367da21e39af7a001a565daa4
2013-08-28 08:42:14 -04:00
Zhijun He
5b6ce5a292 Merge "ImageReader: Fix null listener case" into klp-dev 2013-08-28 02:22:37 +00:00
John Spurlock
ae73139f37 Merge "Remove unreferenced assets from SystemUI." into klp-dev 2013-08-28 01:26:13 +00:00
Baligh Uddin
ef8000670e Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-28 00:45:47 +00:00
Fabrice Di Meglio
b08e5788a7 Fix bug #10515013 CalendarView is always forcing first day of the week to Sunday and not taking into account CLDR data
- remove the "force to Sunday"
- code cleaning and remove dependency on deprecated API

Change-Id: I992e893a904c45c8e0ce1d9dedb59b352e3a449f
2013-08-27 17:43:53 -07:00
Baligh Uddin
c513608dc1 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-28 00:42:58 +00:00
Baligh Uddin
397c7aaf8d Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-28 00:42:36 +00:00
Svetoslav Ganov
ca09dbc67b Merge "Print APIs update." into klp-dev 2013-08-28 00:07:09 +00:00
Santos Cordon
04dfb5ec3c Protecting against NPE with null country detector.
bug:10514454
Change-Id: I316c47eddbe4929599866a3f9da9129d0056e3e2
2013-08-27 16:45:37 -07:00
Martijn Coenen
bbbc8660cd Merge "Add NFC reader-mode API." into klp-dev 2013-08-27 23:08:56 +00:00
Zhijun He
e2a11bb74d ImageReader: Fix null listener case
Only do the handler check when listener is not null.

Bug: 10360518
Change-Id: I9940942ae95a492c92e028e5f862beea16e1da80
2013-08-27 16:02:21 -07:00
Alan Viverette
3d1b3cb9d9 Merge "Add documentation to onTouchEvent for accessibility" into klp-dev 2013-08-27 22:48:03 +00:00
Sreeram Ramachandran
d8d4c51e3b Merge "Fix channel set option in wifi batch scan command." into klp-dev 2013-08-27 22:45:30 +00:00
Alan Viverette
1955a5b531 Add public API for obtaining drag-to-open listener
BUG: 10457019
Change-Id: I66485521c54b82033044834e7aab6707a3049e6b
2013-08-27 15:45:16 -07:00
John Spurlock
4bf5c0e242 Remove unreferenced assets from SystemUI.
Bug:10502089
Change-Id: I9c414ff88054a764ab56f70ae8a0c0c82c248be9
2013-08-27 17:53:08 -04:00
Sreeram Ramachandran
268f329521 Fix channel set option in wifi batch scan command.
Fix by not including extraneous delimiters, and changing the delimiter from a
space to a comma.

Bug: 10444428
Change-Id: Ia3197045d44a2f959316935ae085575500e65459
2013-08-27 14:49:23 -07:00
Martijn Coenen
c20ed2ff12 Add NFC reader-mode API.
Allows applications to temporarily force the NFC controller
to only do tag discovery. This will allow Android applications
to read and interact with devices that employ HCE.

Bug: 10360259
Change-Id: I709ead9a26f8e6ae8582cc295d82bd896e7c5bba
2013-08-27 14:32:53 -07:00
Craig Mautner
61f0f9ada5 Merge "When adding a window evaluate all tasks." into klp-dev 2013-08-27 21:20:52 +00:00
Craig Mautner
ac738a25f8 Merge "Hide stackId from prying eyes." into klp-dev 2013-08-27 21:20:30 +00:00
Christopher Tate
d381680b63 Merge "Make sure to actually log when Log.wtf() hiccups" into klp-dev 2013-08-27 21:15:03 +00:00
Christopher Tate
941adc95e1 Make sure to actually log when Log.wtf() hiccups
Bug 10494724

Change-Id: I687d7df73a8f4594d42955f100d928e98bbd9b30
2013-08-27 14:10:44 -07:00
Sandeep Siddhartha
572ec4e88c Merge "Temporary disable Hotword on lockscreen" into klp-dev 2013-08-27 20:31:32 +00:00
Sandeep Siddhartha
c4c330156e Temporary disable Hotword on lockscreen
Change-Id: Icdddcc0308b9f3153172e34a8f4d051c58829653
2013-08-27 13:25:40 -07:00
Craig Mautner
018be3da7b When adding a window evaluate all tasks.
Previously the code was adding a window based only on the tasks on
the stack belonging to the window being added. But if a window from
another stack was on top the window would be added out of order.

In particular when there was a dialog over the launcher app and the
device was rotated, the launcher window was being added over the
dialog. This caused the launcher icons to obscure the dialog and for
the dialog buttons to be untouchable.

Fixes bug 9984067.

Change-Id: I9a57eb641d118f4a90e98af8ca77127ab5364e79
2013-08-27 13:25:17 -07:00
John Spurlock
373bc29292 Merge "Fix NPE for devices w/out soft-nav." into klp-dev 2013-08-27 20:16:30 +00:00
John Spurlock
f6b639773c Fix NPE for devices w/out soft-nav.
And fix other places w/out null guards in PhoneStatusBar.

Bug:10507892
Change-Id: I1be1b4c88bedd097530fd44d3506b716957f9c14
2013-08-27 16:12:54 -04:00
Chet Haase
f1c3f28eb9 Merge "Fix NPE when setting new LayoutTransition" into klp-dev 2013-08-27 19:50:43 +00:00
Chet Haase
fee6f2b3d3 Fix NPE when setting new LayoutTransition
ViewGroup.setLayoutTransition() has logic to cancel a previously-running
transition and remove the ViewGroup's listener from that transition. However,
it is possible for the transition to be set to null on the ViewGroup on the
cancel() call, making the next call to remove the listener crash with an NPE.

The fix is to use a temporary variable to hold the old reference and
not depend on the class instance variable remaining valid/non-null across
the call to cancel().

Issue #10488932 Hangout NPE in ViewGroup.setLayoutTransition on initiating a new conversation
Issue #10509201 ViewGroup.setLayoutTransition(null) causes crash when being called in LayoutTransition.TransitionListener.endTransition()

Change-Id: I7c181b79e6601024c93a8dc246d32b751f78b216
2013-08-27 12:22:29 -07:00
Fabrice Di Meglio
6d7771b575 Merge "Fix bug #10462461 CTS TimePickerTest are broken for testSetOnTimeChangedListener()" into klp-dev 2013-08-27 19:04:13 +00:00
Svetoslav Ganov
aec1417ca9 Print APIs update.
1. Added scale to fit and scale to fill fitting modes.

2. Added APIs for a print app to specify which constraints imposed
   by the print attributes were satsified during a layout so they
   are not handled by the printer again, e.g. if the content is to
   be in landscape the the app generated such content the printer
   should rotate the content again.

3. Added some printer statuses.

4. Added a helper class that generates PDF documents with correct
   size based on the passed in print attributes.

5. Exposed a ctor for PageRange which was hidden by mistake and apps
   could not create page ranges. Added API for changing the printer
   status.

Change-Id: If1334a61d2d931027b98075f653018d456b1b768
2013-08-27 11:56:18 -07:00
Tom O'Neill
aeda265c4d Merge "Remove or reduce visibility of deprecated methods" into klp-dev 2013-08-27 18:23:18 +00:00