OSDN Git Service

android-x86/frameworks-base.git
9 years agoUnflip TextureView getBitmap readback
Chris Craik [Sat, 23 May 2015 00:18:54 +0000 (17:18 -0700)]
Unflip TextureView getBitmap readback

bug:20165725

Change-Id: I09035f43be140145c54221d6865206ce486994c9

9 years agoMerge "Updating (and completing) documentation post API-council changes." into mnc-dev
Paul McLean [Wed, 20 May 2015 15:56:06 +0000 (15:56 +0000)]
Merge "Updating (and completing) documentation post API-council changes." into mnc-dev

9 years agoMerge "Throw a checked exception on inconsistent installs." into mnc-dev
Narayan Kamath [Wed, 20 May 2015 15:54:47 +0000 (15:54 +0000)]
Merge "Throw a checked exception on inconsistent installs." into mnc-dev

9 years agoUpdating (and completing) documentation post API-council changes.
Paul McLean [Tue, 19 May 2015 18:13:41 +0000 (11:13 -0700)]
Updating (and completing) documentation post API-council changes.

1. Enum/Select/Notify API
2. (re)routing API

bug: 21151568
Change-Id: Idce969c8b8955022b7810cf5dddb800e6aa01000

9 years agoMerge "Reduce wasted buffer allocations" into mnc-dev
John Reck [Wed, 20 May 2015 14:23:05 +0000 (14:23 +0000)]
Merge "Reduce wasted buffer allocations" into mnc-dev

9 years agoMerge "Fix whitespace in TextureView" into mnc-dev
John Reck [Wed, 20 May 2015 14:22:56 +0000 (14:22 +0000)]
Merge "Fix whitespace in TextureView" into mnc-dev

9 years agoMerge "Fix NPE in setSurfaceTexure" into mnc-dev
John Reck [Wed, 20 May 2015 14:22:40 +0000 (14:22 +0000)]
Merge "Fix NPE in setSurfaceTexure" into mnc-dev

9 years agoFix whitespace in TextureView
John Reck [Mon, 18 May 2015 22:13:30 +0000 (15:13 -0700)]
Fix whitespace in TextureView

Change-Id: I22396b7205dc2b9cf0eda5bd8aa951cad8d8bd87

9 years agoFix NPE in setSurfaceTexure
John Reck [Mon, 18 May 2015 22:11:52 +0000 (15:11 -0700)]
Fix NPE in setSurfaceTexure

Bug: 20088412
Change-Id: I9b78636a7d89438c8924bb1bf2adba00e74366eb

9 years agoMerge "Fix Bitmap#sameAs NPE" into mnc-dev
John Reck [Wed, 20 May 2015 14:18:32 +0000 (14:18 +0000)]
Merge "Fix Bitmap#sameAs NPE" into mnc-dev

9 years agoMerge "Deal more gracefully with null smallIcons." into mnc-dev
Dan Sandler [Wed, 20 May 2015 14:04:35 +0000 (14:04 +0000)]
Merge "Deal more gracefully with null smallIcons." into mnc-dev

9 years agoDeal more gracefully with null smallIcons.
Dan Sandler [Wed, 20 May 2015 00:59:12 +0000 (20:59 -0400)]
Deal more gracefully with null smallIcons.

First, when parceling a notification with no small icon:
Well, you shouldn't attempt to do this anyway, since NoMan
will reject a notification without a valid smallIcon.  But
setServiceForeground parcels up the Notification on its own
before handing it off to NoMan, so it will crash on an
invalid small icon. (In general, parceling code should never
ever crash, even if the object is in an undesirable state.)

And when build()ing a notification: Same thing---don't build
a notification with no icon; you're going to have a bad
time. But maybe you're going to fix it before you hand it
off to NoMan. Or maybe it's just one page of a wearable
notification, so it doesn't really need its own icon. Either
way, Notification shouldn't crash.

Bug: 21286186
Bug: 21298403
Change-Id: Ie482cde0a3afe3aaabf07be0536551b8e4bceba0

9 years agoMerge "Don't crash in bugreport on devices without BT" into mnc-dev
Jason Monk [Wed, 20 May 2015 13:16:01 +0000 (13:16 +0000)]
Merge "Don't crash in bugreport on devices without BT" into mnc-dev

9 years agoMerge "Report invalid network after one failed attempt." into mnc-dev
Paul Jensen [Wed, 20 May 2015 12:56:22 +0000 (12:56 +0000)]
Merge "Report invalid network after one failed attempt." into mnc-dev

9 years agoMerge "Undeprecate android.net.ProxyInfo as it's still used." into mnc-dev
Paul Jensen [Wed, 20 May 2015 10:49:02 +0000 (10:49 +0000)]
Merge "Undeprecate android.net.ProxyInfo as it's still used." into mnc-dev

9 years agoThrow a checked exception on inconsistent installs.
Narayan Kamath [Wed, 20 May 2015 10:11:55 +0000 (11:11 +0100)]
Throw a checked exception on inconsistent installs.

Allows us to proceed without crashing the system process. Also,
complete an incomplete error message. Follow up comments from
change b904863476991d8540d37d5.

bug: 21144503

Change-Id: Idb6a33f93b70b4e5e2bca95d2d3af0e2adaeedf3

9 years agoMerge "Landscape extracted mode - floating toolbar interference" into mnc-dev
Andrei Stingaceanu [Wed, 20 May 2015 09:32:49 +0000 (09:32 +0000)]
Merge "Landscape extracted mode - floating toolbar interference" into mnc-dev

9 years agoLandscape extracted mode - floating toolbar interference
Andrei Stingaceanu [Tue, 19 May 2015 16:29:16 +0000 (17:29 +0100)]
Landscape extracted mode - floating toolbar interference

In landscape do not allow starting selection modes if the
extracted mode has not yet started. Also remove the single
tap selection delayed runnable.

This allows for a smooth transition (as in no floating
toolbar artifacts) into extracted mode. Also fixes
(more as in hides) the double selections.

Bug: 20930071
Change-Id: Idb9c375dc25777761b11ca17ccfd9f5eedc642b4

9 years agoMerge "Set NLM_F_ACK in our RTM_NEWNEIGH requests" into mnc-dev
Erik Kline [Wed, 20 May 2015 08:05:21 +0000 (08:05 +0000)]
Merge "Set NLM_F_ACK in our RTM_NEWNEIGH requests" into mnc-dev

9 years agoSet NLM_F_ACK in our RTM_NEWNEIGH requests
Erik Kline [Tue, 19 May 2015 05:17:11 +0000 (14:17 +0900)]
Set NLM_F_ACK in our RTM_NEWNEIGH requests

With NLM_F_ACK set in RTM_NEWNEIGH requests we get some response from
the kernel, whether there was an error or not.

Additionally:

    [1] add IpReachabilityMonitor#probeNeighbor() as a public
        static method, since it actually depends very little on the
        class internals and might be of larger use.

    [2] add a unittest for parsing NetlinkErrorMessages.

Bug: 18581716
Change-Id: I5d62e7a9972c7440f0483c38c77677436d3a1a25

9 years agoMerge "Add a hidden method to clear the capabilities of a NetworkRequest" into mnc-dev
Lorenzo Colitti [Wed, 20 May 2015 05:49:02 +0000 (05:49 +0000)]
Merge "Add a hidden method to clear the capabilities of a NetworkRequest" into mnc-dev

9 years agoBluetooth: Clear BLE always ON apps at Airplane mode
Nitin Arora [Fri, 8 May 2015 01:45:44 +0000 (18:45 -0700)]
Bluetooth: Clear BLE always ON apps at Airplane mode

This patch clears the container managing the Ble Always On
apps while switching on, the airplane mode. The airplane mode
will completely turn Off the Bleutooth Adapter from any state
it is in.

Change-Id: Ib28d39d85efe3aac37e3a53a4fb892099568c702

9 years agoTIF: Fix an incorrect conversion in timeShiftSetPlaybackParams()
Dongwon Kang [Wed, 20 May 2015 04:57:34 +0000 (13:57 +0900)]
TIF: Fix an incorrect conversion in timeShiftSetPlaybackParams()

Bug: 21313401
Change-Id: I73e55c454cf0e2cd90d922acf5c6efe727f59204

9 years agoMerge "Close netlink socket when shutting down IpReachabilityMonitor" into mnc-dev
Erik Kline [Wed, 20 May 2015 03:26:12 +0000 (03:26 +0000)]
Merge "Close netlink socket when shutting down IpReachabilityMonitor" into mnc-dev

9 years agoClose netlink socket when shutting down IpReachabilityMonitor
Erik Kline [Fri, 15 May 2015 09:49:17 +0000 (18:49 +0900)]
Close netlink socket when shutting down IpReachabilityMonitor

This forces the NetlinkSocketObserver thread to exit quickly, rather
than lingering until the next random netlink neighbor multicast message
arrives.

Additionally, add a small unittest to verify that multiple calls to
NetlinkSocket#close() are safe.

Change-Id: I101730fad7eee72f9c6e8a7e7bd10c634f2ceab4

9 years agoMerge "Make Context.getClassLoader() work." into mnc-dev
Deepanshu Gupta [Wed, 20 May 2015 03:05:51 +0000 (03:05 +0000)]
Merge "Make Context.getClassLoader() work." into mnc-dev

9 years agoMake Context.getClassLoader() work.
Deepanshu Gupta [Tue, 19 May 2015 01:47:07 +0000 (18:47 -0700)]
Make Context.getClassLoader() work.

Context.getClassLoader() is used by the LayoutInflater and can be used
by custom views. However, when called from the LayoutInflater, this
needs to return only the Framework classes. This is so that the IDE gets
a chance to instantiate the custom views, which helps in better error
reporting and better fallback in case of exceptions, like MockView.

To workaround this need of the same method returning different results
based on where it's called from, the method call in LayoutInflater is
renamed to getFrameworkClassLoader() and the new method is injected in
Context. The implementation of getFrameworkClassLoader() maintains the
existing behaviour of getClassLoader().

Context.getClassLoader() is now modified to return classes from both
Framework and the app namespace.

Also, update the list of packages to search for Framework views.

Change-Id: I1a6be4aa1fc5c1c5520b5440a348a52f10b6eb3b

9 years agoMerge "Prevent modification of system fixed permissions" into mnc-dev
Svetoslav [Wed, 20 May 2015 01:57:44 +0000 (01:57 +0000)]
Merge "Prevent modification of system fixed permissions" into mnc-dev

9 years agoMerge "[Fix Potential for error]:" into mnc-dev
Simranjit Singh Kohli [Wed, 20 May 2015 01:04:56 +0000 (01:04 +0000)]
Merge "[Fix Potential for error]:" into mnc-dev

9 years agoMerge "Fix user switcher ripple emanation point" into mnc-dev
Adrian Roos [Wed, 20 May 2015 00:43:46 +0000 (00:43 +0000)]
Merge "Fix user switcher ripple emanation point" into mnc-dev

9 years ago[Fix Potential for error]:
Simranjit Singh Kohli [Tue, 19 May 2015 17:58:01 +0000 (10:58 -0700)]
[Fix Potential for error]:

Init for accounts maybe called when non-system app asks for accounts.
That might lead to deletion of accounts and broadcast from the user,
which requires permission. Hence, we should clear calling identity
before requesting it.

Bug: 21140169

Change-Id: I057ac6778ea53d3f96b3e5c42fe3a2fe60c3cf28

9 years agoMerge "Rebind backup transports only when clearly needed" into mnc-dev
Christopher Tate [Wed, 20 May 2015 00:07:11 +0000 (00:07 +0000)]
Merge "Rebind backup transports only when clearly needed" into mnc-dev

9 years agoRebind backup transports only when clearly needed
Christopher Tate [Fri, 15 May 2015 23:06:58 +0000 (16:06 -0700)]
Rebind backup transports only when clearly needed

Significantly narrow the circumstances under which transports
will be re-bound.  In particular, we now do not unbind + rebind
whenever any component in a bound transport's host package changes;
rather, we do so only when the transport component itself has
changed state, or when there is a state change that might cause
a new transport to become available.

Bug 19775237

Change-Id: Ib386875df19ffe9f2d3eb9f9788187338360644a

9 years agoPrevent modification of system fixed permissions
Svetoslav [Tue, 19 May 2015 23:48:46 +0000 (16:48 -0700)]
Prevent modification of system fixed permissions

Change-Id: I061b993df305f27e52f08dad54f1bdbf162de4d9

9 years agoMerge "API for converting AudioAttributes to stream type" into mnc-dev
Jean-Michel Trivi [Tue, 19 May 2015 23:42:33 +0000 (23:42 +0000)]
Merge "API for converting AudioAttributes to stream type" into mnc-dev

9 years agoAPI for converting AudioAttributes to stream type
Jean-Michel Trivi [Mon, 18 May 2015 18:50:50 +0000 (11:50 -0700)]
API for converting AudioAttributes to stream type

Bug 21267880

Change-Id: I3389dcb3a35a3786ecdb8f56a917a0ae619e8417

9 years agoMerge "Handle downgrading a runtime permission to an install one" into mnc-dev
Svetoslav [Tue, 19 May 2015 23:30:47 +0000 (23:30 +0000)]
Merge "Handle downgrading a runtime permission to an install one" into mnc-dev

9 years agoHandle downgrading a runtime permission to an install one
Svetoslav [Tue, 19 May 2015 23:26:53 +0000 (16:26 -0700)]
Handle downgrading a runtime permission to an install one

bug:21300531

Change-Id: I5c020c0faae3e727bbe898441c58116e2ab892b8

9 years agoam 25a3b711: am 97c616cb: Merge "docs: M Preview - Updating image for Program Overvie...
Joe Fernandez [Tue, 19 May 2015 23:16:10 +0000 (23:16 +0000)]
am 25a3b711: am 97c616cb: Merge "docs: M Preview - Updating image for Program Overview" into mnc-preview-docs

* commit '25a3b7117a174e2a0dccdaf84c8394e5bdf1e7ca':
  docs: M Preview - Updating image for Program Overview

9 years agoam 9b716793: Merge "Revert "Make VPA.setInterpolator(null) unset the interpolator...
Yigit Boyar [Tue, 19 May 2015 23:15:48 +0000 (23:15 +0000)]
am 9b716793: Merge "Revert "Make VPA.setInterpolator(null) unset the interpolator."" into lmp-mr1-ub-dev

* commit '9b7167937ab5ea456c45e735d3bd749ccf49c432':
  Revert "Make VPA.setInterpolator(null) unset the interpolator."

9 years agoFix Bitmap#sameAs NPE
John Reck [Tue, 19 May 2015 22:50:51 +0000 (15:50 -0700)]
Fix Bitmap#sameAs NPE

Bug: 21281842

Change-Id: I4a1e33d7e642fa50e8789f1441e8587d1c15119c

9 years agoMerge "DocumentUI: Plish the design of footer bottons." into mnc-dev
Daichi Hirono [Tue, 19 May 2015 22:20:38 +0000 (22:20 +0000)]
Merge "DocumentUI: Plish the design of footer bottons." into mnc-dev

9 years agoMerge "setCallbackType should be public for onlost/onfound apis" into mnc-dev
Wei Wang [Tue, 19 May 2015 22:10:23 +0000 (22:10 +0000)]
Merge "setCallbackType should be public for onlost/onfound apis" into mnc-dev

9 years agoam 97c616cb: Merge "docs: M Preview - Updating image for Program Overview" into mnc...
Joe Fernandez [Tue, 19 May 2015 22:07:20 +0000 (22:07 +0000)]
am 97c616cb: Merge "docs: M Preview - Updating image for Program Overview" into mnc-preview-docs

* commit '97c616cb113ba3144ff91b7f974d832fdc5ff0f0':
  docs: M Preview - Updating image for Program Overview

9 years agosetCallbackType should be public for onlost/onfound apis
Prerepa Viswanadham [Tue, 19 May 2015 21:55:09 +0000 (14:55 -0700)]
setCallbackType should be public for onlost/onfound apis

Bug: 21304922
Change-Id: I27ed4f3e00ac13354e3ef75e5686916be0d10918

9 years agoMerge "Push initial disk state, handle empty media." into mnc-dev
Jeff Sharkey [Tue, 19 May 2015 22:04:53 +0000 (22:04 +0000)]
Merge "Push initial disk state, handle empty media." into mnc-dev

9 years agoMerge "Add IntentFilter auto verification - part 12" into mnc-dev
Fabrice Di Meglio [Tue, 19 May 2015 22:02:38 +0000 (22:02 +0000)]
Merge "Add IntentFilter auto verification - part 12" into mnc-dev

9 years agoReduce wasted buffer allocations
John Reck [Tue, 19 May 2015 22:00:13 +0000 (15:00 -0700)]
Reduce wasted buffer allocations

Bug: 20170924

Don't pre-allocate buffers if there is a SurfaceView or other
View that has requested transparent regions. This doesn't fully
address the problem of allocating buffers when there's a full
screen SurfaceView but it at least gets back to KitKat levels
of only having 1 wasted buffer instead of 3 (the 1 being
a result of the fact that it will still draw one frame of emptiness
forcing a buffer dequeue).

Change-Id: Ied9553186bc7b111d180b63f87b92bd317cb4b97

9 years agoMerge "docs: M Preview - Updating image for Program Overview" into mnc-preview-docs
Joe Fernandez [Tue, 19 May 2015 21:59:14 +0000 (21:59 +0000)]
Merge "docs: M Preview - Updating image for Program Overview" into mnc-preview-docs

9 years agoPush initial disk state, handle empty media.
Jeff Sharkey [Tue, 19 May 2015 21:42:38 +0000 (14:42 -0700)]
Push initial disk state, handle empty media.

Stash volume count from last scan, and use it to push initial storage
notifications state when listener is first attached.

Also omit disks with invalid size, which usually means they're an
empty slot with no media.

Bug: 20503551
Change-Id: I75097035aebaad70ba32437179a863f6a0910aa5

9 years agodocs: M Preview - Updating image for Program Overview
Joe Fernandez [Tue, 19 May 2015 21:57:19 +0000 (14:57 -0700)]
docs: M Preview - Updating image for Program Overview

- also removing unused images

Change-Id: Ic120bc3b119ccda70e85fb0a7254d835677467dd

9 years agoAdd IntentFilter auto verification - part 12
Fabrice Di Meglio [Tue, 19 May 2015 21:50:54 +0000 (14:50 -0700)]
Add IntentFilter auto verification - part 12

- again tune Intent resolution candidates filtering: first add always list
  if not empty, other wise add undefined and browsers. If the list is still
  empty at the end, then add all the initial candidates.

See bug #19628271

Change-Id: I21f5313daf7bec1049c1e7c08275c825855d2935

9 years agoDon't crash in bugreport on devices without BT
Jason Monk [Tue, 19 May 2015 20:06:52 +0000 (16:06 -0400)]
Don't crash in bugreport on devices without BT

Bug: 21160862
Change-Id: Ia3295fc6ebbd8ad1b5d03c70c89370d09f9cbb03

9 years agoMerge "Add enable/disable properties to phone accounts." into mnc-dev
Santos Cordon [Tue, 19 May 2015 20:26:37 +0000 (20:26 +0000)]
Merge "Add enable/disable properties to phone accounts." into mnc-dev

9 years agoAdd enable/disable properties to phone accounts.
Santos Cordon [Fri, 8 May 2015 20:52:09 +0000 (13:52 -0700)]
Add enable/disable properties to phone accounts.

Bug: 20303449
Change-Id: Ie6203a284454d43f4dd20917f0f1fda0b36484f8

9 years agoMerge "Clear binder identity before dispatching ap op mode changes." into mnc-dev
Svet Ganov [Tue, 19 May 2015 19:51:27 +0000 (19:51 +0000)]
Merge "Clear binder identity before dispatching ap op mode changes." into mnc-dev

9 years agoClear binder identity before dispatching ap op mode changes.
Svet Ganov [Tue, 19 May 2015 19:45:52 +0000 (12:45 -0700)]
Clear binder identity before dispatching ap op mode changes.

bug:21078841

Change-Id: I409b739bbda10542142c8aac1522ad49882f5ec5

9 years agoMerge "Camera2: Fix session close callback" into mnc-dev
Eino-Ville Talvala [Tue, 19 May 2015 19:39:10 +0000 (19:39 +0000)]
Merge "Camera2: Fix session close callback" into mnc-dev

9 years agoMerge "Don't recreate the surface unnecessarily" into mnc-dev
John Reck [Tue, 19 May 2015 19:31:56 +0000 (19:31 +0000)]
Merge "Don't recreate the surface unnecessarily" into mnc-dev

9 years agoFixed Focusability issues with heads up
Selim Cinek [Tue, 19 May 2015 18:00:38 +0000 (11:00 -0700)]
Fixed Focusability issues with heads up

The panel was focusable when a heads up came in which
lead to several bugs. Sometimes the user was not able to
type anymore and focus listeners fired.

Bug: 21153703
Bug: 20892889
Change-Id: Iab86e651ef827767225ca092bb2c1e3fe1ddf385

9 years agoDon't recreate the surface unnecessarily
John Reck [Tue, 19 May 2015 18:09:32 +0000 (11:09 -0700)]
Don't recreate the surface unnecessarily

Bug: 19896200

The flicker is caused because ViewRootImpl is
requesting a change from OPAQUE to TRANSLUCENT due
to the presence of a GLSurfaceView. However, WindowManager
will use this as a signal to recreate the SurfaceControl.

This is not actually correct, as the underlying format
of the SurfaceControl was *already* TRANSLUCENT due to being
hardware accelerated. Add a fast-path for this step
where the format didn't actually change such that all that is
necessary is for the OPAQUE flag to be flushed through
to SurfaceFlinger.

This doesn't address the larger, more complex issue of a surface
flickering if the pixel format really did need to change, but
this should address the common case.

Change-Id: Ia5275705733123a3d7929bf5951829415753e2b2

9 years agoFix user switcher ripple emanation point
Adrian Roos [Fri, 21 Nov 2014 14:50:16 +0000 (15:50 +0100)]
Fix user switcher ripple emanation point

Bug: 18444431
Change-Id: I35b053b151ba1e6e326d3a6c2bd2c3c8e3ad8c28

9 years agoUndeprecate android.net.ProxyInfo as it's still used.
Paul Jensen [Tue, 19 May 2015 19:00:56 +0000 (15:00 -0400)]
Undeprecate android.net.ProxyInfo as it's still used.

It was deprecated as part of the Apache deprecation, however it is used
by ConnectivityManager.getLinkProperties() and .getDefaultProxy().
The alternatives (e.g. java.net.Proxy) do not offer a complete
replacement as they lack certain fields (e.g. PAC URL).

Bug:21274137
Change-Id: I99163a2611a738f337fb9907349ef6255dbed6d6

9 years agoMerge "Fix include tag rendering." into mnc-dev
Deepanshu Gupta [Tue, 19 May 2015 19:07:45 +0000 (19:07 +0000)]
Merge "Fix include tag rendering." into mnc-dev

9 years agoFix include tag rendering.
Deepanshu Gupta [Tue, 19 May 2015 18:55:15 +0000 (11:55 -0700)]
Fix include tag rendering.

A missing catch clause caused rendering to be failed when there is an
include tag that doesn't specify layout_width and layout_height. Also
improve the error messages to make debugging easier next time.

Change-Id: I617762636973a010b34da167c7b5fcd328b7d178

9 years agoReport invalid network after one failed attempt.
Paul Jensen [Tue, 19 May 2015 18:51:47 +0000 (14:51 -0400)]
Report invalid network after one failed attempt.

Also, blame UID requesting re-evaluation for first 5 attempts.

Bug:19648073
Change-Id: Ia04eeb1aeb59fcb21de098193dfad832d5fbe3a2

9 years agoMerge "Revert "Make VPA.setInterpolator(null) unset the interpolator."" into lmp...
Yigit Boyar [Tue, 19 May 2015 18:40:36 +0000 (18:40 +0000)]
Merge "Revert "Make VPA.setInterpolator(null) unset the interpolator."" into lmp-mr1-ub-dev

9 years agoMerge "Fix issue #20679383: Add text style to assist.ViewNode..." into mnc-dev
Dianne Hackborn [Tue, 19 May 2015 18:26:13 +0000 (18:26 +0000)]
Merge "Fix issue #20679383: Add text style to assist.ViewNode..." into mnc-dev

9 years agoMerge "Add missing const qualifier to compile with clang/llvm." into mnc-dev
Chih-Hung Hsieh [Tue, 19 May 2015 18:22:24 +0000 (18:22 +0000)]
Merge "Add missing const qualifier to compile with clang/llvm." into mnc-dev

9 years agoMerge "Turning off logging in ALSA device connection routines." into mnc-dev
Paul McLean [Tue, 19 May 2015 18:21:37 +0000 (18:21 +0000)]
Merge "Turning off logging in ALSA device connection routines." into mnc-dev

9 years agoFix issue #20679383: Add text style to assist.ViewNode...
Dianne Hackborn [Tue, 19 May 2015 18:18:16 +0000 (11:18 -0700)]
Fix issue #20679383: Add text style to assist.ViewNode...

...from text nodes in WebView

Add a new explicit API for setting the text style information associated
with a view structure.

Also, how about some documentation!

Change-Id: Ia948b2d66382b973d0d00a67172a281ad55ce592

9 years agoMerge "Use consistent name for KeyPairGeneratorSpi." into mnc-dev
Alex Klyubin [Tue, 19 May 2015 18:07:21 +0000 (18:07 +0000)]
Merge "Use consistent name for KeyPairGeneratorSpi." into mnc-dev

9 years agoMerge "Switch from getSpi to getCurrentSpi." into mnc-dev
Alex Klyubin [Tue, 19 May 2015 18:06:59 +0000 (18:06 +0000)]
Merge "Switch from getSpi to getCurrentSpi." into mnc-dev

9 years agoMerge "Query HTTP proxy for network via a new API to avoid permissions exceptions...
Paul Jensen [Tue, 19 May 2015 17:58:10 +0000 (17:58 +0000)]
Merge "Query HTTP proxy for network via a new API to avoid permissions exceptions" into mnc-dev

9 years agoMerge "SysUI: Move BT receivers to bg" into mnc-dev
Jason Monk [Tue, 19 May 2015 17:56:31 +0000 (17:56 +0000)]
Merge "SysUI: Move BT receivers to bg" into mnc-dev

9 years agoMerge "Camera2: Add SDK annotations" into mnc-dev
Eino-Ville Talvala [Tue, 19 May 2015 17:55:35 +0000 (17:55 +0000)]
Merge "Camera2: Add SDK annotations" into mnc-dev

9 years agoMerge "Update 0th level icon for QS wifi sub panel" into mnc-dev
Jason Monk [Tue, 19 May 2015 17:55:29 +0000 (17:55 +0000)]
Merge "Update 0th level icon for QS wifi sub panel" into mnc-dev

9 years agoMerge "Allow creating a managed profile if there is only one user." into mnc-dev
Nicolas Prevot [Tue, 19 May 2015 17:52:14 +0000 (17:52 +0000)]
Merge "Allow creating a managed profile if there is only one user." into mnc-dev

9 years agoUpdate 0th level icon for QS wifi sub panel
Jason Monk [Tue, 19 May 2015 17:46:00 +0000 (13:46 -0400)]
Update 0th level icon for QS wifi sub panel

Bug: 21019691
Change-Id: I3086c5105b418e618a7d4df9bb8b9cb4189beeb8

9 years agoAdd missing const qualifier to compile with clang/llvm.
Chih-Hung Hsieh [Tue, 19 May 2015 17:44:53 +0000 (10:44 -0700)]
Add missing const qualifier to compile with clang/llvm.

BUG: 21298442
Change-Id: Iad211237fdb0128d8f4490419687bf1da1cd261c

9 years agoMerge "Explain the void send() throws IOException" into mnc-dev
Glenn Kasten [Tue, 19 May 2015 17:34:21 +0000 (17:34 +0000)]
Merge "Explain the void send() throws IOException" into mnc-dev

9 years agoTurning off logging in ALSA device connection routines.
Paul McLean [Tue, 19 May 2015 17:32:13 +0000 (10:32 -0700)]
Turning off logging in ALSA device connection routines.

bug: 21298614
Change-Id: Ia88393698072af8f7c101382f180192646bf713e

9 years agoCamera2: Add SDK annotations
Eino-Ville Talvala [Thu, 14 May 2015 22:43:01 +0000 (15:43 -0700)]
Camera2: Add SDK annotations

- Annotate everything with @NonNull, @Nullable
- Annotate a few @IntRange
- Annotate a few @IntDef
  - Most metadata enums probably canont be annotated usefully,
    since get/set() are generic and the annotation system
    can't yet manage that.
  - Plus metadata annotations need to be auto-generated anyway
- Also add explicit null check to prepare's surface argument
- Also update docs of getCameraCharacteristics to match reality

Bug: 21029463
Change-Id: Ifd81b2a782e29ad069fe25c7db4a1fda73dabcd7

9 years agoMerge "Remove controlBackground attribute, replace with direct reference" into mnc-dev
Alan Viverette [Tue, 19 May 2015 17:13:21 +0000 (17:13 +0000)]
Merge "Remove controlBackground attribute, replace with direct reference" into mnc-dev

9 years agoSysUI: Move BT receivers to bg
Jason Monk [Tue, 19 May 2015 16:04:41 +0000 (12:04 -0400)]
SysUI: Move BT receivers to bg

Bug: 19520495
Change-Id: I58e7d023b9eaf67fccd1634e00803c8c8d871fff

9 years agoBluetooth: Check for mPanService before changing tethering state
Hemant Gupta [Sun, 15 Feb 2015 13:26:54 +0000 (18:56 +0530)]
Bluetooth: Check for mPanService before changing tethering state

Checking for mPanService before changing OR checking tethering state,
otherwise it will lead to application crash while checking isTetheringOn
OR changing tethering state.

Change-Id: I00844c03cdb8616118c1d50d7d31c75e51f0ef9b

9 years agoMerge "Hide floating toolbar when selection is out of bounds." into mnc-dev
Abodunrinwa Toki [Tue, 19 May 2015 17:00:05 +0000 (17:00 +0000)]
Merge "Hide floating toolbar when selection is out of bounds." into mnc-dev

9 years agoMerge "Keep IMM#mCurRootView synchronized with the actual window focus." into mnc-dev
Yohei Yukawa [Tue, 19 May 2015 16:52:25 +0000 (16:52 +0000)]
Merge "Keep IMM#mCurRootView synchronized with the actual window focus." into mnc-dev

9 years agoUse consistent name for KeyPairGeneratorSpi.
Alex Klyubin [Tue, 19 May 2015 16:41:17 +0000 (09:41 -0700)]
Use consistent name for KeyPairGeneratorSpi.

This renames AndroidKeyPairGeneratorSpi to
AndroidKeyStoreKeyPairGeneratorSpi for consistency with other SPI
implementations of AndroidKeyStore provider.

Bug: 18088752
Change-Id: Iea1c4d35987b3e64f92dd1706273ffb75a6addd6

9 years agoMerge "Fix wrong delay values for floatingtoolbar.hide/dismiss" into mnc-dev
Abodunrinwa Toki [Tue, 19 May 2015 16:45:19 +0000 (16:45 +0000)]
Merge "Fix wrong delay values for floatingtoolbar.hide/dismiss" into mnc-dev

9 years agoMerge "Update power manager to track uid state like netstats." into mnc-dev
Dianne Hackborn [Tue, 19 May 2015 16:44:09 +0000 (16:44 +0000)]
Merge "Update power manager to track uid state like netstats." into mnc-dev

9 years agoMerge "Volume: Dialog should not interfere when not showing." into mnc-dev
John Spurlock [Tue, 19 May 2015 16:40:05 +0000 (16:40 +0000)]
Merge "Volume: Dialog should not interfere when not showing." into mnc-dev

9 years agoFix wrong delay values for floatingtoolbar.hide/dismiss
Abodunrinwa Toki [Tue, 19 May 2015 16:36:55 +0000 (17:36 +0100)]
Fix wrong delay values for floatingtoolbar.hide/dismiss

Change-Id: Ie16b5f49babd0df0c70b188c9637e17c661e029c

9 years agoScan package to derive ABIs before optimizing.
Narayan Kamath [Mon, 18 May 2015 09:18:35 +0000 (10:18 +0100)]
Scan package to derive ABIs before optimizing.

This requires a minor refactor to extract the ABI detection logic
out of scanPackageDirtyLI.

Note that there's a minor regression here : we ignore the
cpuAbiOverride from the package settings when calculating the
CPU ABI. This is OK (and possibly better behaviour) because this
is only a debug only option (for adb install) AND because the instructions
require users to specify the abi override on every adb install
invocation. Furthermore, the behaviour when an ADB installed app
(with an override) is auto-updated is more consistent.

bug: 21144503
Change-Id: I74e7c493468ee0088eb615c9a7fe30b4d7cf27de

9 years agoMerge "Update Naskh font names to match upstream and add Tibetan." into mnc-dev
Roozbeh Pournader [Tue, 19 May 2015 16:29:25 +0000 (16:29 +0000)]
Merge "Update Naskh font names to match upstream and add Tibetan." into mnc-dev

9 years agoUpdate Naskh font names to match upstream and add Tibetan.
Roozbeh Pournader [Sun, 17 May 2015 03:50:06 +0000 (20:50 -0700)]
Update Naskh font names to match upstream and add Tibetan.

The latest files from the upstream Noto repository are named
NotoNaskhArabic* instead of the previous NotoNaskh*.

Also, Noto Sans Tibetan is now included in the fallback chain. Apart
from supporting Tibetan and Dzongkha langauges, this adds a character
(U+0FD6) that completes coverage for ARIB character sets.

Bug: 13680438
Bug: 18181755
Bug: 18639453
Bug: 19390244
Change-Id: I09b493340d1453ef61b08c841e1731119d645822

9 years agoMerge "Send AppTransitionFinish notification when there was no animation" into mnc-dev
Wale Ogunwale [Tue, 19 May 2015 16:27:27 +0000 (16:27 +0000)]
Merge "Send AppTransitionFinish notification when there was no animation" into mnc-dev

9 years agoVolume: Dialog should not interfere when not showing.
John Spurlock [Tue, 19 May 2015 16:26:25 +0000 (12:26 -0400)]
Volume: Dialog should not interfere when not showing.

Also dump volume dialog controller state properly as part of
the sysui service dump.

Bug: 21207717
Change-Id: I5146d4159d9b017bc91852b91a585725821c19d9

9 years agoMerge "No input instead of disabling password entry" into mnc-dev
Xiyuan Xia [Tue, 19 May 2015 16:06:05 +0000 (16:06 +0000)]
Merge "No input instead of disabling password entry" into mnc-dev

9 years agoNo input instead of disabling password entry
Xiyuan Xia [Fri, 15 May 2015 18:01:30 +0000 (11:01 -0700)]
No input instead of disabling password entry

So that the keyboard does not come and go all the time.

Bug:21271425
Change-Id: I9ba2fa7034777885a6e53f135eca31fc89568e9d