141160 Commits

Author SHA1 Message Date
Jorim Jaggi
93439da0ed Fix scrim flashing when no security is set.
Change-Id: Iccd07c39b57c7bcf3d4d26a00a46926df56eddbc
2014-07-01 15:49:21 +02:00
Jorim Jaggi
b472b347b5 Improve peek behavior and fix a few bugs in PanelView
- A single tap on the bar peeks and then dismisses it a again.
- Wait for the peek until the layout has happened.
- Add logic to only peek if user is not flinging.
- Fix a few bugs with panel holes (onExpandingStarted/Finished not
  called correctly.

Bug: 15856091
Bug: 15407838
Bug: 15942322

Change-Id: I1aedf9d01bc8db3d7fed7cea6e341b0be18a8bd9
2014-07-01 15:41:50 +02:00
Jorim Jaggi
b7240136b7 Improve fling logic for opening the notification shade
Bug: 15858126
Change-Id: I800b00f80b315218358ea9acbd3614e6d5c87c45
2014-07-01 15:08:30 +02:00
Jorim Jaggi
3857ac4b3f Fix a bug where a short fling resulted in a bad state
Change-Id: I43900d1cb72a03e2fb2e6cb2dea44bfad9792fcc
2014-06-30 22:53:43 +02:00
Jorim Jaggi
2580a976ec Improve motion when expanding/collapsing status bar.
- Don't fade the whole panel anymore.
- Parallax effect for QS header translation, fade on keyguard.
- Improve fling curve for dismissing the panel.
- Improve peeking behavior.

Bug: 14804452
Bug: 15407838
Change-Id: I34b7bcd457cb8a037e0bb06e9802ec66d2b39b73
2014-06-30 22:53:27 +02:00
Jorim Jaggi
605f190202 Keep a mirror of the system icons while expanding the panel
Because the icons are shown in two different places at the same time
(in the QS header and the status bar), we introduce a mirror view
which does nothing except draw the contents of the other view to
draw it at both locations during the animation.

Bug: 15407838
Change-Id: I82edc8b4fb7347fa8dadfb81762d22796d37fa3c
2014-06-30 21:12:34 +02:00
Jorim Jaggi
1e2b2ba4b3 Merge "Fix clipping of notifications on lockscreen." 2014-06-26 22:01:31 +00:00
Jorim Jaggi
2e34ec3cbb Fix clipping of notifications on lockscreen.
Bug: 15942321
Change-Id: I5838c24987de9ed4d1df550df408536271b047f1
2014-07-01 17:05:35 +02:00
Jorim Jaggi
5dfb86bb09 Merge "Fixed a bug on the notification appear animation" 2014-06-26 21:33:38 +00:00
George Mount
58bbdbd1f1 Fix targeting transition by transitionName.
Change-Id: I5e51b524a3a249cd2d7dbba3ccb06d0a5ca8fb73
2014-07-01 15:33:12 +00:00
Selim Cinek
fa129db84a Fixed a bug on the notification appear animation
On the lockscreen the dimmed state was animated before when added
leading to a white flash of the background.

Change-Id: I78047c2d7be2f4b85a25a1bdefacbc944f775b53
2014-07-01 13:49:29 +02:00
Narayan Kamath
c7400b0ce6 am 8c1c0a68: am 7f319c47: am 1dc550fa: Merge "Fix packing of values at offset 16."
* commit '8c1c0a6881b1507f9ae25d753b64de185a7615b2':
  Fix packing of values at offset 16.
2014-07-01 10:43:41 +00:00
Amith Yamasani
374041a63d Merge "Add a method to set a profile owner and active admin at once" 2014-06-26 23:19:11 +00:00
Amith Yamasani
aba4f1b54a Add a method to set a profile owner and active admin at once
This can be used by system apps to register a profile owner during setup

Bug: 15922051
Change-Id: Iee1b5adeb47d7e40ab36df18e3a057d8ee430f46
2014-07-01 15:36:12 +05:30
Narayan Kamath
aeaf87fe45 Update javadoc for android.os.Bundle.
Call out the fact that defaultValue is returned if a null
mapping exists for a given key.

bug: https://code.google.com/p/android/issues/detail?id=68453

(cherry picked from commit ca2197b0457b1626b95a053d835ceaca43ac0286)

Change-Id: Iec70478ae091bb222be6e9ef9726c817395e9e23
2014-07-01 09:03:10 +00:00
Amith Yamasani
f2d4fa8c78 Merge "Store and retrieve default Guest settings" 2014-06-26 23:14:58 +00:00
Amith Yamasani
e4afaa3a3d Store and retrieve default Guest settings
Save the default guest restrictions for use when a guest is created.

Bug: 15761405
Change-Id: I28db7d823944b0b47527a4909c10cc856c842a62
2014-07-01 10:29:46 +05:30
Robert Ly
e1ef443e9c am 9baaf2ce: am 7459dfed: Merge "docs: add new UX images for notifications and wear" into klp-modular-dev
* commit '9baaf2ce843ec84424e10aa10cb7e367951b9306':
  docs: add new UX images for notifications and wear
2014-07-01 02:57:11 +00:00
Jeff Brown
8fef877310 Merge "Make MediaSessionToken an inner class of MediaSession." 2014-06-30 22:24:07 +00:00
Ram
3e0e3bc617 MS: Adding Support for Emergency APN in Telephony Framework
(base/telephony)

Replacement for https://partner-android-review.googlesource.com/#/c/171175/

Change-Id: I16fc37f5c00ed79f2370bc46554fc7a24c52c4cb
Conflicts:
	core/java/android/net/ConnectivityManager.java
2014-07-01 02:00:51 +00:00
Jeff Brown
dba34ba35c Make MediaSessionToken an inner class of MediaSession.
Also add some missing AIDLs to the framework makefile to ensure
they are included in the SDK.

Change-Id: If85a3091c7591e0b3bbe6cc4bb74aba2284b4f42
2014-06-30 16:05:25 -07:00
Jinsuk Kim
854157308e Merge "Refactor handling sequences in HdmiControlService" 2014-06-26 23:19:11 +00:00
Mudumba Ananth
177d078d90 Add WBS support on Bluedroid (6/6)
Bug 13764086

Change-Id: I7afbddb02fc247d7799ab0fb264a467c7853cb32
2014-06-30 22:44:24 +00:00
Jinsuk Kim
92b77cf9cb Refactor handling sequences in HdmiControlService
- Rewrote some methods to match more closely to the handling
  sequences in guideline
- Added setControlEnabled() API in the aidl
- Handled <Routing Control> command
- Handled some scenarios invoking RoutingControlAction

Change-Id: I5db0c6fc775cef709c2e0f338b85937deebf2a54
2014-07-01 07:28:41 +09:00
Sailesh Nepal
92222a0051 Merge "More fixes for Connection and RemoteConnection" 2014-06-26 23:50:27 +00:00
Sailesh Nepal
091768c302 More fixes for Connection and RemoteConnection
Various clean ups and fixes:
  - allow remote connection to have audio set
  - allow remote connection to have abort
  - move onPostDialWait from ConnectionService to Connection
  - hide APIs we don't need

Change-Id: Ib2d0b40f2e9e7a6b5fbf5d6db48b509b7db3c906
2014-06-30 15:23:53 -07:00
Quddus Chong
280d1398e2 am 62395c93: am 5212ee08: Merge "docs: Add Javadocs for GMS Longhorn." into klp-modular-dev
* commit '62395c9379449a44f2df7754ed2fe3a945e38685':
  docs: Add Javadocs for GMS Longhorn.
2014-06-30 21:57:24 +00:00
Quddus Chong
28dc271a04 am 69fc782a: am 85a25e02: Merge "docs: Added "What\'s New" for GMS Longhorn (Google Play Services 5.0)" into klp-modular-dev
* commit '69fc782a8bdb09da25c5052381d15f3ff3b0cb3a':
  docs: Added "What's New" for GMS Longhorn (Google Play Services 5.0)
2014-06-30 21:57:19 +00:00
Tyler Gunn
807de8aa76 Fixing crash in phone app due to missing null checks pertaining to
CallVideoProvider.

Change-Id: Ifd5a558a2b36e0cb656c9a57f64ae0744425a3ef
2014-06-30 21:26:05 +00:00
Anish Athalye
80c7a40dcd Merge "Implement line breaking using ICU break iterator" 2014-06-27 16:52:20 +00:00
Anish Athalye
88b5b0be88 Implement line breaking using ICU break iterator
Change-Id: I4ad98757aa2eab5dbc2ae44c0391e900ef20c4d0
2014-06-30 22:14:05 +00:00
Winson Chung
31d66c60d8 Fixing another case where we weren't properly starting home when Recents is finished due to the screen powering off.
- Reordering broadcast register/unregister to stop listening to the service when Recents is stopped
2014-06-30 15:02:46 -07:00
ztenghui
c5c67f7592 Merge "Preparing the new GL depth test." 2014-06-30 17:43:33 +00:00
ztenghui
9e31cfa92c Merge "Use AnimatedVectorDrawable for progress bar." 2014-06-30 14:43:31 +00:00
Chet Haase
cef139470d Merge "Avoid null-deref crashes in ScrollBarDrawable" 2014-06-26 23:40:51 +00:00
Chet Haase
6c8fef7fb8 Avoid null-deref crashes in ScrollBarDrawable
Some of the code in ScrollBarDrawable automatically derefs
the horizontal and/or vertical thumb objects. The drawable can
sometimes be in a state where these objects are null, causing
a null deref. This fix simply avoids dereferencing null objects.

Also, fixed doc bug in attrs.xml for Transition tags.

Issue #13210554 Transition style documentation refers to 'move' instead of 'changeBounds'
Issue #15636059 ScrollBarDrawable crashes in setAlpha() and other methods when thumbs are null

Change-Id: I6664ba17dae0845de8a8658381ae6e9c9ef99214
2014-06-30 14:15:03 -07:00
Jeff Davidson
b6646a8987 Allow network scorers to provide an opt-in activity.
A candidate scorer may have an activity registered to listen for the
ACTION_CUSTOM_ENABLE intent action. If so, when the user attempts to
select this scorer as the active one, this custom activity will be
launched and will be responsible for requesting that the framework
activate the scorer. This is to enable more complex opt-in flows prior
to becoming the active scorer.

Scorers which do not specify this activity will default to using the
framework switcher (currently ActiveNetworkScorerDialog, though this
may change).

Note that all switches must still go through the framework switcher;
the opt-in activity simply allows scorers to first show another screen
and perform the framework switch on their own terms.

Bug: 15775314
Change-Id: I3847e5d3161a8fcc9622abc03218795697c32778
2014-06-30 14:06:40 -07:00
Tim Kilbourn
72663a1abd am 6f1a231a: am 326b1857: Merge "Fix docs" into klp-modular-dev
* commit '6f1a231a0bb70642f25a2cfedbc187987964615d':
  Fix docs
2014-06-30 21:00:34 +00:00
Yuncheol Heo
cdcbacfa33 Merge "Disable MHL controller." 2014-06-26 23:14:58 +00:00
Jungshik Jang
a13da0d591 Add api, setArcMode, used to turn on/off ARC.
Usual TV can switch on and off of ARC feature in its settings page.
Along with it, removed locking block from the code,
because arc flags are accessed by actions and internal services.

Change-Id: I737ac0c2671b537551eaac202d2065cc99c6d0a0
2014-07-01 17:25:06 +09:00
Yuncheol Heo
e265c8a5fc Disable MHL controller.
Currently MHL HAL is not implemented yet, so it's more reasonable to
disable it.

Change-Id: I2bd9549ddecca8ece9d16a6bee569711afa7384c
2014-07-01 17:10:10 +09:00
Jaewan Kim
9ca56821ea Merge "Implement dump for TvInputManagerService" 2014-06-26 23:14:58 +00:00
Jaewan Kim
e14c3f4fc4 Implement dump for TvInputManagerService
Bug: 15483593
Change-Id: I821522513fb761418a372c1192f92ccf3acab486
2014-07-01 11:02:30 +09:00
Dongwon Kang
b973baca3b Merge "Add a column to TV channel metadata to enable a newly requested use case" 2014-06-26 23:14:30 +00:00
Christopher Tate
3b728f5f46 Merge "Refactor restore to deal with heterogeneous datasets" 2014-06-30 22:27:39 +00:00
Shriram Ganesh
a0985d370a Config change to make emergency calls on ims always
Config value introduced to always place emergency calls on ims
irrespective of service state

Change-Id: If40fb8326d165f5b1093c77982ed9747cba596ca
2014-06-30 18:15:56 -07:00
Uma Maheswari Ramalingam
a8e9cf0989 Config change to skip hold before merge request
Config value introduced to skip apps sending
hold request before merge.
Vendor IMS solution will be responsible to do both.i.e.hold
followed by merge request.

Change-Id: I1aec0f95381d43b3f7f1704fce988f0796839c36

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
2014-07-01 01:03:24 +00:00
Christopher Tate
51fea57e06 Refactor restore to deal with heterogeneous datasets
Transport-based restore now handles both key/value and full-data
(stream) data delivery.

Also: PMBA now holds metadata for *all* apps, not just those with
backup agents.  Since we need to consult this for every restore-
at-install operation we cache this locally now, tagged per transport
and per remote dataset, to avoid having to re-download it as part
of every future restore operation.

Also fixed a bug in LocalTransport that was preventing restore of
key/value datasets, i.e. all of them that were nominally available
prior to this change.

NOTE: at present there is no automatic full-data backup; if for
testing purposes you need to create some to then use for restore,
you still need to use 'bmgr fullbackup ...' to push them.

NOTE: at present the unified transport restore uses a refactored
"engine" implementation to handle stream data that encapsulates
the existing "adb restore" implementation.  However, the adb
restore code path has not yet been refactored to wrap the newly-
extracted engine version; it still contains its own copy of all
the relevant logic.  This will change in a future CL, at which
point offline/USB archive restore will simply wrap the same
shared stream-restore engine implementation.

Bug 15330073
Bug 15989617

Change-Id: Ieedb18fd7836ad31ba24656ec9feaaf69e164af8
2014-06-30 17:43:05 -07:00
Chris Craik
9a347f1992 Initial replacement of setOutline() with ViewOutlineProvider API
bug:15283203

A View's outline is now managed by its outline provider. This means
the outline is automatically requeried when needed (e.g. drawable
updates or resize), with customizable querying behavior.

Also adds 'isFilled' property to outline, to be used for hinting
shadow overdraw avoidance.

Change-Id: Ie137548fa850f1ff7863ab2f660d05145c2ad11e
2014-07-01 00:16:25 +00:00
Winson Chung
04d0f75678 Adding back-behavior test.
Change-Id: I85fda478a99ca097f78ad9231b3cdfbba0903f63
2014-06-30 23:57:50 +00:00