149685 Commits

Author SHA1 Message Date
Svetoslav
e04dcca593 Update print chooser drop down width.
bug:16324744

Change-Id: I1f0b79ae5da06de97ca80a800537d815ce59bf41
2014-09-03 15:02:14 -07:00
Ricardo Cervera
29bd102bde am 2ad54d53: am a32f29e2: am a4fe79a4: docs: Adding Sony logo to wear page
* commit '2ad54d53ccea8e17cdeabc71e37f73ad0e1982da':
  docs: Adding Sony logo to wear page
2014-09-03 21:58:00 +00:00
Ricardo Cervera
850da47a9f am ce04c532: am 734ef513: am 2d80f931: docs: Adding Sony logo to Wear partners
* commit 'ce04c532ca6134463011fd7f66468363375eb4c4':
  docs: Adding Sony logo to Wear partners
2014-09-03 21:57:48 +00:00
Dan Sandler
05c362d564 Reduce RAM requirements of grayscale icon testing
The isGrayscale family of methods is designed to identify
drawables and bitmaps that apps are using in the largeIcon
position to pose as small icons in order to get the
appropriate background treatment (a solid blue or gray block
in KK/JB, or geniune selvedge denim in ICS/HC).

We can optimize this search two ways:

(1) Reject immediately any largeIcon that is larger than
    largeIcons should be (64x64dp). We could one day simply
    reject, or resize, these in the notification manager,
    but regardless these are not plausible smallIcon
    subsitutes. This new constraint is commemorated in the
    new name, isGrayscaleIcon().

(2) Shrink the bitmap even smaller before scanning it slowly
    in Java.  This lets native_drawBitmap do the heavy
    lifting across the entire bitmap; we need only scan a
    few pixels.

Bug: 16513124
Change-Id: I3a2b79130ed2465a4aedfbb5a556db7f8a7aa132
2014-09-03 23:52:47 +02:00
Ricardo Cervera
2ad54d53cc am a32f29e2: am a4fe79a4: docs: Adding Sony logo to wear page
* commit 'a32f29e225e989fad682df91cb0a1cd36e7b7279':
  docs: Adding Sony logo to wear page
2014-09-03 21:45:54 +00:00
Ricardo Cervera
ce04c532ca am 734ef513: am 2d80f931: docs: Adding Sony logo to Wear partners
* commit '734ef51380a4f6fce0a633f56f9db5b6eef5be71':
  docs: Adding Sony logo to Wear partners
2014-09-03 21:45:49 +00:00
Svetoslav
840bb00855 Merge "Unregister from the remote renderer only if bound." into lmp-dev 2014-09-03 21:43:13 +00:00
Jean-Michel Trivi
46566ebbf5 am f557832a: (-s ours) am 1c9d1485: am 6d4873f5: am 0511ba50: Do not persist and restore the media button event receiver
* commit 'f557832ad82041b17a15448e3b776fdef4ba747b':
  Do not persist and restore the media button event receiver
2014-09-03 21:41:49 +00:00
Selim Gurun
c7a8d06731 Remove unpublished optOutDataReductionProxyApi
Bug: 17253647

Per Api council's request, remove this API.

Change-Id: I8e706cc7173b88f3f13b2ac0697f54b25f163798
2014-09-03 14:34:24 -07:00
Ricardo Cervera
a32f29e225 am a4fe79a4: docs: Adding Sony logo to wear page
* commit 'a4fe79a4c4e36770c95f8450b664d7a1fa111004':
  docs: Adding Sony logo to wear page
2014-09-03 21:34:17 +00:00
Ricardo Cervera
734ef51380 am 2d80f931: docs: Adding Sony logo to Wear partners
* commit '2d80f9317fe69b932d5d9aeb9fc14017fab1af9c':
  docs: Adding Sony logo to Wear partners
2014-09-03 21:34:13 +00:00
Svetoslav
9e795e19c7 Unregister from the remote renderer only if bound.
bug:8213791

Change-Id: Ia9efa33331437c4db447acf0c510d4cb4932a593
2014-09-03 14:34:01 -07:00
Christopher Tate
835b313fa8 Merge "The transport system API needs to manage binder identity" into lmp-dev 2014-09-03 21:33:03 +00:00
Svetoslav
058e1f5a38 Merge "NumberPicker not announcing current selection." into lmp-dev 2014-09-03 21:29:16 +00:00
Ricardo Cervera
a4fe79a4c4 docs: Adding Sony logo to wear page
Change-Id: I5e56ca313364d832bb26f7b07891381a0c2b55df
2014-09-03 14:27:50 -07:00
Jean-Michel Trivi
f557832ad8 am 1c9d1485: am 6d4873f5: am 0511ba50: Do not persist and restore the media button event receiver
* commit '1c9d1485f381d610152abd64bfaa6d5d963878d2':
  Do not persist and restore the media button event receiver
2014-09-03 21:23:49 +00:00
Ricardo Cervera
2d80f9317f docs: Adding Sony logo to Wear partners
Change-Id: I3c4b52d647f0a942ef5d5daad6fb6d5197839f2d
2014-09-03 14:17:06 -07:00
Christopher Tate
539b217b76 The transport system API needs to manage binder identity
...around writing settings.  It does its own proper permission check;
it just needs to make sure not to accidentally crash the caller in
strange and wondrous ways because of failing to clear binder identity
before writing the result to secure settings.

Bug 16542048

Change-Id: I88d1f2dbeebd24eed5d86989f0ca0d834878b054
2014-09-03 14:12:11 -07:00
Jean-Michel Trivi
1c9d1485f3 am 6d4873f5: am 0511ba50: Do not persist and restore the media button event receiver
* commit '6d4873f577774e5e7427e2675e4c6ff8049646be':
  Do not persist and restore the media button event receiver
2014-09-03 21:11:13 +00:00
Jean-Michel Trivi
6d4873f577 am 0511ba50: Do not persist and restore the media button event receiver
* commit '0511ba506d30d0a517491a92eda8d001a441d557':
  Do not persist and restore the media button event receiver
2014-09-03 20:59:53 +00:00
Eino-Ville Talvala
b10e39e716 Merge "JobScheduler: Fix doc build break" into lmp-dev 2014-09-03 20:53:34 +00:00
Eino-Ville Talvala
93b47603bf JobScheduler: Fix doc build break
Change-Id: I769da7274fe5e3f64a47c82f893afeee6a11254e
2014-09-03 20:51:13 +00:00
Nancy Chen
0c76727916 Merge "Update api for onConnectionAdded/Removed" into lmp-dev 2014-09-03 20:51:12 +00:00
Marco Fucci
8364885a7d Merge "Disconnect TrustAgent when not active." into lmp-dev 2014-09-03 20:39:05 +00:00
Nancy Chen
b5acab4639 Update api for onConnectionAdded/Removed
Removed methods from public API for previous change.

Bug: 17262026
Change-Id: Ic41eccf8b9c1489b6261758640a35664b39ea819
2014-09-03 13:33:46 -07:00
Svetoslav
ca50566101 NumberPicker not announcing current selection.
bug:17299486

Change-Id: I73fd33ef3518ef8e6cdd40cd036e8f104dc492b6
2014-09-03 13:26:34 -07:00
Amith Yamasani
bef1036af7 Merge "Add some @SystemApi tags for internal user-related APIs" into lmp-dev 2014-09-03 20:26:10 +00:00
Julian Odell
6c25708eb5 Merge "Bug 17262099: MMS API changes (multi-project)." into lmp-dev 2014-09-03 20:20:34 +00:00
Amith Yamasani
0e8d7d63ba Add some @SystemApi tags for internal user-related APIs
Also added an internal isManagedProfile()

Bug: 17371392
Change-Id: Ibcc26771d954505cbd530192bf4a8a25a8d4cae0
2014-09-03 13:17:28 -07:00
Julian Odell
31ef14d4f0 Bug 17262099: MMS API changes (multi-project).
Move MMS api to using content provider rather than byte[] to pass MMS message contents.
Rebased and merged into TOT.

Change-Id: I3509b2774b1cb30a1c8100bb25d283140c963b6b
2014-09-03 13:11:56 -07:00
Evan Charlton
4d12a03771 Merge "Remove startActivityFromInCall API" into lmp-dev 2014-09-03 20:07:47 +00:00
Brian Carlstrom
e7a2138635 Merge "Restrict lazy dexopt to eng builds only" into lmp-dev 2014-09-03 20:02:42 +00:00
Deepanshu Gupta
b988c8fa66 Build layoutlib_create tests.
Change-Id: Ia13a090f8ec29b2b2a107825b6a13d7db77e6d61
2014-09-03 12:57:12 -07:00
Wink Saville
baaa4ef6f0 Merge "Rename getActivatedXxx to getActiveXxx" into lmp-dev 2014-09-03 19:50:55 +00:00
Svet Ganov
df6444931b Switching to raw byte copy of bitmaps for print preview.
Using compression and decompression for moving bitmap data
acorss processes is slow as compression is expensive. This
change switches to using direct streaming of the bitmap
data.

bug:15938254

Change-Id: I78bc450031ee60ada4c3b66f14586a73c72ce34f
2014-09-03 12:34:23 -07:00
Svetoslav
6f249835a4 Fix some print UI issues.
1. Fixed a crash when orientation changes and the content
   is scrolled due to wrong size bitmap being requested.

2. Closed a file dscriptior that was being left open.

3. Clearing the bitmap before passing it to the renderer to
   ensure it is white for pixels not touched when rendering.

4. Removed debug logs.

5. Switched to the correct layout manager for RecyclerView.

bug:16966145

Change-Id: I8ab9d22635c93cac5ff85c6f4b5d82e58cd8df5c
2014-09-03 12:29:53 -07:00
Matthew Xie
ddfa8e18fd Merge "Close the base socket when bindListen fails" into lmp-dev 2014-09-03 19:29:03 +00:00
Matthew Xie
726652e9d3 Close the base socket when bindListen fails
Bug: 10773872
Change-Id: I0a72b2eb65055fa1959070d2dc32d40a573bd6f2
2014-09-03 19:25:39 +00:00
Marco Fucci
4e68f11672 Disconnect TrustAgent when not active.
Bug: 17191952
Change-Id: I470261f659a573400b2eb1421eeb953c87e58b66
2014-09-03 12:24:22 -07:00
Wink Saville
8a38a203a9 Rename getActivatedXxx to getActiveXxx
Change-Id: Iba6d2805a69d3385c93b7ed3c6267b5b8b252a28
2014-09-03 12:22:54 -07:00
Paul Jensen
1f0ce33821 Merge "Use alarm rather than delayed message to end lingering." into lmp-dev 2014-09-03 19:08:16 +00:00
Brian Carlstrom
230561eef4 Restrict lazy dexopt to eng builds only
Bug: 16696554
Change-Id: I56bb63ce534842994a70df6b09843b4e3153c845
2014-09-03 11:59:38 -07:00
Deepanshu Gupta
1a12b80569 LayoutLib: Fix warnings in ResourceHelper.
Fix intelliJ warnings in ResourceHelper. Most of them just change
boolean checks "x == false" with "!x".

Change-Id: I278645e2807affd8b3183a4a6f5e4fa2ab7b3d21
2014-09-03 11:59:33 -07:00
Deepanshu Gupta
458f2a7bbb LayoutLib: Allow '+' in float attributes.
Earlier change to fix the invalid conditional check inadvertedly
disallowed '+'.

Change-Id: I75a37926681fe3a496482d6fb75161ac75326109
2014-09-03 11:59:22 -07:00
Nancy Chen
8a34d9ed2a Merge "Remove onConnectionAdded/Removed() from ConnectionService API" into lmp-dev 2014-09-03 18:41:21 +00:00
Glenn Kasten
49367a367c Merge "Fix regression in CTS for AudioTrack" into lmp-dev 2014-09-03 18:31:59 +00:00
Alan Viverette
94b88e7103 Merge "Remove partial support for hotspot changes on focus movement" into lmp-dev 2014-09-03 18:31:47 +00:00
Wink Saville
7f6fa2a1cd Merge "Prepare to make SubscriptionManager public." into lmp-dev 2014-09-03 18:25:45 +00:00
John Reck
2d72dd2e3e Merge "Have destroy call freePrefetchedLayers" into lmp-dev 2014-09-03 18:18:31 +00:00
John Reck
17035b0211 Have destroy call freePrefetchedLayers
Bug: 17208461

 There's a potential race condition between HardwareRenderer.destroy()
 being called (which calls destroyCanvasAndSurface()) and the renderer
 being finalized (which is what calls freePrefetchedLayers), during which
 time it's possible we get a TRIM_MEMORY_COMPLETE and destroy the EGL
 context.

 Fix this race condition by moving stopDrawing() and freePrefetchedLayers()
 into destroyCanvasAndSurface() where they should have been in the first
 place.

 Also, if we hit the assertion failure, dump the current state of
 Caches to try and provide more context for the failure.

Change-Id: Ife0ba3562041e8b08e87e3e13640472b3004eed6
2014-09-03 11:13:53 -07:00