OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Volume: Rocker animation + style updates." into lmp-dev
John Spurlock [Fri, 18 Jul 2014 03:24:34 +0000 (03:24 +0000)]
Merge "Volume: Rocker animation + style updates." into lmp-dev

10 years agoTIF: Add buildInputId()
Jae Seo [Thu, 17 Jul 2014 23:53:13 +0000 (16:53 -0700)]
TIF: Add buildInputId()

A recent change mandated that we should provide "input ID" instead of
ComponentName when building URIs for channels/programs while there is no
direct way to get one to use with. This CL added a method to build an ID
from a ComponentName.

Change-Id: Ia7f868cf241bb44ca0d4f689dc15326ce6944468

10 years agoVolume: Rocker animation + style updates.
John Spurlock [Fri, 18 Jul 2014 03:09:40 +0000 (23:09 -0400)]
Volume: Rocker animation + style updates.

- Add more spacing at the top
- Update window animations to fades
- Improve style for alarm warnings

Bug:16200897
Change-Id: I7a64e235eff1f9a77fc697a98a4440bc69043386

10 years agoMerge "TIF: Add TvParentalControlManager" into lmp-dev
Jae Seo [Fri, 18 Jul 2014 03:21:38 +0000 (03:21 +0000)]
Merge "TIF: Add TvParentalControlManager" into lmp-dev

10 years agoTIF: Add TvParentalControlManager
Jae Seo [Mon, 14 Jul 2014 23:07:19 +0000 (16:07 -0700)]
TIF: Add TvParentalControlManager

Each TV input service is now required to query the system whether the
user is allowed to watch the current program before showing it to the
user if the parental control is turned on, which can be checked by
calling TvParentalControlManager.isEnabled(). Whether the TV input
service should block the content or not is determined by invoking
TvParentalControlManager.isRatingBlocked() with the content rating for
the current program. Then the TvParentalControlManager makes a judgment
based on the user blocked ratings stored in the secure settings and
returns the result. If the rating in question turns out to be blocked,
the TV input service must immediately block the content and call this
method with the content rating of the current program to prompt the PIN
verification screen.

Each TV input service also needs to continuously listen to any changes
made to the parental control settings by registering a
TvParentalControlManager.ParentalControlCallback() to the manager and
immediately reevaluate the current program with the new parental control
settings.

Bug: 13172379
Change-Id: I8e1900d4b8d28c56798986d5c3906bd418ab97ac

10 years agoFix legacyMode for leanback timepicker
Craig Stout [Thu, 17 Jul 2014 18:25:52 +0000 (11:25 -0700)]
Fix legacyMode for leanback timepicker

Change-Id: Idcd9627f330918d8b2de144af28e749c47602769

10 years agoPermit settings to "wipe" the persistent partition
Andres Morales [Thu, 10 Jul 2014 22:40:24 +0000 (15:40 -0700)]
Permit settings to "wipe" the persistent partition

One of the requirements is that when the user does a
factory reset through settings, all data on the
persistent partition should be cleared.

This adds one last API method that allows settings
to wipe the partition.

Bug: 14288780
Change-Id: Ib87ee741d1e5195814516ae1d66eb7c4cf754dcf

10 years agoMerge "Camera2: replace partial quirks with normal partial result" into lmp-dev
Zhijun He [Thu, 17 Jul 2014 20:36:21 +0000 (20:36 +0000)]
Merge "Camera2: replace partial quirks with normal partial result" into lmp-dev

10 years agoCamera2: replace partial quirks with normal partial result
Zhijun He [Wed, 16 Jul 2014 18:32:59 +0000 (11:32 -0700)]
Camera2: replace partial quirks with normal partial result

Change-Id: I56550748478bf0aa1a7bf9a350b4fdc7bbd6af86

10 years agoMerge "QS: Fix crash switching users." into lmp-dev
John Spurlock [Thu, 17 Jul 2014 19:57:32 +0000 (19:57 +0000)]
Merge "QS: Fix crash switching users." into lmp-dev

10 years agoQS: Fix crash switching users.
John Spurlock [Thu, 17 Jul 2014 19:53:32 +0000 (15:53 -0400)]
QS: Fix crash switching users.

Bug:16375449
Change-Id: I971c5b043edcffe669c29bbc566b80696b6251b2

10 years agoMerge "Add glance sensor for doze mode." into lmp-dev
Jeff Brown [Fri, 18 Jul 2014 03:05:10 +0000 (03:05 +0000)]
Merge "Add glance sensor for doze mode." into lmp-dev

10 years agoAdd glance sensor for doze mode.
Jeff Brown [Thu, 17 Jul 2014 22:12:37 +0000 (15:12 -0700)]
Add glance sensor for doze mode.

Change-Id: I66d11a1f032017b16d3f57fa60699a02d67ad5f1

10 years agoMerge "Camera2: partialResultCount should be optional" into lmp-dev
Zhijun He [Fri, 18 Jul 2014 01:02:20 +0000 (01:02 +0000)]
Merge "Camera2: partialResultCount should be optional" into lmp-dev

10 years agoCamera2: partialResultCount should be optional
Zhijun He [Fri, 18 Jul 2014 00:45:54 +0000 (17:45 -0700)]
Camera2: partialResultCount should be optional

Change-Id: Iacd2b5e8f388c18cbff0f1cefdb5c10812ae751e

10 years agoMerge "Remove system audio output option for HdmiControlService" into lmp-dev
Jinsuk Kim [Fri, 18 Jul 2014 00:24:09 +0000 (00:24 +0000)]
Merge "Remove system audio output option for HdmiControlService" into lmp-dev

10 years agoFix timepicker double done buttons.
Craig Stout [Thu, 17 Jul 2014 18:32:09 +0000 (11:32 -0700)]
Fix timepicker double done buttons.

Leanback theme uses a legacy layout with a done button, but
apps won't necessarily have target apilevel L.

Change-Id: Ib38b08df1fe07bd8fb4e64e93633ce0b7eb12567

10 years agoresolved conflicts for merge of bbc49941 to lmp-dev
Filip Gruszczynski [Thu, 17 Jul 2014 23:20:24 +0000 (16:20 -0700)]
resolved conflicts for merge of bbc49941 to lmp-dev

Change-Id: If8e607ab1946c3ca5bb8960d32fdefebbfb21ffe

10 years agoam a76164e1: Merge "Only use bottom outset for main display." into klp-modular-dev
Filip Gruszczynski [Thu, 17 Jul 2014 19:55:27 +0000 (19:55 +0000)]
am a76164e1: Merge "Only use bottom outset for main display." into klp-modular-dev

* commit 'a76164e1d0d283baf412c18999e680d93bd50f01':
  Only use bottom outset for main display.

10 years agoMerge "Shade: Hide status icons, take 2." into lmp-dev
John Spurlock [Thu, 17 Jul 2014 23:10:44 +0000 (23:10 +0000)]
Merge "Shade: Hide status icons, take 2." into lmp-dev

10 years agoProperly end full restore attempt if getNextFullRestoreDataChunk() fails
Christopher Tate [Thu, 17 Jul 2014 22:58:12 +0000 (15:58 -0700)]
Properly end full restore attempt if getNextFullRestoreDataChunk() fails

Don't just drop the error return on the floor and retry (forever!).

Change-Id: I5f0ef2d09ea286d813add69517f865e474341b43

10 years agoShade: Hide status icons, take 2.
John Spurlock [Thu, 17 Jul 2014 22:22:45 +0000 (18:22 -0400)]
Shade: Hide status icons, take 2.

Restore visibility logic (for mirrored view) and remove a bad
optimization from the clipping calculation.

Bug:16337935
Change-Id: I7eb82ef6c87f30da9d8b70136e05dab3abdbdead

10 years agoMerge "Wiring video state through from Connection" into lmp-dev
Tyler Gunn [Fri, 18 Jul 2014 02:30:22 +0000 (02:30 +0000)]
Merge "Wiring video state through from Connection" into lmp-dev

10 years agoWiring video state through from Connection
Tyler Gunn [Thu, 17 Jul 2014 14:50:22 +0000 (07:50 -0700)]
Wiring video state through from Connection

Bug: 16285417
Bug: 16013178
Change-Id: Ia48959248ca22f4569b0ffd01a1716470aa0a711

10 years agoAdd a WebView.zoomBy API.
Marcin Kosiba [Tue, 15 Jul 2014 16:59:51 +0000 (17:59 +0100)]
Add a WebView.zoomBy API.

The WebView has zoomIn/zoomOut APIs which zoom in/out by a fixed
amount. This adds a more flexible API.

BUG: 13399510
Change-Id: Ia505048d5b1c48f9a3ff1c4ce7129ed2f55804f8

10 years agoMerge "Test hotword flow" into lmp-dev
Sandeep Siddhartha [Fri, 18 Jul 2014 02:28:55 +0000 (02:28 +0000)]
Merge "Test hotword flow" into lmp-dev

10 years agoTest hotword flow
Sandeep Siddhartha [Thu, 17 Jul 2014 06:55:41 +0000 (23:55 -0700)]
Test hotword flow

- Also fix a few StrictMode violations in DatabaseHelper

Change-Id: I93f27407dae34cc0dca5e9f891d4ca718d6010a5

10 years agoFix crash when calling MediaSession callback
RoboErik [Fri, 18 Jul 2014 01:26:21 +0000 (18:26 -0700)]
Fix crash when calling MediaSession callback

bug:16311395
Change-Id: Ice52d2da63933af881dd95fa8c6f59a6fe27e0df

10 years agoMerge "TIF: one-to-many relationship for TvInputService to TvInputInfo" into lmp-dev
Wonsik Kim [Fri, 18 Jul 2014 02:19:12 +0000 (02:19 +0000)]
Merge "TIF: one-to-many relationship for TvInputService to TvInputInfo" into lmp-dev

10 years agoTIF: one-to-many relationship for TvInputService to TvInputInfo
Wonsik Kim [Wed, 25 Jun 2014 05:12:48 +0000 (14:12 +0900)]
TIF: one-to-many relationship for TvInputService to TvInputInfo

The scope of this change is to provide a skeleton code for supporting
multiple TV input per service.

Bug: 16138420
Change-Id: Ic51355902d5e0424b8fc8a75c495d4781a7ed744

10 years agoMerge "Only use bottom outset for main display." into klp-modular-dev
Filip Gruszczynski [Thu, 17 Jul 2014 19:52:25 +0000 (19:52 +0000)]
Merge "Only use bottom outset for main display." into klp-modular-dev

10 years agoOnly use bottom outset for main display.
Filip Gruszczynski [Wed, 16 Jul 2014 23:35:18 +0000 (16:35 -0700)]
Only use bottom outset for main display.

Change-Id: I42154d026811ee4b7ba9711c560c7a62fcdde7ee

10 years agoMerge "[HWUI]: fix residual line on FrameBuffer" into lmp-dev
Chris Craik [Thu, 17 Jul 2014 22:38:57 +0000 (22:38 +0000)]
Merge "[HWUI]: fix residual line on FrameBuffer" into lmp-dev

10 years ago[HWUI]: fix residual line on FrameBuffer
henry.uh_chen [Wed, 2 Jul 2014 11:36:56 +0000 (19:36 +0800)]
[HWUI]: fix residual line on FrameBuffer

Symptom: If app applies animation to enlarge a bitmap, there will be an residual
         line on the screen

Root Cause: On platform which has Tile Rendering implementation (ex. Qualcomm
            CPU), startTiling() call will restrict the framebuffer region which
            GPU can affect. So the expansion of clear region by 1 will not take
            effect if startTiling region is not expanded.

Solution: Expand the startTiling region by 1, too.

Reproduce steps: Apply animation to enlarge (and then shrink) a bitmap icon.

Cherry-pick of 20adb6ce4d52b15472e7e5ee953e06cc349a827c from AOSP

Change-Id: I163b898b87b74d221dc4210b7fa657aa93c82c19

10 years agoMerge "Add MediaProjection APIs." into lmp-dev
Michael Wright [Thu, 17 Jul 2014 21:59:19 +0000 (21:59 +0000)]
Merge "Add MediaProjection APIs." into lmp-dev

10 years agoAdd MediaProjection APIs.
Michael Wright [Wed, 9 Jul 2014 01:07:36 +0000 (18:07 -0700)]
Add MediaProjection APIs.

The new MediaProjection infrastructure allows the system to hand out
tokens granting the ability to capture the screen's contents, audio,
etc. at a granular level. It's intended to be used both for screen
casting, via the cast APIs, as well as screen sharing via third party
applications.

The screen sharing case is implemented, but all of audio capturing
is still forthcoming.

Change-Id: I4b24669bed7083e11413c10ed8d6b025f5375316

10 years agoMerge "Fix exceptions in ActivityRecognition platform stack." into lmp-dev
destradaa [Thu, 17 Jul 2014 20:58:46 +0000 (20:58 +0000)]
Merge "Fix exceptions in ActivityRecognition platform stack." into lmp-dev

10 years agoMerge "Update WebViewUpdateService to receive PACKAGE_REPLACED broadcast." into lmp-dev
Ben Murdoch [Thu, 17 Jul 2014 21:36:20 +0000 (21:36 +0000)]
Merge "Update WebViewUpdateService to receive PACKAGE_REPLACED broadcast." into lmp-dev

10 years agoFix sdk build.
Ying Wang [Thu, 17 Jul 2014 21:30:54 +0000 (14:30 -0700)]
Fix sdk build.

Change-Id: I9073747f7a12f826fabf99c34dce813edf6462c1

10 years agoUpdate WebViewUpdateService to receive PACKAGE_REPLACED broadcast.
Ben Murdoch [Thu, 17 Jul 2014 13:55:00 +0000 (14:55 +0100)]
Update WebViewUpdateService to receive PACKAGE_REPLACED broadcast.

This allows the WebViewUpdateService to receive notifications that
an update has been installed and we need to trigger recreation of
the relro file.

bug: 16329377
Change-Id: I088e61487416add997995db304beca0cde71390c

10 years agoFix exceptions in ActivityRecognition platform stack.
destradaa [Wed, 16 Jul 2014 21:28:06 +0000 (14:28 -0700)]
Fix exceptions in ActivityRecognition platform stack.

b/16348349

Change-Id: I1f85283c86130b86389a1be7da49904658b0558c

10 years agoMerge "Support cluster-style installs for bundled apps." into lmp-dev
Jeff Sharkey [Thu, 17 Jul 2014 18:08:38 +0000 (18:08 +0000)]
Merge "Support cluster-style installs for bundled apps." into lmp-dev

10 years agoSupport cluster-style installs for bundled apps.
Jeff Sharkey [Thu, 17 Jul 2014 17:56:48 +0000 (10:56 -0700)]
Support cluster-style installs for bundled apps.

Bug: 16319961
Change-Id: I499b904dfd56f236a1b574c29a44272ed814be0f

10 years agoam e1e81a9e: am e287cf33: docs: Update ADT-1 page with supported apps
Joe Fernandez [Thu, 17 Jul 2014 18:04:47 +0000 (18:04 +0000)]
am e1e81a9e: am e287cf33: docs: Update ADT-1 page with supported apps

* commit 'e1e81a9ee0f3632898eff1056fd2283b79789e23':
  docs: Update ADT-1 page with supported apps

10 years agoSupport model deletion
Sandeep Siddhartha [Thu, 17 Jul 2014 05:53:19 +0000 (22:53 -0700)]
Support model deletion

the updateKeyphrase call is also used to clear out a sound model currently,
this happens when the sound model passed in has no keyphrases.

We can revisit if we need another deleteSoundModel method

- Also fix an issue with the way we were writing keyphrase to the DB
  and when updating keyphrase, we actually addOrUpdate

Change-Id: Ib7250c2fdafef6bc40387912a79366c334d73292

10 years agoMerge "Restore calling identity before checking permission" into lmp-dev
Craig Mautner [Thu, 17 Jul 2014 19:51:04 +0000 (19:51 +0000)]
Merge "Restore calling identity before checking permission" into lmp-dev

10 years agoRestore calling identity before checking permission
Craig Mautner [Thu, 17 Jul 2014 19:38:18 +0000 (12:38 -0700)]
Restore calling identity before checking permission

Using the system service identity to check the CHANGE_CONFIGURATION
permission isn't likely to catch a security violation. Changing
back to the original caller and then checking permissions is
preferred.

Fixes bug 16215650.

Change-Id: Iff08d04422bcc052a487194154f1fd0d727d38f4

10 years agoMerge "return false for media keys if no controller" into lmp-dev
RoboErik [Thu, 17 Jul 2014 19:50:25 +0000 (19:50 +0000)]
Merge "return false for media keys if no controller" into lmp-dev

10 years agoreturn false for media keys if no controller
RoboErik [Thu, 17 Jul 2014 19:17:27 +0000 (12:17 -0700)]
return false for media keys if no controller

bug:16311395
Change-Id: I4cde865858f99a9159abc181cc987fbd9866025b

10 years agoam 64ae9303: am e1e81a9e: am e287cf33: docs: Update ADT-1 page with supported apps
Joe Fernandez [Thu, 17 Jul 2014 18:16:10 +0000 (18:16 +0000)]
am 64ae9303: am e1e81a9e: am e287cf33: docs: Update ADT-1 page with supported apps

* commit '64ae930359619f2a49c8a4bef5dc45261c772d45':
  docs: Update ADT-1 page with supported apps

10 years agoMerge "Fix logging" into lmp-dev
John Reck [Thu, 17 Jul 2014 18:12:51 +0000 (18:12 +0000)]
Merge "Fix logging" into lmp-dev

10 years agoFix logging
John Reck [Thu, 17 Jul 2014 18:00:36 +0000 (11:00 -0700)]
Fix logging

 Bug: 16357287

Change-Id: Ic14e32c941e42ab1f1ed51ff8ed7185979e57a55

10 years agoMerge "camera2: Fix swapped Face detection commands." into lmp-dev
Ruben Brunk [Thu, 17 Jul 2014 18:12:08 +0000 (18:12 +0000)]
Merge "camera2: Fix swapped Face detection commands." into lmp-dev

10 years agocamera2: Fix swapped Face detection commands.
Ruben Brunk [Thu, 17 Jul 2014 18:02:28 +0000 (11:02 -0700)]
camera2: Fix swapped Face detection commands.

Bug: 16343647
Change-Id: I06186b1d6a2ef5d73d2e22759e947156d43cab3f

10 years agoAdd the RTL support to VectorDrawable.
ztenghui [Wed, 16 Jul 2014 18:17:56 +0000 (11:17 -0700)]
Add the RTL support to VectorDrawable.

bug:15905631

Change-Id: Ieb3dcac2dd446ba89f307716411688dcd6ec5279

10 years agoRevert "Separate Canvas JNI code from the implementation."
John Reck [Thu, 17 Jul 2014 17:30:22 +0000 (10:30 -0700)]
Revert "Separate Canvas JNI code from the implementation."

This reverts commit e28a5afee885cd69a5be5809f88116b601cb1a72.

 Appears to cause memory corruption and random appearances of
 chinese

 Bug: 16343240
 Bug: 16336642

Change-Id: Ife169181f40adff4b12948ed5f9d3a88dcec935b

10 years agoFixing regression in flinging not updating the stack. (Bug 16371020)
Winson Chung [Thu, 17 Jul 2014 17:30:42 +0000 (10:30 -0700)]
Fixing regression in flinging not updating the stack. (Bug 16371020)

Change-Id: I6397c854dc0d305206eb3b48de855c58cf2740ea

10 years agoam e287cf33: docs: Update ADT-1 page with supported apps
Joe Fernandez [Thu, 17 Jul 2014 16:44:19 +0000 (16:44 +0000)]
am e287cf33: docs: Update ADT-1 page with supported apps

* commit 'e287cf33d4cd69aef2177d025a110cf8b9f0e267':
  docs: Update ADT-1 page with supported apps

10 years agoMerge "resolved conflicts for merge of 0a931069 to lmp-dev" into lmp-dev
Craig Mautner [Thu, 17 Jul 2014 17:51:43 +0000 (17:51 +0000)]
Merge "resolved conflicts for merge of 0a931069 to lmp-dev" into lmp-dev

10 years agoresolved conflicts for merge of 0a931069 to lmp-dev
Craig Mautner [Thu, 17 Jul 2014 17:50:18 +0000 (10:50 -0700)]
resolved conflicts for merge of 0a931069 to lmp-dev

Conflicts:
services/core/java/com/android/server/am/ActivityManagerService.java
services/core/java/com/android/server/am/ActivityStackSupervisor.java

Change-Id: I68e8290566b51fadb5671abdd9d05faf28502e22

10 years agoam 65d7c332: Merge "Additional cleanup after stack deletion." into klp-modular-dev
Justin Koh [Thu, 17 Jul 2014 10:56:16 +0000 (10:56 +0000)]
am 65d7c332: Merge "Additional cleanup after stack deletion." into klp-modular-dev

* commit '65d7c332d7b613f23a26066051cc7496e0efa994':
  Additional cleanup after stack deletion.

10 years agoam 77cdac05: Merge "Wait for all windows to draw before turning screen on" into klp...
Justin Koh [Thu, 17 Jul 2014 10:55:56 +0000 (10:55 +0000)]
am 77cdac05: Merge "Wait for all windows to draw before turning screen on" into klp-modular-dev

* commit '77cdac05ba80925f6cdc4c349af0fa7567c36146':
  Wait for all windows to draw before turning screen on

10 years agoam 39f0e7da: Merge "Using outset bottom from theme as bottom inset on circular screen...
Filip Gruszczynski [Thu, 17 Jul 2014 10:55:43 +0000 (10:55 +0000)]
am 39f0e7da: Merge "Using outset bottom from theme as bottom inset on circular screens." into klp-modular-dev

* commit '39f0e7da00eae4e5a331a9413a396f3dddbeb625':
  Using outset bottom from theme as bottom inset on circular screens.

10 years agoMerge "Add PackageManager features for differentiating camera2 devices" into lmp-dev
Eino-Ville Talvala [Thu, 17 Jul 2014 19:34:17 +0000 (19:34 +0000)]
Merge "Add PackageManager features for differentiating camera2 devices" into lmp-dev

10 years agoMerge "Fixing optimization in Task loading. (Bug 16372369)" into lmp-dev
Winson Chung [Thu, 17 Jul 2014 19:33:24 +0000 (19:33 +0000)]
Merge "Fixing optimization in Task loading. (Bug 16372369)" into lmp-dev

10 years agoFixing optimization in Task loading. (Bug 16372369)
Winson Chung [Thu, 17 Jul 2014 19:30:07 +0000 (12:30 -0700)]
Fixing optimization in Task loading. (Bug 16372369)

10 years agoMerge "Minor cleanups around color usage" into lmp-dev
Chris Craik [Thu, 17 Jul 2014 19:31:31 +0000 (19:31 +0000)]
Merge "Minor cleanups around color usage" into lmp-dev

10 years agoMinor cleanups around color usage
Chris Craik [Thu, 17 Jul 2014 19:25:11 +0000 (12:25 -0700)]
Minor cleanups around color usage

Change-Id: I56733cbe933a58d5977c032f056abb35265ee252

10 years agoMerge "Simplify ViewRootImpl's AttachInfo usage" into lmp-dev
Chris Craik [Thu, 17 Jul 2014 19:26:24 +0000 (19:26 +0000)]
Merge "Simplify ViewRootImpl's AttachInfo usage" into lmp-dev

10 years agoSimplify ViewRootImpl's AttachInfo usage
Chris Craik [Thu, 17 Jul 2014 17:16:51 +0000 (10:16 -0700)]
Simplify ViewRootImpl's AttachInfo usage

Change-Id: I4230e95ed5a52c8c5fae7d7b8d58827925db13ba

10 years agoAdd PackageManager features for differentiating camera2 devices
Eino-Ville Talvala [Fri, 11 Jul 2014 00:29:38 +0000 (17:29 -0700)]
Add PackageManager features for differentiating camera2 devices

Also rename DNG capability to RAW.

Bug: 15415688
Change-Id: I1ea9f65b03c4fa06a5004f9d1d485935742001c8

10 years agoMerge "Split telephony restrictions into outgoing calls and sms" into lmp-dev
Amith Yamasani [Thu, 17 Jul 2014 19:16:56 +0000 (19:16 +0000)]
Merge "Split telephony restrictions into outgoing calls and sms" into lmp-dev

10 years agoSplit telephony restrictions into outgoing calls and sms
Amith Yamasani [Thu, 17 Jul 2014 17:52:03 +0000 (10:52 -0700)]
Split telephony restrictions into outgoing calls and sms

DISALLOW_TELEPHONY renamed to DISALLOW_OUTGOING_CALLS and introduced
DISALLOW_SMS.

Outgoing emergency calls should always be permitted.

Change-Id: I0a38ef6e2df9dcf62d16fd93622ad61f4327614f

10 years agoAdd nested pre-fling for nested scrolling
Adam Powell [Thu, 17 Jul 2014 04:41:31 +0000 (21:41 -0700)]
Add nested pre-fling for nested scrolling

Nested pre-fling allows a nested scrolling parent to consume a fling
operation before the child view does. If a parent has been consuming
nested pre-scroll events in a particular direction, this is generally
a good indication that it should also consume the resulting fling at
the end.

Bug 15538504

Change-Id: I88e8753a96c9b41815c3be530cafab8345164e64

10 years agoMerge "Pass through video state when answering a call." into lmp-dev
Andrew Lee [Thu, 17 Jul 2014 20:17:51 +0000 (20:17 +0000)]
Merge "Pass through video state when answering a call." into lmp-dev

10 years agoPass through video state when answering a call.
Andrew Lee [Wed, 16 Jul 2014 17:11:42 +0000 (10:11 -0700)]
Pass through video state when answering a call.

Bug: 16013878
Bug: 16015750
Change-Id: Ia9ba6e5f78fcb64e1089db99f5ce11d0ef858ac9

10 years agoMerge "Plumb through StatusHints change notifications" into lmp-dev
Evan Charlton [Thu, 17 Jul 2014 20:13:57 +0000 (20:13 +0000)]
Merge "Plumb through StatusHints change notifications" into lmp-dev

10 years agoPlumb through StatusHints change notifications
Evan Charlton [Wed, 16 Jul 2014 00:03:20 +0000 (17:03 -0700)]
Plumb through StatusHints change notifications

When StatusHints are modified, inform listeners. Also expose two
constants for passing optional strings from the CallService to
the in-call UI.

Bug: 13334257
Bug: 13334252

Change-Id: If7fde7c1ca6940cec8b7232469a22900c36dbb17

10 years agoMerge "Create DPM APIs for cross profile callerId" into lmp-dev
Adam Connors [Thu, 17 Jul 2014 17:29:34 +0000 (17:29 +0000)]
Merge "Create DPM APIs for cross profile callerId" into lmp-dev

10 years agoCreate DPM APIs for cross profile callerId
Adam Connors [Thu, 17 Jul 2014 14:41:43 +0000 (15:41 +0100)]
Create DPM APIs for cross profile callerId

Contact information in the managed profile is shown
in the incoming call UI unless blocked using this API.

TODO: Actually plumb this into the caller-id logic.

Bug: 16301261
Change-Id: If03adc907d9558baa0a45a1833b857206b7bf96a

10 years agoMerge "TtsSpan builders for each TtsSpan type. DO NOT MERGE" into lmp-dev
Niels Egberts [Thu, 17 Jul 2014 17:29:23 +0000 (17:29 +0000)]
Merge "TtsSpan builders for each TtsSpan type. DO NOT MERGE" into lmp-dev

10 years agoAPI changes to enable account selection for a call
Nancy Chen [Tue, 8 Jul 2014 21:16:17 +0000 (14:16 -0700)]
API changes to enable account selection for a call

If an account default is not set, the incall ui will display a dialog to
allow the user to select an account for that particular call.

Bug: 16243703

Change-Id: I8faf2f2ce0b2669a141562832f23e8f3ce88f094

10 years agoTtsSpan builders for each TtsSpan type. DO NOT MERGE
Niels Egberts [Wed, 25 Jun 2014 12:48:32 +0000 (13:48 +0100)]
TtsSpan builders for each TtsSpan type. DO NOT MERGE

The reason for separate classes for each type, instead of a more flat
structure is to enable easy discovery of the available arguments that
can be set. For L we'll have about 12 types with 30 arguments and
almost all of the arguments are type specific. In future releases
we'll introduce more arguments. With editors that have code completion
one can construct a span without having to consult the documentation.

For now it only contains Text and Cardinal types.

Change-Id: I94531e600133d9f4f59a4170cceef1ee7a360ca7
(cherry picked from commit 90b095aabd8a5c43723821dda37354fd2beb38fb)

10 years agoAllow for appending of resources to an AssetManager.
Martin Kosiba [Thu, 16 Jan 2014 16:25:56 +0000 (16:25 +0000)]
Allow for appending of resources to an AssetManager.

BUG: 11505352
Change-Id: Ifa290580a6dc63c2f471d0bbf5f066db14aed4d7

10 years agoAds per-user APIs to manage accounts through the AccountManager
Alexandra Gherghina [Thu, 3 Jul 2014 10:40:08 +0000 (11:40 +0100)]
Ads per-user APIs to manage accounts through the AccountManager

Bug: 16056552
Bug: 14642886
Change-Id: I17ff6c2515285e63c84cecf2f861d10666c393c5

10 years agoMerge "resolved conflicts for merge of 75f31740 to lmp-dev" into lmp-dev
Craig Mautner [Thu, 17 Jul 2014 17:16:49 +0000 (17:16 +0000)]
Merge "resolved conflicts for merge of 75f31740 to lmp-dev" into lmp-dev

10 years agoresolved conflicts for merge of 75f31740 to lmp-dev
Craig Mautner [Thu, 17 Jul 2014 17:05:07 +0000 (10:05 -0700)]
resolved conflicts for merge of 75f31740 to lmp-dev

Conflicts:
services/core/java/com/android/server/wm/WindowManagerService.java

Change-Id: Ifdfe253c4b3410a6000fd5a7cdcd785adc80a47b

10 years agoMerge "Keep track of user_setup_complete in DPMS" into lmp-dev
Amith Yamasani [Thu, 17 Jul 2014 17:08:40 +0000 (17:08 +0000)]
Merge "Keep track of user_setup_complete in DPMS" into lmp-dev

10 years agoMerge "TIF: Add TvInputInfo.getParentId" into lmp-dev
Jae Seo [Thu, 17 Jul 2014 17:04:17 +0000 (17:04 +0000)]
Merge "TIF: Add TvInputInfo.getParentId" into lmp-dev

10 years agoTIF: Add TvInputInfo.getParentId
Ji-Hwan Lee [Wed, 16 Jul 2014 14:13:03 +0000 (23:13 +0900)]
TIF: Add TvInputInfo.getParentId

Bug: 16166859
Change-Id: I07130b6f974ca7b2527aba68b92dc31fb4b5a139

10 years agoPlumb the database code to read/update sound models
Sandeep Siddhartha [Thu, 17 Jul 2014 04:02:08 +0000 (21:02 -0700)]
Plumb the database code to read/update sound models

Change-Id: I135131b042481462f905bdb69ea8544e2561d177

10 years agoAdd recognition modes to the enrollment metadata
Sandeep Siddhartha [Fri, 11 Jul 2014 19:27:34 +0000 (12:27 -0700)]
Add recognition modes to the enrollment metadata

This will be used by the Voice interaction service to determine what type of recognition may be run
on the DSP. e.g. If the DSP supports voice trigger only for the given keyphrase,
the voice interaction service may want to perform user identification at its end.

Also support keyphrase metadata for all keyphrases and locales.
In case the enrollment app supports open-ended keyphrases, it can leave the keyphrase text
to be empty
similarly, if the enrollment app supports all locales, it can leave the supported locales
attribute to be empty,

Change-Id: I782a17a877fc79ed569fa7c3a81697641182590b

10 years agoAdd public attributes for TimePicker styling
Alan Viverette [Thu, 17 Jul 2014 00:39:27 +0000 (17:39 -0700)]
Add public attributes for TimePicker styling

BUG: 11218747
Change-Id: Ifdf981280ebe20a9066f219c9a4505d0d7486b2e

10 years agoKeep track of user_setup_complete in DPMS
Amith Yamasani [Thu, 17 Jul 2014 00:26:17 +0000 (17:26 -0700)]
Keep track of user_setup_complete in DPMS

This is to ensure that some system app can't modify that
state for purposes of changing the profile owner without
user consent.

Bug: 16207721

Change-Id: Ic5f454d7568cd824b83456eed0e2611779a9adf8

10 years agoMerge "QS Guest fixes" into lmp-dev
Adrian Roos [Thu, 17 Jul 2014 17:44:29 +0000 (17:44 +0000)]
Merge "QS Guest fixes" into lmp-dev

10 years agoAdd BackupAgent.onRestoreFinished() callback
Christopher Tate [Tue, 15 Jul 2014 19:37:38 +0000 (12:37 -0700)]
Add BackupAgent.onRestoreFinished() callback

The agent's onRestoreFinished() method is called after all available
data has been delivered to the app, whether via the key/value restore
API or the full-data file-at-a-time API.  This gives the app a stable
opportunity to do any postprocessing that might be appropriate.

Also fixes a lingering bug in the framework's handling of backup
agent lifetimes.  In cases where an existing agent instances was
being rebound, the framework was forgetting to notify the dependent
that the agent was available.  This was causing timeouts and restore
failure.

Bug 16241004

Change-Id: I3f52b299312d30d38b0cba63a2cfaeb934991ef2

10 years agoQS Guest fixes
Adrian Roos [Thu, 17 Jul 2014 16:27:38 +0000 (18:27 +0200)]
QS Guest fixes

- Fixes NPE when guest has not been created yet
- Reloads pictures only when they changed
- Adds "Exit guest" affordance

Bug: 16363920
Bug: 15759638
Change-Id: I99ff1c4be06fee96c5169fd7c2d31b1b13f7a389

10 years agoMerge "Update QS user switcher colors to spec" into lmp-dev
Adrian Roos [Thu, 17 Jul 2014 10:37:36 +0000 (10:37 +0000)]
Merge "Update QS user switcher colors to spec" into lmp-dev

10 years agoMerge "Allow app restrictions for uninstalled packages." into lmp-dev
Kenny Guy [Thu, 17 Jul 2014 17:01:56 +0000 (17:01 +0000)]
Merge "Allow app restrictions for uninstalled packages." into lmp-dev

10 years agoAllow app restrictions for uninstalled packages.
Kenny Guy [Thu, 17 Jul 2014 15:38:55 +0000 (16:38 +0100)]
Allow app restrictions for uninstalled packages.

Stop cleaning up app restrictions for packages
that aren't installed.
Remove app restriction file if restrictions is
set to an empty or null bundle.
All user types may now have restrictions if a
profile or device owner is present.

Bug: 15565914
Change-Id: I55f38ca0ad7794b9fc2967113973dc035a416558