OSDN Git Service

android-x86/frameworks-base.git
9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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.

9 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

9 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.

9 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

9 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

9 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

9 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

9 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)

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 years agoMerge "Partially fix the keyguard scrim" into lmp-dev
Adrian Roos [Thu, 17 Jul 2014 10:36:28 +0000 (10:36 +0000)]
Merge "Partially fix the keyguard scrim" into lmp-dev

9 years agoMerge "Using outset bottom from theme as bottom inset on circular screens." into...
Filip Gruszczynski [Thu, 17 Jul 2014 00:23:35 +0000 (00:23 +0000)]
Merge "Using outset bottom from theme as bottom inset on circular screens." into klp-modular-dev

9 years agoUsing outset bottom from theme as bottom inset on circular screens.
Filip Gruszczynski [Tue, 15 Jul 2014 00:10:42 +0000 (17:10 -0700)]
Using outset bottom from theme as bottom inset on circular screens.

Change-Id: I46374b345e60a74b6afbbb6a278a0b8e81650681

9 years agoMerge "Fix build." into lmp-dev
Dianne Hackborn [Thu, 17 Jul 2014 06:24:11 +0000 (06:24 +0000)]
Merge "Fix build." into lmp-dev

9 years agoFix build.
Dianne Hackborn [Thu, 17 Jul 2014 06:23:26 +0000 (23:23 -0700)]
Fix build.

Change-Id: I3db1e059534581728a52699681b739482aeb913f

9 years agoImplement issue #16330060: Inform ActivityManager about WebView...
Dianne Hackborn [Thu, 17 Jul 2014 00:31:10 +0000 (17:31 -0700)]
Implement issue #16330060: Inform ActivityManager about WebView...

...state changes.

Add a new API to tell the activity manager about a new dependency
one process has on another package.  Start using it already for
when apps is Context.createPackageContext() to load code from another
app.

Also do some work on getting the monitoring of proc/uid states
in shape so it can be used by unundled code, along with an
AppImportanceMonitor class for doing so.

Some small fixes and additions to VoiceInteractionService.

Improve handling of unaccounted/overcounted battery use so that
they aren't shown to the user unless they are significant.

Change-Id: I22dd79a73f4e70103d3f8964494aebc8a31f971c

9 years agoMerge "Pass input ID to the setup/settings activity" into lmp-dev
Chulwoo Lee [Thu, 17 Jul 2014 06:19:08 +0000 (06:19 +0000)]
Merge "Pass input ID to the setup/settings activity" into lmp-dev

9 years agoMerge "Introduce "input_id" column to the channels table" into lmp-dev
Chulwoo Lee [Thu, 17 Jul 2014 06:18:17 +0000 (06:18 +0000)]
Merge "Introduce "input_id" column to the channels table" into lmp-dev

9 years agoMerge "Album artwork returns triumphantly to the lockscreen." into lmp-dev
Dan Sandler [Thu, 17 Jul 2014 04:05:16 +0000 (04:05 +0000)]
Merge "Album artwork returns triumphantly to the lockscreen." into lmp-dev

9 years agoAlbum artwork returns triumphantly to the lockscreen.
Dan Sandler [Wed, 21 May 2014 16:48:22 +0000 (12:48 -0400)]
Album artwork returns triumphantly to the lockscreen.

It is pulled from the metadata of the active media
session, which we fetch in one of two ways:

1. From a proper media notification, we can extract the
   session token from EXTRA_MEDIA_SESSION.
2. If none of these is found, we ask MediaSessionManager for
   any outstanding media sessions whose packages match an
   active notification. These include legacy RCC clients,
   whose notifications are oblivious to EXTRA_MEDIA_SESSION.

We then pull the album artwork out of the metadata and fade
it in on the lockscreen.

Bug: 15147533
Bug: 15135254
Change-Id: Ia967bfba310b6c792b14673872cb132ddd7052a5

9 years agoUpdate QS user switcher colors to spec
Adrian Roos [Wed, 16 Jul 2014 22:32:13 +0000 (00:32 +0200)]
Update QS user switcher colors to spec

Bug: 15545213
Change-Id: Id0e48e4406c64d2a8a19ed8fdcec398896ca11c0

9 years agoMerge "Restrict SCORE_NETWORKS permission to signature|system." into lmp-dev
Jeff Davidson [Thu, 17 Jul 2014 16:38:23 +0000 (16:38 +0000)]
Merge "Restrict SCORE_NETWORKS permission to signature|system." into lmp-dev

9 years agoRestrict SCORE_NETWORKS permission to signature|system.
Jeff Davidson [Wed, 16 Jul 2014 23:43:01 +0000 (16:43 -0700)]
Restrict SCORE_NETWORKS permission to signature|system.

As long as the APIs aren't ready to be un-hidden, there's no need to
allow non-system apps to access them. This can be reverted when the
APIs are finalized and we have mechanisms in place for selecting
between scorers installed on the device, rather than only a
preselected scorer bundled with the system.

Change-Id: I745b4c691eccfb526014d4cb71639db2119e4fdb

9 years agoUse the WebView's loader library to load the real library.
Torne (Richard Coles) [Thu, 8 May 2014 15:07:05 +0000 (16:07 +0100)]
Use the WebView's loader library to load the real library.

Load libwebviewchromiumloader and use it to load the real WebView
library, to enable sharing of the relro segment between different
application processes without requiring that the library be preloaded in
the zygote. A system service is added to track whether the relro segment
file has been prepared, and block loading of the library until it has
been.

Bug: 13005501
Change-Id: I846b37c7b8e2a4eb8a39e4fd455bccbb2048c173

9 years agoRemove WebView library preloading mechanism.
Torne (Richard Coles) [Fri, 2 May 2014 14:21:54 +0000 (15:21 +0100)]
Remove WebView library preloading mechanism.

We don't want to preload the WebView library in the zygote process any
more, as loading an updatable WebView in the zygote is a stability risk.
The memory benefits of preloading will be obtained in other ways.

Bug: 13005501
Change-Id: Ic89f2a1d057dc92b01fb775bf326b47ac2d4caa2

9 years agoMerge "Update message on DISALLOW_REMOVE_USERS constant." into lmp-dev
Julia Reynolds [Thu, 17 Jul 2014 16:32:56 +0000 (16:32 +0000)]
Merge "Update message on DISALLOW_REMOVE_USERS constant." into lmp-dev

9 years agoUpdate message on DISALLOW_REMOVE_USERS constant.
Julia Reynolds [Thu, 17 Jul 2014 15:50:05 +0000 (11:50 -0400)]
Update message on DISALLOW_REMOVE_USERS constant.

Change-Id: I4f873eba4082278553ded830bb902fb3a3195d87

9 years agoMerge "Zen: Maintain selection throughout rocker session." into lmp-dev
John Spurlock [Thu, 17 Jul 2014 16:15:42 +0000 (16:15 +0000)]
Merge "Zen: Maintain selection throughout rocker session." into lmp-dev

9 years agoZen: Maintain selection throughout rocker session.
John Spurlock [Thu, 17 Jul 2014 15:17:11 +0000 (11:17 -0400)]
Zen: Maintain selection throughout rocker session.

While the panel is visible, allow toggling between
none + priority (and even 'all') without resetting
the exit condition.

Bug:16350606
Change-Id: I830be8ccad1ba95a64239f00a72f773c4fe739f2

9 years agoMerge "Shade: Hide the status icons from the collapsed header." into lmp-dev
John Spurlock [Thu, 17 Jul 2014 15:56:26 +0000 (15:56 +0000)]
Merge "Shade: Hide the status icons from the collapsed header." into lmp-dev

9 years agoShade: Hide the status icons from the collapsed header.
John Spurlock [Thu, 17 Jul 2014 14:11:40 +0000 (10:11 -0400)]
Shade: Hide the status icons from the collapsed header.

Only show wifi / cell / battery / user, the entire statusIcons
layout s/b hidden when reparented to the header.

Bug:16355667
Change-Id: I4c99ffed82af47c4e67e7915a8cb98fc04ad7017

9 years agoMerge "Add AudioAttributes support in the TTS." into lmp-dev
Przemyslaw Szczepaniak [Thu, 17 Jul 2014 15:51:50 +0000 (15:51 +0000)]
Merge "Add AudioAttributes support in the TTS." into lmp-dev

9 years agoAdd AudioAttributes support in the TTS.
Przemyslaw Szczepaniak [Mon, 14 Jul 2014 16:10:42 +0000 (17:10 +0100)]
Add AudioAttributes support in the TTS.

Bug: 16259299
Change-Id: I53f4f7a2b9a3b9a422affaf6abe4aca258e67d7f

9 years agoMerge "Zen: Return of the alarm warning." into lmp-dev
John Spurlock [Thu, 17 Jul 2014 15:46:42 +0000 (15:46 +0000)]
Merge "Zen: Return of the alarm warning." into lmp-dev

9 years agoZen: Return of the alarm warning.
John Spurlock [Thu, 17 Jul 2014 01:03:15 +0000 (21:03 -0400)]
Zen: Return of the alarm warning.

- Remove the term timers from subtitle, the term "alarms"
  is now inclusive of timers.
- Resurrect the alarm warning, give it a more prominent
  appearance if we can detect an overlap in a time-based
  exit condition and the next alarm time.

Change-Id: I5d6d67694c7acc9e2a5a7c63e647069744a22cec

9 years agoMerge "Check for exported and category before starting activity." into lmp-dev
Kenny Guy [Thu, 17 Jul 2014 15:15:52 +0000 (15:15 +0000)]
Merge "Check for exported and category before starting activity." into lmp-dev

9 years agoDO NOT MERGE
Nicolas Prevot [Tue, 8 Jul 2014 14:47:17 +0000 (15:47 +0100)]
DO NOT MERGE

Remove cross-profile intent filters when removing a user.

When a user is being removed: removing cross-profile intent filters that have
this user as their source.
This makes sure that if the user id gets reassigned without restarting the phone,
we do not have old information from the preexisting profile.

Change-Id: Ie3a2aa0cbbe6c9eb9e945e650fd907e5cc012409
(cherry picked from commit d44e2d7340c70406d8b5eb8b3d6c6c0daaa8705f)

9 years agoam 95198b91: am 39f0e7da: Merge "Using outset bottom from theme as bottom inset on...
Filip Gruszczynski [Thu, 17 Jul 2014 13:37:25 +0000 (13:37 +0000)]
am 95198b91: am 39f0e7da: Merge "Using outset bottom from theme as bottom inset on circular screens." into klp-modular-dev

* commit '95198b91665bb93473ea1ec68c69bdbfd0002d49':
  Using outset bottom from theme as bottom inset on circular screens.

9 years agoCheck for exported and category before starting activity.
Kenny Guy [Thu, 17 Jul 2014 12:01:25 +0000 (13:01 +0100)]
Check for exported and category before starting activity.

Make LauncherAppService check that component passed to
startActivityAsUser is exported and has the category
Intent.CATEGORY_LAUNCHER before starting it.

Bug: 15989072
Change-Id: I29d03fae49ff0ca8d7f7524f5e71895d62ff3cae

9 years agoMerge "Initializing variables - generally a good practice" into lmp-dev
Chris Craik [Thu, 17 Jul 2014 16:53:38 +0000 (16:53 +0000)]
Merge "Initializing variables - generally a good practice" into lmp-dev

9 years agoInitializing variables - generally a good practice
Chris Craik [Thu, 17 Jul 2014 02:11:46 +0000 (19:11 -0700)]
Initializing variables - generally a good practice

Change-Id: Ib29a69f741eda869701493bb04e155d786e6e402

9 years agoMediaRecorder: added constants for WEBM output
Robert Shih [Thu, 10 Jul 2014 18:12:30 +0000 (11:12 -0700)]
MediaRecorder: added constants for WEBM output

Change-Id: Iacbb55bda71bb6da98244255bf2a4c34c7342fb0

9 years agoMerge "Additional cleanup after stack deletion." into klp-modular-dev
Justin Koh [Thu, 17 Jul 2014 00:57:51 +0000 (00:57 +0000)]
Merge "Additional cleanup after stack deletion." into klp-modular-dev

9 years agoMerge "Wait for all windows to draw before turning screen on" into klp-modular-dev
Justin Koh [Thu, 17 Jul 2014 00:43:18 +0000 (00:43 +0000)]
Merge "Wait for all windows to draw before turning screen on" into klp-modular-dev

9 years agoWait for all windows to draw before turning screen on
Craig Mautner [Wed, 16 Jul 2014 23:07:26 +0000 (16:07 -0700)]
Wait for all windows to draw before turning screen on

Was previously only waiting for windows on the primary display to
draw which meant that windows on ActivityViews had not yet drawn.
This fix checks redraws all outstanding Surfaces before unblanking
the screen.

Fixes bug 15092354.

Change-Id: Id550db003a5f56931eb68464085596e47d25481d

9 years agoAdditional cleanup after stack deletion.
Craig Mautner [Wed, 16 Jul 2014 21:56:05 +0000 (14:56 -0700)]
Additional cleanup after stack deletion.

- Remove activity from PendingActivityLaunch list when it is removed
from stack. This prevents the delayed launch causing
IllegalArgumentException in b/16045752.
- Move PendingActivityLaunch from ActivityManagerService to
ActivityStackSupervisor.
- Immediately call onTaskListEmptyLocked() in cases where no
activities are found in stack.

Fixes bug 16045752.

Change-Id: Ia69a449e7f5e08ab6e36157d0fd793c4d2fdaca4

9 years agoMerge "Update data limit notification icon + strings." into lmp-dev
John Spurlock [Thu, 17 Jul 2014 03:36:34 +0000 (03:36 +0000)]
Merge "Update data limit notification icon + strings." into lmp-dev

9 years agoUpdate data limit notification icon + strings.
John Spurlock [Mon, 14 Jul 2014 18:36:32 +0000 (14:36 -0400)]
Update data limit notification icon + strings.

- Use a more specific disabled cellular data icon.
- Reword framework strings to use "Cellular" instead of "Mobile"
  and avoid "enabled/disabled"
- Update SystemUI's network limit dialog to follow suit.

Bug:16185238
Change-Id: Ie9191990fab17cd7dc04395fad39f84bfff8349d

9 years agoAdd code for isKeyphraseActive and some logging to help debug issues
Sandeep Siddhartha [Wed, 16 Jul 2014 22:36:44 +0000 (15:36 -0700)]
Add code for isKeyphraseActive and some logging to help debug issues

Change-Id: I89f2090be5a5fe5f7c0da1648a0d46a093893fe2

9 years agoMerge "Add a zen-specific event sink, include in dumpstate." into lmp-dev
John Spurlock [Thu, 17 Jul 2014 01:45:17 +0000 (01:45 +0000)]
Merge "Add a zen-specific event sink, include in dumpstate." into lmp-dev

9 years agoAdd a zen-specific event sink, include in dumpstate.
John Spurlock [Wed, 16 Jul 2014 20:23:01 +0000 (16:23 -0400)]
Add a zen-specific event sink, include in dumpstate.

Useful for tracking zen events (since boot) that are
too old to be included in the standard log.

Change-Id: I91633d35b26091bb18523a76ebdba9d286d0cd41

9 years agoMerge "Allow content provider access across users" into lmp-dev
Amith Yamasani [Thu, 17 Jul 2014 01:44:08 +0000 (01:44 +0000)]
Merge "Allow content provider access across users" into lmp-dev

9 years agoDisable logging in NetlinkTracker.
Lorenzo Colitti [Thu, 17 Jul 2014 01:13:27 +0000 (10:13 +0900)]
Disable logging in NetlinkTracker.

This logging can get quite spammy in GoogleGuest, and there's
currently no reason to think it's necessary. Much of the same
information is available via "adb shell ndc monitor".

Bug: 16328180
Change-Id: I15a8348e261d6b69a4ef8bdaf8a2a431b1c2bc0d

9 years agoAllow content provider access across users
Amith Yamasani [Thu, 17 Jul 2014 00:47:40 +0000 (17:47 -0700)]
Allow content provider access across users

If the package has INTERACT_ACROSS_USERS. This had recently
regressed. Bringing back the functionality needed for multiuser
call log syncing.

Bug: 16298776
Change-Id: I4fdc3d676bb8a2bf78f5c27c41a74c0491e343cd

9 years agoMerge "Add accessibility text contrast setting" into lmp-dev
Chris Craik [Thu, 17 Jul 2014 01:26:50 +0000 (01:26 +0000)]
Merge "Add accessibility text contrast setting" into lmp-dev

9 years agoAdd accessibility text contrast setting
Chris Craik [Wed, 16 Jul 2014 22:12:15 +0000 (15:12 -0700)]
Add accessibility text contrast setting

b/14624452

Adds a feature which draws all text (in the HW accelerated standard
path) in a high contrast mode. Text is drawn at full alpha, and either
white or black (depending on its original color) with a starkly
contrasted outline beneath it.

Change-Id: I943f624b6367de35367cced3b2a8298f2bc62377

9 years agoAdd toString & equals helper methods to PhoneAccount.java
Santos Cordon [Mon, 14 Jul 2014 10:32:56 +0000 (03:32 -0700)]
Add toString & equals helper methods to PhoneAccount.java

Bug: 16292368
Change-Id: I5dd2bcd2d65e856107ac2f80958e8b408abcec0b

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 17 Jul 2014 01:20:52 +0000 (01:20 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 17 Jul 2014 01:06:24 +0000 (18:06 -0700)]
Import translations. DO NOT MERGE

Change-Id: I65d3cba5b90678cfde9440628ac7fe5f964d2dc6
Auto-generated-cl: translation import

9 years agoMerge "Make a network the default when it connects if we have no default." into lmp-dev
Robert Greenwalt [Thu, 17 Jul 2014 00:03:06 +0000 (00:03 +0000)]
Merge "Make a network the default when it connects if we have no default." into lmp-dev

9 years agoBug 16152902: Disabling FUL in keyguard and screen lock settings
Brian Colonna [Wed, 16 Jul 2014 17:50:47 +0000 (13:50 -0400)]
Bug 16152902: Disabling FUL in keyguard and screen lock settings

This is the framework change needed to switch from Face Unlock as
a standard unlock mechanism to Face Unlock as a trustlet.  This
forces isBiometricWeakInstalled() to return false such that neither
keyguard nor Screen Lock Settings thinks it exists.  This means FUL
is no longer a screen lock option.

If Face Unlock was already enabled and someone updates to this build,
the screen lock automatically switches to the backup lock.  That
functionality was already built-in so everything would continue to
work if Face Unlock decided to disappear from someone's device.

Change-Id: I407f6e1d75bfe40c7142c2508c2d68867e02d858

9 years agoFix LocalePicker background
Fabrice Di Meglio [Wed, 16 Jul 2014 23:37:51 +0000 (16:37 -0700)]
Fix LocalePicker background

- use the background defined by the Theme

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I30f1146fbcb57088a62c999dce349d1f85510427

9 years agoMake a network the default when it connects if we have no default.
Paul Jensen [Mon, 14 Jul 2014 16:03:33 +0000 (12:03 -0400)]
Make a network the default when it connects if we have no default.

When a network comes online, is a candidate for being the default network
(i.e. satisfies default NetworkRequest), and the device has no default
network, then make the new network the default network for the purposes
of routing network traffic.  This does not affect NetworkRequests or
NetworkCallbacks.  This ignores but does not affect network validation.

Benefits:
1. Offers a fail-safe in case network validation returns a false negative.
   For example:  It would be nice if every Android device didn't fail when
   clients3.google.com/generate_204 went down.
2. Offers a method to debug connectivity issues.
   For example:  If WiFi is failing, disabling Cellular would rule out
   interference from WiFi network validation.
3. Reduces delay between no connectivity and any connectivity.
4. Offers a fail-safe in cases of unreliable networks.
   For example: You need rescuing from a remote location with a weak signal
   offering 90% packet loss.  You just want your distress call to go out
   but are infuriated to find network validation blocks connectivity.

Change-Id: I78621a1fe8ed2a336591f65bf7b07a6cbcc7ba5e

9 years agoMerge "Unhide new MMS API and SMS storage API (1/2)" into lmp-dev
Ye Wen [Wed, 16 Jul 2014 23:30:08 +0000 (23:30 +0000)]
Merge "Unhide new MMS API and SMS storage API (1/2)" into lmp-dev

9 years agoUnhide new MMS API and SMS storage API (1/2)
Ye Wen [Wed, 16 Jul 2014 22:26:26 +0000 (15:26 -0700)]
Unhide new MMS API and SMS storage API (1/2)

b/14095333

Change-Id: Id7aca41ccc7eae13ddfa8c6835fe8b299b1e83a5

9 years agoMerge "QS: Deal with null uuids in BT controller." into lmp-dev
John Spurlock [Thu, 17 Jul 2014 01:20:49 +0000 (01:20 +0000)]
Merge "QS: Deal with null uuids in BT controller." into lmp-dev

9 years agoQS: Deal with null uuids in BT controller.
John Spurlock [Thu, 17 Jul 2014 01:14:50 +0000 (21:14 -0400)]
QS: Deal with null uuids in BT controller.

Fix crash when the device is no longer available.

Bug:16355690
Change-Id: I1cf652a408fa221649950d728bc88dd93fc93b65

9 years agoMerge "Hook up system audio mode" into lmp-dev
Jungshik Jang [Thu, 17 Jul 2014 01:13:13 +0000 (01:13 +0000)]
Merge "Hook up system audio mode" into lmp-dev

9 years agoHook up system audio mode
Jungshik Jang [Tue, 15 Jul 2014 06:49:02 +0000 (15:49 +0900)]
Hook up system audio mode

Whenever system audio mode is changed, it should notify to AudioManager
so that AudioManager changes internal output or mute status accordingly.
To have more clear cut between last setting and current system audio mode,
renamed mSystemAudioMode into mSystemAudioActivated and added
getLastSystemAudioMode() which returns last system audio mode value stored
in global settings (NVM).

Bug: 16002150
Change-Id: I5d01d879c1c5a9a3f4b0cf2d25e9e74c26c52fa0

9 years agoRevisit HDMI-CEC system audio mode in AudioService.
Jungshik Jang [Tue, 15 Jul 2014 10:27:56 +0000 (19:27 +0900)]
Revisit HDMI-CEC system audio mode in AudioService.

From recent feedback on HDMI-CEC system audio mode,
it would be unnecessary to enforce output from AudioService.
Instead, it would follow audio policy according to status
of HDMI-CEC system audio mode.
For that removed two params of setHdmiSystemAudioModeSupported
api of AudioManager.

In terms of speaker mute, it will be handled by removing speaker
from audio ouput instead of changing gain control. For that
added new force usage type, FOR_HDMI_SYSTEM_AUDIO_MODE and
new force config type, FORCE_HDMI_SYSTEM_AUDIO_ENFORCED.
This is used to notify change of system audio mode to
audio policy manager.

Bug: 16305986
Bug: 16002150

Change-Id: I5643ad093a651c951e12b567c6e11b88aa87cea2

9 years agoMerge "Maybe fix issue #16167054: Wakelock is acquired and released in..." into lmp-dev
Dianne Hackborn [Thu, 17 Jul 2014 00:51:53 +0000 (00:51 +0000)]
Merge "Maybe fix issue #16167054: Wakelock is acquired and released in..." into lmp-dev

9 years agoMaybe fix issue #16167054: Wakelock is acquired and released in...
Dianne Hackborn [Tue, 15 Jul 2014 23:39:47 +0000 (16:39 -0700)]
Maybe fix issue #16167054: Wakelock is acquired and released in...

...battery history even though CPU is in suspend

There is a race in the power manager between noting a wake lock
acquire and ensuring the device is staying awake.

Change-Id: I3d76f99d73dca119b09f253f0e31448408c88a3c

9 years agoMerge "Introduce RTT Manager" into lmp-dev
Vinit Deshpande [Thu, 17 Jul 2014 00:46:28 +0000 (00:46 +0000)]
Merge "Introduce RTT Manager" into lmp-dev

9 years agoIntroduce RTT Manager
Vinit Deshpande [Mon, 30 Jun 2014 22:25:01 +0000 (15:25 -0700)]
Introduce RTT Manager

Change-Id: Ic9a16d587897b272f85cdb2b8c52b51bca060d18

9 years agoMerge "Add a new SystemApi, getPrivilegedConfiguredNetworks(). Part 1 [DO NOT MERGE...
Chelsea Derrick [Thu, 17 Jul 2014 00:45:28 +0000 (00:45 +0000)]
Merge "Add a new SystemApi, getPrivilegedConfiguredNetworks(). Part 1 [DO NOT MERGE]" into lmp-dev