OSDN Git Service

android-x86/frameworks-base.git
10 years agoAdd root alpha and animation to (Animated)VectorDrawable
ztenghui [Thu, 11 Sep 2014 21:34:20 +0000 (14:34 -0700)]
Add root alpha and animation to (Animated)VectorDrawable

b/17393626

Change-Id: If6a28b072f7d4bcb2b57022d86ec784f4c0d78f1

10 years agoMerge "Add zygote preloading of shared libraries" into lmp-dev
Brian Carlstrom [Thu, 11 Sep 2014 23:40:32 +0000 (23:40 +0000)]
Merge "Add zygote preloading of shared libraries" into lmp-dev

10 years agoAdd zygote preloading of shared libraries
Brian Carlstrom [Thu, 11 Sep 2014 22:36:00 +0000 (15:36 -0700)]
Add zygote preloading of shared libraries

Bug: 17459019
Change-Id: I7cb4ecd0ec9542aa9079420fe158cedca7fca028

10 years agoMerge "Add support for default content description in DecorToolbar" into lmp-dev
Yigit Boyar [Thu, 11 Sep 2014 23:30:46 +0000 (23:30 +0000)]
Merge "Add support for default content description in DecorToolbar" into lmp-dev

10 years agoMerge "Vertically align toolbar child views with similar gravities" into lmp-dev
Alan Viverette [Thu, 11 Sep 2014 23:24:46 +0000 (23:24 +0000)]
Merge "Vertically align toolbar child views with similar gravities" into lmp-dev

10 years agoMerge "Fix back button behavior and clean up in print preview activity." into lmp-dev
Svetoslav [Thu, 11 Sep 2014 23:24:19 +0000 (23:24 +0000)]
Merge "Fix back button behavior and clean up in print preview activity." into lmp-dev

10 years agoVertically align toolbar child views with similar gravities
Alan Viverette [Thu, 11 Sep 2014 23:23:29 +0000 (16:23 -0700)]
Vertically align toolbar child views with similar gravities

Also fixes Body1 text size, action bar title size on sw600dp-land.

BUG: 17266152
Change-Id: Ib686dd6e80dfcdad920c922a532f4f5d6252fa19

10 years agoMerge "Change UI to represent conferenced IMS connections (1/3)" into lmp-dev
Ihab Awad [Thu, 11 Sep 2014 23:18:03 +0000 (23:18 +0000)]
Merge "Change UI to represent conferenced IMS connections (1/3)" into lmp-dev

10 years agoMerge "Remove View methods that can't be used safely from the SDK" into lmp-dev
Adam Powell [Thu, 11 Sep 2014 23:12:26 +0000 (23:12 +0000)]
Merge "Remove View methods that can't be used safely from the SDK" into lmp-dev

10 years agoMerge "If activity is an alias get maxRecents from target" into lmp-dev
Craig Mautner [Thu, 11 Sep 2014 23:02:25 +0000 (23:02 +0000)]
Merge "If activity is an alias get maxRecents from target" into lmp-dev

10 years agoIf activity is an alias get maxRecents from target
Craig Mautner [Thu, 11 Sep 2014 22:03:53 +0000 (15:03 -0700)]
If activity is an alias get maxRecents from target

Activity aliases do not pick up values in the PackageParser. The
actual values should come from the target activity instead.

Also ActivityInfo now propagates maxRecents in copy constructor
and across Binder calls (via parcelling).

Fixes bug 17391328.

Change-Id: I35d248032eca7557528c9d499b3b38f27c713d09

10 years agoMerge "Update VpnService Javadoc to reflect new UX." into lmp-dev
Jeff Davidson [Thu, 11 Sep 2014 22:41:23 +0000 (22:41 +0000)]
Merge "Update VpnService Javadoc to reflect new UX." into lmp-dev

10 years agoRemove View methods that can't be used safely from the SDK
Adam Powell [Thu, 11 Sep 2014 22:38:55 +0000 (15:38 -0700)]
Remove View methods that can't be used safely from the SDK

View methods that previously accepted a TypedArray to initialize
parameters parsed from xml cannot be used correctly by apps. The
TypedArray passed must always be obtained from a context using the
filter array com.android.internal.R.styleable.View, which is not
visible to the SDK.

A previous change already made this safe for existing apps already
using it so that they don't crash, this change removes these methods
from the SDK entirely.

Change-Id: I62099087ad6fd5bf8363e863b04fd0434b8cdfca

10 years agoMerge "Add null check to TaskPersister file list." into lmp-dev
Craig Mautner [Thu, 11 Sep 2014 22:36:15 +0000 (22:36 +0000)]
Merge "Add null check to TaskPersister file list." into lmp-dev

10 years agoRemove onConnectionCongested callback
Prerepa Viswanadham [Thu, 11 Sep 2014 20:39:16 +0000 (13:39 -0700)]
Remove onConnectionCongested callback

Bug:17289507

Change-Id: I49fd99d320084c618dcec756b832fb3b6a6aec51

10 years agoMerge "Clean entire arg block when setting process name." into lmp-dev
Jeff Brown [Thu, 11 Sep 2014 22:28:41 +0000 (22:28 +0000)]
Merge "Clean entire arg block when setting process name." into lmp-dev

10 years agoMerge "Fix edit text error state in the print UI." into lmp-dev
Svet Ganov [Thu, 11 Sep 2014 22:15:58 +0000 (22:15 +0000)]
Merge "Fix edit text error state in the print UI." into lmp-dev

10 years agoMerge "Fixed: TransitionSet setStartDelay did nothing." into lmp-dev
George Mount [Thu, 11 Sep 2014 22:08:35 +0000 (22:08 +0000)]
Merge "Fixed: TransitionSet setStartDelay did nothing." into lmp-dev

10 years agoChange UI to represent conferenced IMS connections (1/3)
Ihab Awad [Thu, 11 Sep 2014 15:49:02 +0000 (08:49 -0700)]
Change UI to represent conferenced IMS connections (1/3)

IMS conferenced connnections cannot individually hold or disconnect.

Bug: 17451623
Change-Id: Ie945d2c23f752f5403d01668606fe893dca0a882

10 years agoFixed: TransitionSet setStartDelay did nothing.
George Mount [Wed, 10 Sep 2014 17:58:08 +0000 (10:58 -0700)]
Fixed: TransitionSet setStartDelay did nothing.

Bug 17452965

Change-Id: Id2fd6ed3bd8e7156dd3d22dcd83117cec12e3528

10 years agoMerge "Have Activity Transitions activited by a new window attribute." into lmp-dev
George Mount [Thu, 11 Sep 2014 21:54:12 +0000 (21:54 +0000)]
Merge "Have Activity Transitions activited by a new window attribute." into lmp-dev

10 years agoMerge "Allow Path approximation to work with a single point Path." into lmp-dev
George Mount [Thu, 11 Sep 2014 21:51:57 +0000 (21:51 +0000)]
Merge "Allow Path approximation to work with a single point Path." into lmp-dev

10 years agoMerge "camera2.legacy: Add aberration, noisereduction, timestamp source keys" into...
Igor Murashkin [Thu, 11 Sep 2014 21:50:33 +0000 (21:50 +0000)]
Merge "camera2.legacy: Add aberration, noisereduction, timestamp source keys" into lmp-dev

10 years agoUpdate VpnService Javadoc to reflect new UX.
Jeff Davidson [Thu, 11 Sep 2014 21:13:22 +0000 (14:13 -0700)]
Update VpnService Javadoc to reflect new UX.

The major change is that consent is now "sticky" and lasts until the
user explicitly disables the VPN connection.

Bug: 17474362
Change-Id: Id4e7807e635bbfc7645741135209d46763e280f9

10 years agoMerge "Hide mutable VpnService APIs to add/remove IP addresses dynamically." into...
Sreeram Ramachandran [Thu, 11 Sep 2014 21:39:07 +0000 (21:39 +0000)]
Merge "Hide mutable VpnService APIs to add/remove IP addresses dynamically." into lmp-dev

10 years agoMerge "API cleanup for RemoteConnection." into lmp-dev
Andrew Lee [Thu, 11 Sep 2014 21:24:34 +0000 (21:24 +0000)]
Merge "API cleanup for RemoteConnection." into lmp-dev

10 years agoMerge "Fix wifi association tests" into lmp-dev
Eric Rowe [Thu, 11 Sep 2014 21:22:59 +0000 (21:22 +0000)]
Merge "Fix wifi association tests" into lmp-dev

10 years agoMerge "isValidSlotId() and isValidPhoneId() updated to handle negatives." into lmp-dev
Anthony Lee [Thu, 11 Sep 2014 21:21:06 +0000 (21:21 +0000)]
Merge "isValidSlotId() and isValidPhoneId() updated to handle negatives." into lmp-dev

10 years agoClean entire arg block when setting process name.
Jeff Brown [Wed, 10 Sep 2014 23:48:46 +0000 (16:48 -0700)]
Clean entire arg block when setting process name.

When Android processes fork from Zygote, we rewrite the command line
with a new name, eg. "system_server".  When we do this, we should
fill the entire block with zeros to remove corrupted argument
information that may otherwise remain in the /proc/<pid>/cmdline buffer
and be seen in tools and stack dumps.

Fixed an issue where VM options could be overwritten after setting
the nice name if the name was too long.

Bug: 17474152
Change-Id: Ie6cf9ed7752a04300a340e26cd6812bb35c59e1b

10 years agoHide mutable VpnService APIs to add/remove IP addresses dynamically.
Sreeram Ramachandran [Thu, 11 Sep 2014 21:08:25 +0000 (14:08 -0700)]
Hide mutable VpnService APIs to add/remove IP addresses dynamically.

These APIs were added because we thought we needed them to provide
seamless transition from one server backend to another using local IP
addresses to distinguish between the backends. I.e., connections whose
local IP address was old would be routed to the old backend; connections
whose local IP address was new would be routed to the new backend.

It turns out that's not needed. VpnService already supports seamless
re-establishment, so VPNs just need to call establish() again with a
different IP address. I've verified with a custom VPN app that this
works, and can distinguish traffic based on the old and new addresses.

Nobody is using these APIs at the moment, so we could even consider
removing them altogether, but I prefer just hiding them, just in case.

Bug: 15409819
Change-Id: I30949926a0f859c9d839981ccbc5d8e1e535a3a5

10 years agoFix wifi association tests
Eric Rowe [Thu, 11 Sep 2014 21:14:18 +0000 (14:14 -0700)]
Fix wifi association tests

Before fix, test assumed that it was already connected to wifi so remove
these assertions.  Also, since association test may be used against
access points with no outside connectivity, remove the ping test to
8.8.8.8 at the end.

Change-Id: I3d4f3d752b72028f642da9f8e9adda4ad18a6a56

10 years agoFix back button behavior and clean up in print preview activity.
Svetoslav [Thu, 11 Sep 2014 19:39:05 +0000 (12:39 -0700)]
Fix back button behavior and clean up in print preview activity.

The print preview UI owns and drives the lifecycle of several objects.
These objects were torn down too late resulting in an attempt to use
the activity as a context when it was no longer valid and service unbind
resulting in causing a crash.

Fixed a bug where if the back button is pressed mutiple times when
the print UI is being initialized a crash occurs.

bug:17454041

Change-Id: Ic1455b467586f0ad65f907e2160ec5cfb2d17d05

10 years agoMerge "Finer tessellation can draw better looking shadows for circles." into lmp-dev
ztenghui [Thu, 11 Sep 2014 21:09:50 +0000 (21:09 +0000)]
Merge "Finer tessellation can draw better looking shadows for circles." into lmp-dev

10 years agoMerge "add option to link only same credential configurations" into lmp-dev
vandwalle [Thu, 11 Sep 2014 21:05:53 +0000 (21:05 +0000)]
Merge "add option to link only same credential configurations" into lmp-dev

10 years agoMerge "Write new wallpaper files from scratch..." into lmp-dev
Christopher Tate [Thu, 11 Sep 2014 21:05:49 +0000 (21:05 +0000)]
Merge "Write new wallpaper files from scratch..." into lmp-dev

10 years agoAdd null check to TaskPersister file list.
Craig Mautner [Thu, 11 Sep 2014 19:47:03 +0000 (12:47 -0700)]
Add null check to TaskPersister file list.

Ran out of file descriptors and got a null file list. This
checks for null file list.

Fixes bug 17461213.

Change-Id: Ia6d49d0bdb6da98623b76d2b87cd09bc0afa1f27

10 years agoAPI cleanup for RemoteConnection.
Andrew Lee [Mon, 8 Sep 2014 22:34:24 +0000 (15:34 -0700)]
API cleanup for RemoteConnection.

+ Rename handle to address.
+ Rename audioModeIsVoip to IsVoipAudioMode.
+ Rename Listener to Callback.
- Delete getParent() and getChildren() methods.
- Delete onChildrenChanged/onParentChanged methods.
+ Rename Listener to Callback.
+ Rename Callback methods to reflect other changes.

Bug: 17329632
Change-Id: Ie466472e995050f578fbb1c4b9de0ae59e488988

10 years agoMerge "Update TelecommManager per API requirements. (1/3)" into lmp-dev
Nancy Chen [Thu, 11 Sep 2014 20:22:18 +0000 (20:22 +0000)]
Merge "Update TelecommManager per API requirements. (1/3)" into lmp-dev

10 years agocamera2.legacy: Add aberration, noisereduction, timestamp source keys
Igor Murashkin [Wed, 10 Sep 2014 22:08:00 +0000 (15:08 -0700)]
camera2.legacy: Add aberration, noisereduction, timestamp source keys

Bug: 17328591
Change-Id: I037908e0db505ace1ef62d5aa0622596d8fa2713

10 years agoUpdate TelecommManager per API requirements. (1/3)
Nancy Chen [Wed, 10 Sep 2014 01:18:26 +0000 (18:18 -0700)]
Update TelecommManager per API requirements. (1/3)

+ Add constants GATEWAY_PROVIDER_PACKAGE and GATEWAY_ORIGINAL_ADDRESS
- Remove those corresponding constants from private packages
+ Modify clearAccounts() so it no longer takes an argument.

Bug: 17329632
Change-Id: I3794efe5ad1fafe6e22f4a59146859a96a385ed1

10 years agoMerge "Update HWUI paint filter to understand new location of skia bitmap filter...
Chris Craik [Thu, 11 Sep 2014 19:43:51 +0000 (19:43 +0000)]
Merge "Update HWUI paint filter to understand new location of skia bitmap filter preference" into lmp-dev

10 years agoWrite new wallpaper files from scratch...
Christopher Tate [Thu, 11 Sep 2014 19:37:19 +0000 (12:37 -0700)]
Write new wallpaper files from scratch...

...rather than overwriting the existing wallpaper bitmap file "in
place."  If the new bitmap is smaller than the previous one, we wind
up with the previous image's contents as spurious trailing file
contents.  Also, it means that if any wallpaper image is particularly
large on disk, then we'll forever be backing up that high-water-mark
amount of data every time the wallpaper is changed.

The fix is to open the "write the new bitmap to disk" fd with
MODE_TRUNCATE.

Bug 17285333

Change-Id: I3d8708d72e316834b7ecec20386153a703efddd9

10 years agoChange callback methods from add to register.
Michael Wright [Mon, 8 Sep 2014 20:26:34 +0000 (13:26 -0700)]
Change callback methods from add to register.

Also changes intent returning method from get to create. Both changes
are in response to API council feedback.

Bug: 17389882
Change-Id: I3b57e3fc202148e3bbb24ac61229f04e8b4ac41e

10 years agoisValidSlotId() and isValidPhoneId() updated to handle negatives.
Anthony Lee [Thu, 11 Sep 2014 16:21:38 +0000 (09:21 -0700)]
isValidSlotId() and isValidPhoneId() updated to handle negatives.

The old version of the code wanted to just check to make sure
that the slot/phone id is greater than INVALID_SLOT_ID or
INVALID_PHONE_ID that are both currently defined to be -1000. The
changes are made for 2 reasons.  First, INVALID_SLOT_ID and/or
INVALID_PHONE_ID might not always be defined to be a negative value
so there is a big assumption.  Secondly, anything greater than
-1000 allows other negative values to be considered valid ids.

Bug: 17243556
Change-Id: I2bbfcc2cfd2d7c4772dfb9c50af2dc88c0f315e2

10 years agoMerge "Make starting window hw-accelerated" into lmp-dev
Chet Haase [Thu, 11 Sep 2014 19:31:59 +0000 (19:31 +0000)]
Merge "Make starting window hw-accelerated" into lmp-dev

10 years agoMake starting window hw-accelerated
Chet Haase [Thu, 11 Sep 2014 18:07:02 +0000 (11:07 -0700)]
Make starting window hw-accelerated

An earlier fix in L disabled hw acceleration for the starting window
after the system process became hw accelerated. This was done to preserve
the old behavior of the starting window having some default behavior
(in particular, being filled with a default color). However, this ends up
being a memory and performance problem on some platforms (memory because
some platforms have backing store for software surfaces, performance
because it takes far longer to create a screen-size software surface than
a hardware surface).

The fix is to allow the starting window to inherit the hw acceleration
behavior of its process, and to detect when we are drawing the contents
of that starting window and to fill it with a default color (black).

Issue #17443449 use hardware rendering for app preview window

Change-Id: I8be8111d9e38c51fbbc07185acca065815ce26dc

10 years agoTemp enable the log to identify the wake up cause.
Xin Guan [Wed, 27 Aug 2014 14:26:01 +0000 (09:26 -0500)]
Temp enable the log to identify the wake up cause.

Bug: 17276890
Change-Id: I1c2b95807026539d8e5f1e8695019626468c00c1

10 years agoHave Activity Transitions activited by a new window attribute.
George Mount [Thu, 11 Sep 2014 15:50:09 +0000 (08:50 -0700)]
Have Activity Transitions activited by a new window attribute.

Bug 17006497

Window content transitions were being enabled by default in
the Material Theme so that Activity Transitions could be
enabled by default. Unfortunately, this gave the effect that
many applications did not want -- the default transition between
window content is a fade out/in. Here, a new attribute is
added: windowActivityTransitions that is enabled by default
in the Material theme and windowContentTransitions is disabled
by default in all themes.

Change-Id: Iab453d608f00a48ff7ab7f09ce84b52cf5f20294

10 years agoUpdate HWUI paint filter to understand new location of skia bitmap filter preference
Chris Craik [Thu, 11 Sep 2014 18:09:34 +0000 (11:09 -0700)]
Update HWUI paint filter to understand new location of skia bitmap filter preference

bug:17455286
Change-Id: I3b0e04833f0c2699a1322fdd7e98c155841c0d93

10 years agoMerge "Create correct files in dropbox on encrypted boot" into lmp-dev
Paul Lawrence [Thu, 11 Sep 2014 19:16:14 +0000 (19:16 +0000)]
Merge "Create correct files in dropbox on encrypted boot" into lmp-dev

10 years agoCreate correct files in dropbox on encrypted boot
Paul Lawrence [Thu, 11 Sep 2014 18:47:12 +0000 (11:47 -0700)]
Create correct files in dropbox on encrypted boot

On the minimal framework start, don't mark ro.runtime.firstboot, allowing
the real framework to properly create the dropbox files in the real /data

Bug: 17450632
Change-Id: Ic53b3471b44e69f3eea7e3f3de18e789f51192bc

10 years agoUpdate API
Robin Lee [Thu, 11 Sep 2014 18:51:27 +0000 (19:51 +0100)]
Update API

Change-Id: I253cd15e00449c0c13f5b9aa4524b1fbc3fc5a95

10 years agoMerge "Don't use reflection when generating the onResourcesLoaded callback." into...
Marcin Kosiba [Thu, 11 Sep 2014 18:34:31 +0000 (18:34 +0000)]
Merge "Don't use reflection when generating the onResourcesLoaded callback." into lmp-dev

10 years agoMerge "Doze: Introduce a pulse period function." into lmp-dev
John Spurlock [Thu, 11 Sep 2014 18:33:23 +0000 (18:33 +0000)]
Merge "Doze: Introduce a pulse period function." into lmp-dev

10 years agoMerge "Make changes to Connection in Telecomm API (1/4)" into lmp-dev
Nancy Chen [Thu, 11 Sep 2014 18:29:55 +0000 (18:29 +0000)]
Merge "Make changes to Connection in Telecomm API (1/4)" into lmp-dev

10 years agoMerge "Enable adjustViewBounds on preference icon so that maxWidth is used" into...
Alan Viverette [Thu, 11 Sep 2014 18:27:42 +0000 (18:27 +0000)]
Merge "Enable adjustViewBounds on preference icon so that maxWidth is used" into lmp-dev

10 years agoDoze: Introduce a pulse period function.
John Spurlock [Wed, 10 Sep 2014 14:40:49 +0000 (10:40 -0400)]
Doze: Introduce a pulse period function.

Instead of pulsing every 30 seconds to mimic the LED, use
a function that pulses more frequently for new notifications,
decaying to a slower pulse, and eventually stopping.

Specifically, the step function for the interval is:
 - 10 seconds for the first minute
 - then 30 seconds until the five minute mark
 - then 60 seconds until the 30 minute mark
 - then no pulsing at all

 - Since we pulse more frequently on new notifications, remove
   the "multi-pulse" concept.
 - Move all doze-related duration parameters to a new helper,
   backed by config, overridable by sysprops, include in dump.
 - Wake up from dozing when hitting volume keys during a pulse.
 -
Bug:17393939
Change-Id: Ica86f08b25c738338fced165c77faf3dfccd0343

10 years agoMake changes to Connection in Telecomm API (1/4)
Nancy Chen [Tue, 9 Sep 2014 01:27:26 +0000 (18:27 -0700)]
Make changes to Connection in Telecomm API (1/4)

* onPhoneAccountClicked removed
* onSetAudioState -> onAudioStateChanged
* onSetState -> onStateChanged

Bug: 17329632
Change-Id: Icbba67439317bf1d21f758d58da7c83c4373efa6

10 years agoMerge "Add DevicePolicyManager PrivateKey mgmt" into lmp-dev
Robin Lee [Thu, 11 Sep 2014 18:21:44 +0000 (18:21 +0000)]
Merge "Add DevicePolicyManager PrivateKey mgmt" into lmp-dev

10 years agoMerge "Update text appearance in leanback setup" into lmp-dev
RoboErik [Thu, 11 Sep 2014 18:21:32 +0000 (18:21 +0000)]
Merge "Update text appearance in leanback setup" into lmp-dev

10 years agoAdd DevicePolicyManager PrivateKey mgmt
Bernhard Bauer [Mon, 8 Sep 2014 13:07:31 +0000 (14:07 +0100)]
Add DevicePolicyManager PrivateKey mgmt

Additional device policy API to install keypairs to the keychain
silently.

Bug: 15065444
Change-Id: Idc25774c9ab1a61080290bebd6f5c4f24e6ee2e0

10 years agoMerge "Don't require CONNECTIVITY_INTERNAL check for protected broadcasts" into lmp-dev
Vinit Deshpande [Thu, 11 Sep 2014 18:16:38 +0000 (18:16 +0000)]
Merge "Don't require CONNECTIVITY_INTERNAL check for protected broadcasts" into lmp-dev

10 years agoFix build
Amith Yamasani [Thu, 11 Sep 2014 17:56:51 +0000 (10:56 -0700)]
Fix build

Import went missing between CLs

Change-Id: I8740b99dbce15b3f3508768ab3e02f551caf673d

10 years agoMerge "Windows for accessibility with wrong coords on rotation." into lmp-dev
Svetoslav [Thu, 11 Sep 2014 17:42:43 +0000 (17:42 +0000)]
Merge "Windows for accessibility with wrong coords on rotation." into lmp-dev

10 years agoMerge "Send empty flash for some CDMA carriers for 3way call" into lmp-dev
Vineeta Srivastava [Thu, 11 Sep 2014 17:41:01 +0000 (17:41 +0000)]
Merge "Send empty flash for some CDMA carriers for 3way call" into lmp-dev

10 years agoFix edit text error state in the print UI.
Svet Ganov [Thu, 11 Sep 2014 07:05:06 +0000 (00:05 -0700)]
Fix edit text error state in the print UI.

If the user input in the print UI is invalid we show an error icon
next to it. The design requires no error message being shown in a
popup but TextView does show the popup all the time.

bug:16966145

Change-Id: I7aa1ec8093bc76e2f440bcb243609e92e049786b

10 years agoMerge "Add flag to JobParameters for job expired" into lmp-dev
Matthew Williams [Thu, 11 Sep 2014 17:27:57 +0000 (17:27 +0000)]
Merge "Add flag to JobParameters for job expired" into lmp-dev

10 years agoAllow Path approximation to work with a single point Path.
George Mount [Thu, 11 Sep 2014 17:25:31 +0000 (10:25 -0700)]
Allow Path approximation to work with a single point Path.

Bug 17452965

A single point Path (move-to only) was not returning any
verbs in the verb list. This forces an approximation for
single move-to and empty paths by giving the same value
for fraction 0 and fraction 1.

Change-Id: Icb1b932d730457680cf422377a83fe669f0a7687

10 years agoAllowing enable/disable of phone accounts. (1/3)
Tyler Gunn [Mon, 8 Sep 2014 16:52:22 +0000 (09:52 -0700)]
Allowing enable/disable of phone accounts. (1/3)

- added "hasCapabilities" method on PhoneAccount.
- added CAPABILITY_PLACE_EMERGENCY_CALLS.
- added isEnabled method builder constructor to initialize from an
existing PhoneAccount.

Bug: 17306514
Bug: 17408536

Change-Id: I57de508b4adcf207f3b29cab449bfc634db80153

10 years agoFiner tessellation can draw better looking shadows for circles.
ztenghui [Thu, 11 Sep 2014 16:57:19 +0000 (09:57 -0700)]
Finer tessellation can draw better looking shadows for circles.

b/14976551

Change-Id: I4b9e320b025dbee37cd1893881ddbaad62e3a6e2

10 years agoMerge "API changes in GatewayInfo, Response, and PropertyPresentation (1/4)" into...
Nancy Chen [Thu, 11 Sep 2014 17:06:27 +0000 (17:06 +0000)]
Merge "API changes in GatewayInfo, Response, and PropertyPresentation (1/4)" into lmp-dev

10 years agoUpdate text appearance in leanback setup
RoboErik [Thu, 11 Sep 2014 17:03:27 +0000 (10:03 -0700)]
Update text appearance in leanback setup

Changes the size and inter-line spacing.

bug:16959057
Change-Id: Iaf3dcb6c60d071920d73ac2f86e01b6d4248ebf9

10 years agoam 9d8da659: am d65ab587: am e2b12b1f: am 61c6ff7b: Merge "Fix issue #16794553: Dupli...
Jon Larimer [Thu, 11 Sep 2014 16:54:33 +0000 (16:54 +0000)]
am 9d8da659: am d65ab587: am e2b12b1f: am 61c6ff7b: Merge "Fix issue #16794553: Duplicate ArrayMap entries in Bundle..." into klp-dev

* commit '9d8da659ceb3989932e02b9342e5a6db06881030':
  Fix issue #16794553: Duplicate ArrayMap entries in Bundle...

10 years agoSend empty flash for some CDMA carriers for 3way call
Jing Zhao [Fri, 29 Aug 2014 22:19:03 +0000 (17:19 -0500)]
Send empty flash for some CDMA carriers for 3way call

Some carrier need a empty flash before the normal one to connect the 3way call

Bug: 17331584
Change-Id: Ie8f774de909056e398972ea460029d903f059fec

10 years agoMerge "Apply cross-user restrictions to Shell" into lmp-dev
Amith Yamasani [Thu, 11 Sep 2014 16:46:33 +0000 (16:46 +0000)]
Merge "Apply cross-user restrictions to Shell" into lmp-dev

10 years agoam d65ab587: am e2b12b1f: am 61c6ff7b: Merge "Fix issue #16794553: Duplicate ArrayMap...
Jon Larimer [Thu, 11 Sep 2014 16:44:26 +0000 (16:44 +0000)]
am d65ab587: am e2b12b1f: am 61c6ff7b: Merge "Fix issue #16794553: Duplicate ArrayMap entries in Bundle..." into klp-dev

* commit 'd65ab587052934c42769b2d4cf8ec5fa70ef13f8':
  Fix issue #16794553: Duplicate ArrayMap entries in Bundle...

10 years agoam e2b12b1f: am 61c6ff7b: Merge "Fix issue #16794553: Duplicate ArrayMap entries...
Jon Larimer [Thu, 11 Sep 2014 16:33:07 +0000 (16:33 +0000)]
am e2b12b1f: am 61c6ff7b: Merge "Fix issue #16794553: Duplicate ArrayMap entries in Bundle..." into klp-dev

* commit 'e2b12b1fbc2880bf895fa2a9adcf65de3162c28f':
  Fix issue #16794553: Duplicate ArrayMap entries in Bundle...

10 years agoMerge "Bring back the fillAlpha and strokeAlpha." into lmp-dev
ztenghui [Thu, 11 Sep 2014 16:32:35 +0000 (16:32 +0000)]
Merge "Bring back the fillAlpha and strokeAlpha." into lmp-dev

10 years agoMerge "Re-triangulate the spot shadow." into lmp-dev
ztenghui [Thu, 11 Sep 2014 16:32:04 +0000 (16:32 +0000)]
Merge "Re-triangulate the spot shadow." into lmp-dev

10 years agoam 61c6ff7b: Merge "Fix issue #16794553: Duplicate ArrayMap entries in Bundle......
Jon Larimer [Thu, 11 Sep 2014 16:23:39 +0000 (16:23 +0000)]
am 61c6ff7b: Merge "Fix issue #16794553: Duplicate ArrayMap entries in Bundle..." into klp-dev

* commit '61c6ff7b70e2d42b44d5c5f9c3c8e3c67b584a76':
  Fix issue #16794553: Duplicate ArrayMap entries in Bundle...

10 years agoMerge "More android.media.AudioFormat.Builder javadoc" into lmp-dev
Jean-Michel Trivi [Thu, 11 Sep 2014 16:16:21 +0000 (16:16 +0000)]
Merge "More android.media.AudioFormat.Builder javadoc" into lmp-dev

10 years agoMerge "Fix issue #16794553: Duplicate ArrayMap entries in Bundle..." into klp-dev
Jon Larimer [Thu, 11 Sep 2014 16:15:24 +0000 (16:15 +0000)]
Merge "Fix issue #16794553: Duplicate ArrayMap entries in Bundle..." into klp-dev

10 years agoMerge "Bugfix: use the correct user for ContentResolver calls" into lmp-dev
Alexandra Gherghina [Thu, 11 Sep 2014 16:12:57 +0000 (16:12 +0000)]
Merge "Bugfix: use the correct user for ContentResolver calls" into lmp-dev

10 years agoMerge "Replace TreeSet with HashSet." into lmp-dev
Przemyslaw Szczepaniak [Thu, 11 Sep 2014 15:59:35 +0000 (15:59 +0000)]
Merge "Replace TreeSet with HashSet." into lmp-dev

10 years agoReplace TreeSet with HashSet.
Przemyslaw Szczepaniak [Thu, 11 Sep 2014 15:10:32 +0000 (16:10 +0100)]
Replace TreeSet with HashSet.

Both Locale and Voice do not implement Comparable.

Bug: 17467923
Change-Id: I683577e5b18ae1892e1ccea5ea241e1d016c9517

10 years agoMerge "Omit appearing views that have a parent that is also appearing." into lmp-dev
George Mount [Thu, 11 Sep 2014 15:53:35 +0000 (15:53 +0000)]
Merge "Omit appearing views that have a parent that is also appearing." into lmp-dev

10 years agoMerge "Allow device owners to update LOCATION_MODE." into lmp-dev
Julia Reynolds [Thu, 11 Sep 2014 15:46:06 +0000 (15:46 +0000)]
Merge "Allow device owners to update LOCATION_MODE." into lmp-dev

10 years agoMerge "Enrich test cases when enabling default IMEs part 3" into lmp-dev
Yohei Yukawa [Thu, 11 Sep 2014 15:32:14 +0000 (15:32 +0000)]
Merge "Enrich test cases when enabling default IMEs part 3" into lmp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 11 Sep 2014 15:29:17 +0000 (15:29 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 11 Sep 2014 15:29:07 +0000 (15:29 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

10 years agoMerge "Remove package level intent forwarding." into lmp-dev
Alexandra Gherghina [Thu, 11 Sep 2014 15:17:20 +0000 (15:17 +0000)]
Merge "Remove package level intent forwarding." into lmp-dev

10 years agoEnrich test cases when enabling default IMEs part 3
Yohei Yukawa [Thu, 11 Sep 2014 14:50:21 +0000 (23:50 +0900)]
Enrich test cases when enabling default IMEs part 3

This is another groundwork for subsequent fixes.

Notable changes in test cases are:
- A dummy Hinglish IME ("en_US" + "hi") is added
- Added test cases where system locale is "en_GB",
  "en_IN", and "hi" as well as "en_US".

BUG: 17347871
Change-Id: Iacf0f47c4dbc147f8153df50ba58fc4da4dacd29

10 years agoDon't use reflection when generating the onResourcesLoaded callback.
Marcin Kosiba [Thu, 11 Sep 2014 12:48:48 +0000 (13:48 +0100)]
Don't use reflection when generating the onResourcesLoaded callback.

BUG: 17466240
Change-Id: I74608f3d8b3617281639a9d387face97e15fb616

10 years agoMerge "Enrich test cases when enabling default IMEs part 2" into lmp-dev
Yohei Yukawa [Thu, 11 Sep 2014 14:50:00 +0000 (14:50 +0000)]
Merge "Enrich test cases when enabling default IMEs part 2" into lmp-dev

10 years agoEnrich test cases when enabling default IMEs part 2
Yohei Yukawa [Thu, 11 Sep 2014 07:59:31 +0000 (16:59 +0900)]
Enrich test cases when enabling default IMEs part 2

This is another groundwork for subsequent fixes.

Notable changes in test cases are:
- isSystemReady == false is now coverted.
- tests can run even when the system locale of test
  environment is different from "en_US"

BUG: 17347871

Change-Id: I9434270735d3b37d8b788d41250b23d7950aaeed

10 years agoRemove package level intent forwarding.
Adam Connors [Tue, 9 Sep 2014 15:35:29 +0000 (16:35 +0100)]
Remove package level intent forwarding.

Clean up unused methods.

Bug: 17389110
Change-Id: I8a80fe3e14219f06572de05c390cdda0efcbf5db

10 years agoMerge "Flush HTTP socket pools and DNS cache when binding process to a Network."...
Paul Jensen [Thu, 11 Sep 2014 13:15:20 +0000 (13:15 +0000)]
Merge "Flush HTTP socket pools and DNS cache when binding process to a Network." into lmp-dev

10 years agoMerge "Make Network.openConnection() share HttpHandlers not OkHttpClients." into...
Paul Jensen [Thu, 11 Sep 2014 12:57:32 +0000 (12:57 +0000)]
Merge "Make Network.openConnection() share HttpHandlers not OkHttpClients." into lmp-dev

10 years agoMerge "Don't use layers when fading between public/private layout" into lmp-dev
Jorim Jaggi [Thu, 11 Sep 2014 12:41:24 +0000 (12:41 +0000)]
Merge "Don't use layers when fading between public/private layout" into lmp-dev

10 years agoMerge "Fix inconsistent layout param in notification" into lmp-dev
Jorim Jaggi [Thu, 11 Sep 2014 12:40:03 +0000 (12:40 +0000)]
Merge "Fix inconsistent layout param in notification" into lmp-dev