OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Fix broken locale related assumptions in TextServicesManager." into lmp-dev
Narayan Kamath [Fri, 18 Jul 2014 16:17:24 +0000 (16:17 +0000)]
Merge "Fix broken locale related assumptions in TextServicesManager." into lmp-dev

10 years agoUpdate RecyclerView scroll listener to the new API
Yigit Boyar [Mon, 14 Jul 2014 22:40:36 +0000 (15:40 -0700)]
Update RecyclerView scroll listener to the new API

Bug: 16054949
Change-Id: I264a701e8b298a08f09bb30284099734054d518c

10 years agoFix broken locale related assumptions in TextServicesManager.
Narayan Kamath [Wed, 16 Jul 2014 13:39:03 +0000 (14:39 +0100)]
Fix broken locale related assumptions in TextServicesManager.

startsWith is a bogus check unless languages match. Also, don't
assume 2 letter languages.

bug: 10090157
Change-Id: I8adda61bddc465aac261c0ce2023fa9606affe1b

10 years agoFix android_system_stubs build
Ji-Hwan Lee [Fri, 18 Jul 2014 12:39:57 +0000 (21:39 +0900)]
Fix android_system_stubs build

Change-Id: I52c42b5d781b5c07481cdce598d2ebc340d57850

10 years agoMerge "Cancel notification group children when summary is canceled" into lmp-dev
Christoph Studer [Fri, 18 Jul 2014 11:10:27 +0000 (11:10 +0000)]
Merge "Cancel notification group children when summary is canceled" into lmp-dev

10 years agoMerge "New TtsSpan builders for types measure, time, date, digits and verbatim."...
Niels Egberts [Fri, 18 Jul 2014 15:50:26 +0000 (15:50 +0000)]
Merge "New TtsSpan builders for types measure, time, date, digits and verbatim." into lmp-dev

10 years agoNew TtsSpan builders for types measure, time, date, digits and verbatim.
Niels Egberts [Thu, 17 Jul 2014 19:03:05 +0000 (20:03 +0100)]
New TtsSpan builders for types measure, time, date, digits and verbatim.

Change-Id: I60022aa72c64f454261a0b69c21c45ce6351b9e7

10 years agoMerge "Default MediaStyled notifications to CATEGORY_TRANSPORT" into lmp-dev
Bryan Mawhinney [Fri, 18 Jul 2014 09:36:20 +0000 (09:36 +0000)]
Merge "Default MediaStyled notifications to CATEGORY_TRANSPORT" into lmp-dev

10 years agoDefault MediaStyled notifications to CATEGORY_TRANSPORT
Bryan Mawhinney [Fri, 18 Jul 2014 09:35:12 +0000 (10:35 +0100)]
Default MediaStyled notifications to CATEGORY_TRANSPORT

This makes it easier to identify them later (e.g., for filtering).
The developer can always specify a different category if preferred.

Also fixed some javadoc related to setMediaSession()

Change-Id: I5f28514758218ff66fdbaa9fd37ccb19f12d4852

10 years agoTIF: introduce TvContract.buildChannelUriForPassthroughTvInput()
Dongwon Kang [Tue, 15 Jul 2014 12:36:43 +0000 (21:36 +0900)]
TIF: introduce TvContract.buildChannelUriForPassthroughTvInput()

This change adds a way to get a dummy channel for starting pass-through
TV inputs which don't have real channels in TvProvider.
Bug: 15496325

Change-Id: I7a6b99964319f12a0f8692b4e307e03480119a69

10 years agoMerge "TIF: change onCreateSession() method signature" into lmp-dev
Wonsik Kim [Fri, 18 Jul 2014 04:34:51 +0000 (04:34 +0000)]
Merge "TIF: change onCreateSession() method signature" into lmp-dev

10 years agoFix a build breakage
Youngsang Cho [Fri, 18 Jul 2014 04:24:06 +0000 (21:24 -0700)]
Fix a build breakage

Updated current.txt.

Change-Id: Ib1434da2345aa349e5fc3112bf38dbba9955c885

10 years agoTIF: change onCreateSession() method signature
Wonsik Kim [Fri, 18 Jul 2014 02:36:59 +0000 (11:36 +0900)]
TIF: change onCreateSession() method signature

Bug: 16138420
Change-Id: I73f4992bd76b888c7e5bc6260b3ed849760ee707

10 years agoMerge "TIF: Change the parameter of TvInputInfo.loadLabel/Icon" into lmp-dev
Youngsang Cho [Fri, 18 Jul 2014 03:30:55 +0000 (03:30 +0000)]
Merge "TIF: Change the parameter of TvInputInfo.loadLabel/Icon" into lmp-dev

10 years agoTIF: Change the parameter of TvInputInfo.loadLabel/Icon
Youngsang Cho [Thu, 17 Jul 2014 22:24:22 +0000 (15:24 -0700)]
TIF: Change the parameter of TvInputInfo.loadLabel/Icon

Labels and icons will be extracted from URI in the future.
To acheive it, we need Context rather than PackageManager.

Bug: 16166859
Change-Id: I20f0506fba5876a6cf21b70e44bb3a2265f723d7

10 years agoMerge "Add builders for TtsSpans of type ordinal, decimal and fraction." into lmp-dev
Niels Egberts [Fri, 18 Jul 2014 15:23:28 +0000 (15:23 +0000)]
Merge "Add builders for TtsSpans of type ordinal, decimal and fraction." into lmp-dev

10 years agoAdd builders for TtsSpans of type ordinal, decimal and fraction.
Niels Egberts [Thu, 17 Jul 2014 17:32:33 +0000 (18:32 +0100)]
Add builders for TtsSpans of type ordinal, decimal and fraction.

Also document the possibility to give phone numbers in parts.

Change-Id: Ie1cdf56cc3b6c221c9410fb02dcba2568ea337b7

10 years agoMerge "Unhide." into lmp-dev
Narayan Kamath [Fri, 18 Jul 2014 13:57:23 +0000 (13:57 +0000)]
Merge "Unhide." into lmp-dev

10 years agoUnhide.
Narayan Kamath [Fri, 18 Jul 2014 13:54:24 +0000 (14:54 +0100)]
Unhide.

Change-Id: Ie5788bfdde7ec7394dbd6e11e63e3044ccc5a802

10 years agoMerge "Volume: Dismiss shade when launching settings from rocker." into lmp-dev
John Spurlock [Fri, 18 Jul 2014 15:48:17 +0000 (15:48 +0000)]
Merge "Volume: Dismiss shade when launching settings from rocker." into lmp-dev

10 years agoVolume: Dismiss shade when launching settings from rocker.
John Spurlock [Fri, 18 Jul 2014 15:45:05 +0000 (11:45 -0400)]
Volume: Dismiss shade when launching settings from rocker.

The volume dialog can appear over the expanded QS panel.  Dismiss
the shade when launching zen settings so that it is not obscured.

Bug:16397104
Change-Id: Icc9e7107572305d366a9648f5082096ff92a8b71

10 years agoMerge "Unhide audio virtualizer capability query methods" into lmp-dev
Jean-Michel Trivi [Fri, 18 Jul 2014 15:28:34 +0000 (15:28 +0000)]
Merge "Unhide audio virtualizer capability query methods" into lmp-dev

10 years agoUnhide audio virtualizer capability query methods
Jean-Michel Trivi [Wed, 16 Jul 2014 19:25:27 +0000 (12:25 -0700)]
Unhide audio virtualizer capability query methods

Unhide the new method to query the Virtualizer effect implementation
 about its capabilities in terms of input, device support, and
 virtual speaker angles.

Change-Id: I4478f7837efe8c9d52978244a3402c7f8590e585

10 years agoMerge "Shrink user profile bitmaps to 48dp^2." into lmp-dev
Dan Sandler [Fri, 18 Jul 2014 13:49:59 +0000 (13:49 +0000)]
Merge "Shrink user profile bitmaps to 48dp^2." into lmp-dev

10 years agoShrink user profile bitmaps to 48dp^2.
Dan Sandler [Thu, 17 Jul 2014 20:01:28 +0000 (16:01 -0400)]
Shrink user profile bitmaps to 48dp^2.

Can save megabytes of memory.

Bug: 16371371
Change-Id: Ifec5cff3a3376d045ee4e3b605edeb8d9ac93799

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 "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 "TIF: Hide TvContract.Channels.COLUMN_BROWSABLE" into lmp-dev
Youngsang Cho [Fri, 18 Jul 2014 03:28:46 +0000 (03:28 +0000)]
Merge "TIF: Hide TvContract.Channels.COLUMN_BROWSABLE" into lmp-dev

10 years agoTIF: Hide TvContract.Channels.COLUMN_BROWSABLE
Youngsang Cho [Thu, 17 Jul 2014 01:45:09 +0000 (18:45 -0700)]
TIF: Hide TvContract.Channels.COLUMN_BROWSABLE

TODO: Remove BROWSABLE in TvContract, TvProvider and TV app.

Bug: 16195951
Change-Id: I20e8e1e2f93e0133eba3694e0c1724d443250e59

10 years agoMerge "TIF: Add a notification for surface change from TvView to TvInputService"...
Youngsang Cho [Fri, 18 Jul 2014 03:28:15 +0000 (03:28 +0000)]
Merge "TIF: Add a notification for surface change from TvView to TvInputService" into lmp-dev

10 years agoTIF: Add a method to get TvInputInfo for a given TV input
Jae Seo [Sun, 13 Jul 2014 02:25:24 +0000 (19:25 -0700)]
TIF: Add a method to get TvInputInfo for a given TV input

This is going to be needed by applications to get information about the
inputs that are just added thus not included in the previously retrieved
input list.

Bug: 16166859, Bug: 15838097
Change-Id: Icecd03fcea208a0c4d41caab1eec64e574f40877

10 years agoTIF: Add a notification for surface change from TvView to TvInputService
Youngsang Cho [Wed, 16 Jul 2014 21:22:19 +0000 (14:22 -0700)]
TIF: Add a notification for surface change from TvView to TvInputService

Bug: 15447352
Change-Id: I3e91609c5eb03be84cc7c88507457b9e74750de8

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 "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 "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 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 "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 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 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 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