150612 Commits

Author SHA1 Message Date
Brian Attwell
e0e4217330 Pass different dy into dispatchNestedSCroll
Bug: 16462679
Bug: 17529919
Change-Id: I328457a27507253cc7bfeab0e2daa4d4563aab17
2014-09-16 22:48:27 +00:00
George Mount
db352c7835 Merge "Have Activity Transitions activited by a new window attribute." into lmp-dev 2014-09-11 21:54:13 +00:00
George Mount
784ab49b6e Merge "Allow Path approximation to work with a single point Path." into lmp-dev 2014-09-11 21:51:58 +00:00
Igor Murashkin
6894f60c9c Merge "camera2.legacy: Add aberration, noisereduction, timestamp source keys" into lmp-dev 2014-09-11 21:50:34 +00:00
Sreeram Ramachandran
623ce7f779 Merge "Hide mutable VpnService APIs to add/remove IP addresses dynamically." into lmp-dev 2014-09-11 21:39:08 +00:00
Andrew Lee
6f90967b0c Merge "API cleanup for RemoteConnection." into lmp-dev 2014-09-11 21:24:35 +00:00
Eric Rowe
a8e4c740a8 Merge "Fix wifi association tests" into lmp-dev 2014-09-11 21:23:01 +00:00
Anthony Lee
5e6e52a078 Merge "isValidSlotId() and isValidPhoneId() updated to handle negatives." into lmp-dev 2014-09-11 21:21:07 +00:00
Sreeram Ramachandran
a1e06807ee 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
2014-09-11 14:17:10 -07:00
Eric Rowe
485ceb8506 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
2014-09-11 14:14:25 -07:00
ztenghui
24a95a10db Merge "Finer tessellation can draw better looking shadows for circles." into lmp-dev 2014-09-11 21:09:51 +00:00
vandwalle
b55ccdad03 Merge "add option to link only same credential configurations" into lmp-dev 2014-09-11 21:05:54 +00:00
Christopher Tate
1fdfaa2e82 Merge "Write new wallpaper files from scratch..." into lmp-dev 2014-09-11 21:05:50 +00:00
Andrew Lee
100e293fa8 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
2014-09-11 13:30:10 -07:00
Nancy Chen
d6adcef917 Merge "Update TelecommManager per API requirements. (1/3)" into lmp-dev 2014-09-11 20:22:19 +00:00
Igor Murashkin
442395751d camera2.legacy: Add aberration, noisereduction, timestamp source keys
Bug: 17328591
Change-Id: I037908e0db505ace1ef62d5aa0622596d8fa2713
2014-09-11 13:21:37 -07:00
Nancy Chen
7ab1dc44bd 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
2014-09-11 12:57:57 -07:00
Chris Craik
5be52c11d9 Merge "Update HWUI paint filter to understand new location of skia bitmap filter preference" into lmp-dev 2014-09-11 19:43:52 +00:00
Christopher Tate
90f86baebd 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
2014-09-11 12:41:52 -07:00
Michael Wright
cde5bb45cc 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
2014-09-11 19:37:30 +00:00
Anthony Lee
b78890c159 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
2014-09-11 12:37:29 -07:00
Chet Haase
969e543b32 Merge "Make starting window hw-accelerated" into lmp-dev 2014-09-11 19:32:00 +00:00
Chet Haase
4f52b34206 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
2014-09-11 12:28:29 -07:00
Xin Guan
91b3566bec Temp enable the log to identify the wake up cause.
Bug: 17276890
Change-Id: I1c2b95807026539d8e5f1e8695019626468c00c1
2014-09-11 19:28:20 +00:00
George Mount
9826f636ad 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
2014-09-11 12:23:17 -07:00
Chris Craik
591be6c7af Update HWUI paint filter to understand new location of skia bitmap filter preference
bug:17455286
Change-Id: I3b0e04833f0c2699a1322fdd7e98c155841c0d93
2014-09-11 12:16:38 -07:00
Paul Lawrence
280813a6d9 Merge "Create correct files in dropbox on encrypted boot" into lmp-dev 2014-09-11 19:16:15 +00:00
Paul Lawrence
91317107a3 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
2014-09-11 12:09:56 -07:00
Robin Lee
a46ccb5f1f Update API
Change-Id: I253cd15e00449c0c13f5b9aa4524b1fbc3fc5a95
2014-09-11 19:51:27 +01:00
Marcin Kosiba
a0a9466476 Merge "Don't use reflection when generating the onResourcesLoaded callback." into lmp-dev 2014-09-11 18:34:33 +00:00
John Spurlock
3e42b33980 Merge "Doze: Introduce a pulse period function." into lmp-dev 2014-09-11 18:33:38 +00:00
Nancy Chen
f563e7ece6 Merge "Make changes to Connection in Telecomm API (1/4)" into lmp-dev 2014-09-11 18:29:56 +00:00
Alan Viverette
cdea76488d Merge "Enable adjustViewBounds on preference icon so that maxWidth is used" into lmp-dev 2014-09-11 18:27:43 +00:00
John Spurlock
d06aa57037 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
2014-09-11 14:25:11 -04:00
Nancy Chen
354b2bd0fe Make changes to Connection in Telecomm API (1/4)
* onPhoneAccountClicked removed
* onSetAudioState -> onAudioStateChanged
* onSetState -> onStateChanged

Bug: 17329632
Change-Id: Icbba67439317bf1d21f758d58da7c83c4373efa6
2014-09-11 11:25:03 -07:00
Robin Lee
484d8bd79a Merge "Add DevicePolicyManager PrivateKey mgmt" into lmp-dev 2014-09-11 18:22:40 +00:00
RoboErik
1308c4b82b Merge "Update text appearance in leanback setup" into lmp-dev 2014-09-11 18:21:33 +00:00
Bernhard Bauer
26408ccd8e Add DevicePolicyManager PrivateKey mgmt
Additional device policy API to install keypairs to the keychain
silently.

Bug: 15065444
Change-Id: Idc25774c9ab1a61080290bebd6f5c4f24e6ee2e0
2014-09-11 19:17:00 +01:00
Vinit Deshpande
8a16eabfae Merge "Don't require CONNECTIVITY_INTERNAL check for protected broadcasts" into lmp-dev 2014-09-11 18:16:39 +00:00
Amith Yamasani
26f9ea38a5 Fix build
Import went missing between CLs

Change-Id: I8740b99dbce15b3f3508768ab3e02f551caf673d
2014-09-11 10:56:51 -07:00
Svetoslav
2f67e23738 Merge "Windows for accessibility with wrong coords on rotation." into lmp-dev 2014-09-11 17:42:44 +00:00
Vineeta Srivastava
e14a29ff3d Merge "Send empty flash for some CDMA carriers for 3way call" into lmp-dev 2014-09-11 17:41:02 +00:00
Matthew Williams
91911fd952 Merge "Add flag to JobParameters for job expired" into lmp-dev 2014-09-11 17:27:58 +00:00
George Mount
68cfdad20d 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
2014-09-11 10:25:31 -07:00
Tyler Gunn
a1ed7d1094 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
2014-09-11 17:13:51 +00:00
ztenghui
25e5a02d1c Finer tessellation can draw better looking shadows for circles.
b/14976551

Change-Id: I4b9e320b025dbee37cd1893881ddbaad62e3a6e2
2014-09-11 10:10:25 -07:00
Nancy Chen
4823aecef3 Merge "API changes in GatewayInfo, Response, and PropertyPresentation (1/4)" into lmp-dev 2014-09-11 17:06:28 +00:00
RoboErik
7a058d4c5e Update text appearance in leanback setup
Changes the size and inter-line spacing.

bug:16959057
Change-Id: Iaf3dcb6c60d071920d73ac2f86e01b6d4248ebf9
2014-09-11 10:03:27 -07:00
Jon Larimer
26a401987a 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...
2014-09-11 16:54:33 +00:00
Jing Zhao
ad6f28202a 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
2014-09-11 09:49:45 -07:00