OSDN Git Service

android-x86/frameworks-base.git
9 years agoFix assist for hardware long-press
Jorim Jaggi [Mon, 6 Jul 2015 23:18:11 +0000 (16:18 -0700)]
Fix assist for hardware long-press

Activating the assistant will now route through SysUI, so
we have the logic whether to start an activity or to start a voice
interaction session in one single place.

Bug: 22201770
Change-Id: I0f4699533aea2a1e595ee25a844434c82f548c01

9 years agoAlways wait for the main app window before starting a transition
Jorim Jaggi [Wed, 1 Jul 2015 23:02:15 +0000 (16:02 -0700)]
Always wait for the main app window before starting a transition

When waiting for all the windows that belong to an activity, we
skipped the main window, in case it didn't had a surface yet. This
was a problem because with SurfaceViews: They set it's visibility
extremely early in the app visibility change cycle. Then, they use
another thread to draw content. Thus, they have drawn their first
frame pretty fast, where the main thread might still be in the
activity lifecycle phases. Then, we don't even have a surface for the
main window yet, but we start the app transition already because we
think the only interesting window for this app token is the
SurfaceView, which has already drawn.

Bug: 22207948
Change-Id: I708add3aab00575ae1707b25622b9b4614472892

9 years agoMerge "Fixed keyguard affordances" into mnc-dev
Selim Cinek [Tue, 7 Jul 2015 19:19:03 +0000 (19:19 +0000)]
Merge "Fixed keyguard affordances" into mnc-dev

9 years agoMerge "Simplify matrix copy constructor/load" into mnc-dev
Chris Craik [Tue, 7 Jul 2015 19:09:41 +0000 (19:09 +0000)]
Merge "Simplify matrix copy constructor/load" into mnc-dev

9 years agoMerge "Support loading AES keys with authorized digests." into mnc-dev
Alex Klyubin [Tue, 7 Jul 2015 18:54:32 +0000 (18:54 +0000)]
Merge "Support loading AES keys with authorized digests." into mnc-dev

9 years agoam 4357181d: am e44b86b2: docs: Removed READ_EXTERNAL_STORAGE from \'normal\' permissions
Andrew Solovay [Tue, 7 Jul 2015 18:46:05 +0000 (18:46 +0000)]
am 4357181d: am e44b86b2: docs: Removed READ_EXTERNAL_STORAGE from \'normal\' permissions

* commit '4357181d236bf189ea7855755803275160447423':
  docs: Removed READ_EXTERNAL_STORAGE from 'normal' permissions

9 years agoMerge "Don't update DisplayLists when dumping" into mnc-dev
Chris Craik [Tue, 7 Jul 2015 18:42:13 +0000 (18:42 +0000)]
Merge "Don't update DisplayLists when dumping" into mnc-dev

9 years agoam e44b86b2: docs: Removed READ_EXTERNAL_STORAGE from \'normal\' permissions
Andrew Solovay [Tue, 7 Jul 2015 18:29:08 +0000 (18:29 +0000)]
am e44b86b2: docs: Removed READ_EXTERNAL_STORAGE from \'normal\' permissions

* commit 'e44b86b23bc15ccf2016e044bfa5d23c177a1d3b':
  docs: Removed READ_EXTERNAL_STORAGE from 'normal' permissions

9 years agoMerge "wifi: Fix softAP turn-ON issue in statically loaded driver" into mnc-dev
xin He [Tue, 7 Jul 2015 18:13:54 +0000 (18:13 +0000)]
Merge "wifi: Fix softAP turn-ON issue in statically loaded driver" into mnc-dev

9 years agodocs: Removed READ_EXTERNAL_STORAGE from 'normal' permissions
Andrew Solovay [Tue, 7 Jul 2015 17:57:55 +0000 (10:57 -0700)]
docs: Removed READ_EXTERNAL_STORAGE from 'normal' permissions

Per communication from Ben, READ_EXTERNAL_STORAGE was incorrectly
marked as a 'normal' permission in preview 1, and is properly
changed to 'dangerous' for preview 2. Updating the docs accordingly.

See first comment for doc stage location.

Change-Id: I0f824fb9689d2e7323e505b0200fda23eaa71eed

9 years agoDon't update DisplayLists when dumping
Chris Craik [Tue, 7 Jul 2015 17:39:36 +0000 (10:39 -0700)]
Don't update DisplayLists when dumping

bug:22234438

Updating the displaylist is invalid since this debug method isn't
called on the UI thread, and it defeats the purpose of seeing what
the hierarchy is currently rendering.

Change-Id: I10c5cc6dbae8d304559dfc6e863b0ede158d554f

9 years agoSimplify matrix copy constructor/load
Chris Craik [Tue, 7 Jul 2015 16:59:23 +0000 (09:59 -0700)]
Simplify matrix copy constructor/load

bug:22208220

Change-Id: Id096eb8de8da0dd1687d6af9456b16ce2a1a589b

9 years agoRevert "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission"
Ian Pedowitz [Tue, 7 Jul 2015 15:32:44 +0000 (08:32 -0700)]
Revert "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission"

This reverts commit d6b404c72da7e2475508c7d5948494b2e9b1a262.

This CL seems to have broken the build, causing GMSCore to continuously
crash.

Bug: 22313634
Bug: 22312938
Bug: 22314605
Bug: 22308392
Bug: 22307889

9 years agoMerge "Don't dismiss volume during animation" into mnc-dev
Jason Monk [Tue, 7 Jul 2015 14:34:58 +0000 (14:34 +0000)]
Merge "Don't dismiss volume during animation" into mnc-dev

9 years agoMerge "Fix to work statusbar configs as mcc/mnc" into mnc-dev
Jason Monk [Tue, 7 Jul 2015 14:34:45 +0000 (14:34 +0000)]
Merge "Fix to work statusbar configs as mcc/mnc" into mnc-dev

9 years agoMerge "Adjust for pipeline stalls" into mnc-dev
John Reck [Tue, 7 Jul 2015 14:08:47 +0000 (14:08 +0000)]
Merge "Adjust for pipeline stalls" into mnc-dev

9 years agoFix to work statusbar configs as mcc/mnc
Sungmin Choi [Tue, 7 Jul 2015 04:06:59 +0000 (13:06 +0900)]
Fix to work statusbar configs as mcc/mnc

Call handleConfigurationChanged() at the end of
PhoneStatusBar#onConfigurationChanged to update statusbar configs.

BUG: 22215928
Change-Id: I7329d4949a8a47717ea037cf007ef0baa63507bd

9 years agoMerge "Update javadoc on DPM.setGlobalSetting" into mnc-dev
Zoltan Szatmary-Ban [Tue, 7 Jul 2015 10:17:03 +0000 (10:17 +0000)]
Merge "Update javadoc on DPM.setGlobalSetting" into mnc-dev

9 years agoMerge "Add WebView permission MIDI sysex" into mnc-dev
Richard Coles [Tue, 7 Jul 2015 10:15:13 +0000 (10:15 +0000)]
Merge "Add WebView permission MIDI sysex" into mnc-dev

9 years agoMerge "Notify the profile when cloned settings are changed." into mnc-dev
Esteban Talavera [Tue, 7 Jul 2015 09:27:22 +0000 (09:27 +0000)]
Merge "Notify the profile when cloned settings are changed." into mnc-dev

9 years agoMerge "Drag handles persist after lost focus in extracted mode" into mnc-dev
Andrei Stingaceanu [Tue, 7 Jul 2015 09:14:32 +0000 (09:14 +0000)]
Merge "Drag handles persist after lost focus in extracted mode" into mnc-dev

9 years agoMerge "Final resource IDs." into mnc-dev
Ian Pedowitz [Tue, 7 Jul 2015 06:13:12 +0000 (06:13 +0000)]
Merge "Final resource IDs." into mnc-dev

9 years agoMerge "FloatingToolbar: Offset visible rect by the rootview's offset" into mnc-dev
Abodunrinwa Toki [Tue, 7 Jul 2015 03:59:42 +0000 (03:59 +0000)]
Merge "FloatingToolbar: Offset visible rect by the rootview's offset" into mnc-dev

9 years agoMerge "Changed config_wifi_hotspot2_enabled to false." into mnc-dev
Jan Nordqvist [Tue, 7 Jul 2015 01:41:11 +0000 (01:41 +0000)]
Merge "Changed config_wifi_hotspot2_enabled to false." into mnc-dev

9 years agoFixed keyguard affordances
Selim Cinek [Tue, 7 Jul 2015 01:39:28 +0000 (18:39 -0700)]
Fixed keyguard affordances

In certain cases, the keyguard affordances could not be launched
due to a bug. This was because the targetedView was not properly
reset sometimes.

Bug: 22013726
Change-Id: I4525dc5adf07f4d023ef8553d3db0b16c8f754c4

9 years agoMerge "Fixed a bug where redacted notifications had the wrong height" into mnc-dev
Selim Cinek [Tue, 7 Jul 2015 01:37:05 +0000 (01:37 +0000)]
Merge "Fixed a bug where redacted notifications had the wrong height" into mnc-dev

9 years agoMerge "ImageUtils: fix image copy issue" into mnc-dev
Zhijun He [Tue, 7 Jul 2015 01:07:16 +0000 (01:07 +0000)]
Merge "ImageUtils: fix image copy issue" into mnc-dev

9 years agoMerge "BatteryStats: Remove isolated UIDs from /proc/uid_cputime when they are not...
Adam Lesinski [Tue, 7 Jul 2015 00:32:13 +0000 (00:32 +0000)]
Merge "BatteryStats: Remove isolated UIDs from /proc/uid_cputime when they are not in use anymore" into mnc-dev

9 years agoMerge "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission" into...
Billy Lau [Tue, 7 Jul 2015 00:27:23 +0000 (00:27 +0000)]
Merge "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission" into mnc-dev

9 years agoMerge "Remove flag mDataInjectionMode." into mnc-dev
Aravind Akella [Tue, 7 Jul 2015 00:24:03 +0000 (00:24 +0000)]
Merge "Remove flag mDataInjectionMode." into mnc-dev

9 years agoMerge "Adding metrics to overview." into mnc-dev
Winson Chung [Tue, 7 Jul 2015 00:17:55 +0000 (00:17 +0000)]
Merge "Adding metrics to overview." into mnc-dev

9 years agoFixed a bug where redacted notifications had the wrong height
Selim Cinek [Mon, 6 Jul 2015 21:51:36 +0000 (14:51 -0700)]
Fixed a bug where redacted notifications had the wrong height

When redacted notifications were added on the lockscreen,
it's size might have been incorrect sometimes.

Bug: 22235304
Change-Id: I30f665bc8e725cdd40a20051e995b10e77f96918

9 years agoBug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission
Billy Lau [Mon, 6 Jul 2015 23:27:53 +0000 (00:27 +0100)]
Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission

Raised the protection level of WRITE_SETTINGS permission to appop and also
allowed backwards compatibility with pre23 flag.

Introduced new action to manage write system settings as a new API and
renamed the string that describes the managing of overlay permission.

Change-Id: I939a95b9a8b1ae75bf67aa6d8190c92a8d2001d3

9 years agoAdjust for pipeline stalls
John Reck [Mon, 6 Jul 2015 20:49:58 +0000 (13:49 -0700)]
Adjust for pipeline stalls

Bug: 20853441

Calculating duration that crosses the UI-RT
sync point will now subtract out the time spent waiting
in queue under the assumption that this time will be
accounted for in the previous frame's metrics

Change-Id: Ia8213f4410638840613f5ae439e98dfb77532a6a

9 years agoMerge "Ringtone: add support for volume control and looping" into mnc-dev
Jean-Michel Trivi [Mon, 6 Jul 2015 23:07:23 +0000 (23:07 +0000)]
Merge "Ringtone: add support for volume control and looping" into mnc-dev

9 years agoAdding metrics to overview.
Winson Chung [Thu, 25 Jun 2015 23:16:46 +0000 (16:16 -0700)]
Adding metrics to overview.

Bug: 21528167
Change-Id: Ice1ce892682aa4599b9a689b47af373780897548

9 years agoBatteryStats: Remove isolated UIDs from /proc/uid_cputime when they are not in use...
Adam Lesinski [Wed, 1 Jul 2015 22:05:07 +0000 (15:05 -0700)]
BatteryStats: Remove isolated UIDs from /proc/uid_cputime when they are not in use anymore

Bug:22225933
Change-Id: I384a3c37ad45af981cca5fc3e92643da948d48d0

9 years agoMerge "Add easy way to get device idle whitelist." into mnc-dev
Dianne Hackborn [Mon, 6 Jul 2015 22:24:50 +0000 (22:24 +0000)]
Merge "Add easy way to get device idle whitelist." into mnc-dev

9 years agoAdd easy way to get device idle whitelist.
Dianne Hackborn [Mon, 6 Jul 2015 22:13:37 +0000 (15:13 -0700)]
Add easy way to get device idle whitelist.

Change-Id: I28b0df69e7fb16b5d7542b1eae626bbfdd9a4c1c

9 years agoMerge "Don't prevent windows from drawing when they are just moving" into mnc-dev
Jorim Jaggi [Mon, 6 Jul 2015 22:07:32 +0000 (22:07 +0000)]
Merge "Don't prevent windows from drawing when they are just moving" into mnc-dev

9 years agoRemove flag mDataInjectionMode.
Aravind Akella [Mon, 6 Jul 2015 21:56:10 +0000 (14:56 -0700)]
Remove flag mDataInjectionMode.

Change-Id: Ia7cbe8942168ac57abbb92c1a1ed51c568be94fe

9 years agoMerge "Avoid IllegalStateException when generating/importing keys." into mnc-dev
Alex Klyubin [Mon, 6 Jul 2015 21:50:42 +0000 (21:50 +0000)]
Merge "Avoid IllegalStateException when generating/importing keys." into mnc-dev

9 years agoam 076d4f40: am 7bd9b634: Merge "docs: Updated M Preview API Overview and Behavior...
David Friedman [Mon, 6 Jul 2015 21:41:05 +0000 (21:41 +0000)]
am 076d4f40: am 7bd9b634: Merge "docs: Updated M Preview API Overview and Behavior Changes for Preview 2 release." into mnc-preview-docs

* commit '076d4f40d849d1d1e628fa6b210e690020d04956':
  docs: Updated M Preview API Overview and Behavior Changes for Preview 2 release.

9 years agoMerge "Unhide signal strength constants used by getLevel." into mnc-dev
Casey Ho [Mon, 6 Jul 2015 21:39:21 +0000 (21:39 +0000)]
Merge "Unhide signal strength constants used by getLevel." into mnc-dev

9 years agoam 7bd9b634: Merge "docs: Updated M Preview API Overview and Behavior Changes for...
David Friedman [Mon, 6 Jul 2015 21:27:05 +0000 (21:27 +0000)]
am 7bd9b634: Merge "docs: Updated M Preview API Overview and Behavior Changes for Preview 2 release." into mnc-preview-docs

* commit '7bd9b634c42b500466cf416566d27da229d6ca1c':
  docs: Updated M Preview API Overview and Behavior Changes for Preview 2 release.

9 years agoMerge "docs: Updated M Preview API Overview and Behavior Changes for Preview 2 releas...
David Friedman [Mon, 6 Jul 2015 21:15:05 +0000 (21:15 +0000)]
Merge "docs: Updated M Preview API Overview and Behavior Changes for Preview 2 release." into mnc-preview-docs

9 years agoam 77b6971b: am c66c7622: Docs: Clarification of language and typo fix for work merge...
David Friedman [Mon, 6 Jul 2015 21:13:19 +0000 (21:13 +0000)]
am 77b6971b: am c66c7622: Docs: Clarification of language and typo fix for work merged from CL 716303.

* commit '77b6971b4699bd94c9a4b044108f264f1ddfe31f':
  Docs: Clarification of language and typo fix for work merged from CL 716303.

9 years agoDon't prevent windows from drawing when they are just moving
Jorim Jaggi [Thu, 2 Jul 2015 00:16:27 +0000 (17:16 -0700)]
Don't prevent windows from drawing when they are just moving

Bug: 21292010
Change-Id: I0cf459d75e9749afa58a4b8649457b3908c8adeb

9 years agoSupport loading AES keys with authorized digests.
Alex Klyubin [Mon, 6 Jul 2015 21:09:01 +0000 (14:09 -0700)]
Support loading AES keys with authorized digests.

Due to a bug, Android Keystore failed to load AES keys authorized for
use with one or more digests. This CL fixes this bug.

Bug: 22300737
Change-Id: Ia49e27833dddb526565e4dc4977ed1e352e5836b

9 years agoam c66c7622: Docs: Clarification of language and typo fix for work merged from CL...
David Friedman [Mon, 6 Jul 2015 20:56:51 +0000 (20:56 +0000)]
am c66c7622: Docs: Clarification of language and typo fix for work merged from CL 716303.

* commit 'c66c7622eadb04c1ca258725ae7125626824c324':
  Docs: Clarification of language and typo fix for work merged from CL 716303.

9 years agoImageUtils: fix image copy issue
Zhijun He [Sat, 4 Jul 2015 17:47:58 +0000 (10:47 -0700)]
ImageUtils: fix image copy issue

Source and destination images may have different alignment requirements,
therefore may have different strides. Copy row by row for such case.

Bug: 21934891
Change-Id: Id53f45f1429d233032fa608f7ab9e2774e88c13b

9 years agoMerge "Clearer message when failing to draw a SW layer" into mnc-dev
Chris Craik [Mon, 6 Jul 2015 20:29:54 +0000 (20:29 +0000)]
Merge "Clearer message when failing to draw a SW layer" into mnc-dev

9 years agoam 5977c487: am 07661e3b: Merge "docs: M Preview 2 - release notes" into mnc-preview...
David Friedman [Mon, 6 Jul 2015 20:09:11 +0000 (20:09 +0000)]
am 5977c487: am 07661e3b: Merge "docs: M Preview 2 - release notes" into mnc-preview-docs

* commit '5977c4879b166eb1b5c0d6a7a361dde515e1d502':
  docs: M Preview 2 - release notes

9 years agoDocs: Clarification of language and typo fix for work merged from CL 716303.
David Friedman [Mon, 6 Jul 2015 20:04:16 +0000 (13:04 -0700)]
Docs: Clarification of language and typo fix for work merged from CL 716303.

Change-Id: I04f062696926b00ccfbd45fef368061dd968efbb

9 years agoDon't dismiss volume during animation
Jason Monk [Mon, 6 Jul 2015 19:53:59 +0000 (15:53 -0400)]
Don't dismiss volume during animation

(sometimes this messes up the state and results in it getting
stuck on the screen)

Bug: 22169656
Change-Id: I7738be8f7f54fc72d68bf9831baed2821f362bb1

9 years agoam 07661e3b: Merge "docs: M Preview 2 - release notes" into mnc-preview-docs
David Friedman [Mon, 6 Jul 2015 19:53:11 +0000 (19:53 +0000)]
am 07661e3b: Merge "docs: M Preview 2 - release notes" into mnc-preview-docs

* commit '07661e3b73cee9720d79d0d09f7a60104ce4cabc':
  docs: M Preview 2 - release notes

9 years agoMerge "docs: M Preview 2 - release notes" into mnc-preview-docs
David Friedman [Mon, 6 Jul 2015 19:38:07 +0000 (19:38 +0000)]
Merge "docs: M Preview 2 - release notes" into mnc-preview-docs

9 years agoMerge "Only allow fingerprint auth for the current user" into mnc-dev
Jim Miller [Mon, 6 Jul 2015 19:18:03 +0000 (19:18 +0000)]
Merge "Only allow fingerprint auth for the current user" into mnc-dev

9 years agoam e7fb3318: am b50a279f: Merge "Docs: Localized pages for Distribution on DAC. Bug...
David Friedman [Mon, 6 Jul 2015 18:43:37 +0000 (18:43 +0000)]
am e7fb3318: am b50a279f: Merge "Docs: Localized pages for Distribution on DAC. Bug: 20503707" into mnc-preview-docs

* commit 'e7fb33180d689bbdddae03ab0afe730e4d312f45':
  Docs: Localized pages for Distribution on DAC. Bug: 20503707

9 years agoam b9e4e0d0: am afea7a99: docs: Updating permissions preview for Preview 2.
Andrew Solovay [Mon, 6 Jul 2015 18:43:31 +0000 (18:43 +0000)]
am b9e4e0d0: am afea7a99: docs: Updating permissions preview for Preview 2.

* commit 'b9e4e0d0f13ba40e95590f42c351af9b1dba0c5b':
  docs: Updating permissions preview for Preview 2.

9 years agoFinal resource IDs.
Dianne Hackborn [Fri, 26 Jun 2015 21:57:44 +0000 (14:57 -0700)]
Final resource IDs.

Change-Id: I6200a013375f1b3e196b6426a6c925f4e9dfe4b1

9 years agoOnly allow fingerprint auth for the current user
Jim Miller [Tue, 16 Jun 2015 22:05:48 +0000 (15:05 -0700)]
Only allow fingerprint auth for the current user

This prevents fingerprint access from activities
for a user that isn't the current user.

Fixes bug 20223481

Change-Id: I360f90972fe63f5066f701a3efda355a7cb11338

9 years agoam b50a279f: Merge "Docs: Localized pages for Distribution on DAC. Bug: 20503707...
David Friedman [Mon, 6 Jul 2015 18:29:11 +0000 (18:29 +0000)]
am b50a279f: Merge "Docs: Localized pages for Distribution on DAC. Bug: 20503707" into mnc-preview-docs

* commit 'b50a279fb68aace181787780187c9d3485c84f50':
  Docs: Localized pages for Distribution on DAC. Bug: 20503707

9 years agoam afea7a99: docs: Updating permissions preview for Preview 2.
Andrew Solovay [Mon, 6 Jul 2015 18:29:06 +0000 (18:29 +0000)]
am afea7a99: docs: Updating permissions preview for Preview 2.

* commit 'afea7a9982de194893cf1a789bc2625d192727c4':
  docs: Updating permissions preview for Preview 2.

9 years agoAvoid IllegalStateException when generating/importing keys.
Alex Klyubin [Mon, 6 Jul 2015 17:31:07 +0000 (10:31 -0700)]
Avoid IllegalStateException when generating/importing keys.

This avoids IllegalStateException when generating/importing keys which
require user authentication when the system is not configured to
generate/import such keys (e.g., secure lock screen not set up).

The documentation states that before generating/importing such keys
apps should check (using public API) whether the system is in a
suitable state. However, some apps are not doing that and instead
catching the IllegalStateException thrown during key
generation/import. This is a bad practice because this exception is an
undocumented implementation detail and should thus not be depended
upon.

This CL addresses this issue as follows:
1. Key(Pair)Generator.init now throws a checked
   InvalidAlgorithmParameterException when the system is in a wrong
   state. Because in most uses of Key(Pair)Generator .init is
   immediately followed by .generate, this prevents .generate from
   encountering this state and does so using a checked exception
   which is part of public API.
2. Key import rethrows the IllegalStateException as a checked
   KeyStoreException which is meant to be thrown if the key cannot be
   imported for any reason. Key(Pair)Generator.generate unfortunately
   cannot throw any checked exceptions and thus has to continue
   throwing unchecked exceptions.

Bug: 22262809
Change-Id: Ic0f7b7a90e0ba63df9139c79b80a8649d2645d2a

9 years agoMerge "Docs: Localized pages for Distribution on DAC. Bug: 20503707" into mnc-preview...
David Friedman [Mon, 6 Jul 2015 18:20:37 +0000 (18:20 +0000)]
Merge "Docs: Localized pages for Distribution on DAC. Bug: 20503707" into mnc-preview-docs

9 years agodocs: Updating permissions preview for Preview 2.
Andrew Solovay [Mon, 22 Jun 2015 23:27:36 +0000 (16:27 -0700)]
docs: Updating permissions preview for Preview 2.

Currently just contains doc additions/clarifications that apply to
both Preview 1 and Preview 2, and also the addition of the new
'storage' bucket and the new shouldShowRequestPermissionRationale()
method.

See first comment for doc stage location.

Change-Id: I0b97741c45e117c5de3fa1a85c9ba0d5e927fa8f

9 years agoMerge "Fix problems with StaticLayout indentation" into mnc-dev
Raph Levien [Mon, 6 Jul 2015 18:08:39 +0000 (18:08 +0000)]
Merge "Fix problems with StaticLayout indentation" into mnc-dev

9 years agoMerge "BatteryStats: Fix issue with method parameter order..." into mnc-dev
Adam Lesinski [Mon, 6 Jul 2015 18:00:24 +0000 (18:00 +0000)]
Merge "BatteryStats: Fix issue with method parameter order..." into mnc-dev

9 years agoMerge "Permission to view shared storage for all users." into mnc-dev
Jeff Sharkey [Mon, 6 Jul 2015 17:58:57 +0000 (17:58 +0000)]
Merge "Permission to view shared storage for all users." into mnc-dev

9 years agoMerge "Fix DocumentsUI animation regression." into mnc-dev
Jeff Sharkey [Mon, 6 Jul 2015 17:57:50 +0000 (17:57 +0000)]
Merge "Fix DocumentsUI animation regression." into mnc-dev

9 years agoMerge "Handle missing migration source volume." into mnc-dev
Jeff Sharkey [Mon, 6 Jul 2015 17:57:48 +0000 (17:57 +0000)]
Merge "Handle missing migration source volume." into mnc-dev

9 years agoMerge "Reconcile private volumes when mounted." into mnc-dev
Jeff Sharkey [Mon, 6 Jul 2015 17:57:44 +0000 (17:57 +0000)]
Merge "Reconcile private volumes when mounted." into mnc-dev

9 years agoPermission to view shared storage for all users.
Jeff Sharkey [Mon, 6 Jul 2015 16:45:55 +0000 (09:45 -0700)]
Permission to view shared storage for all users.

Typical apps are restricted so they can only view shared storage
belonging to the user they're running as.  However, a handful of
system components need access to shared storage across all users,
such as DefaultContainerService and SystemUI.

Since WRITE_MEDIA_STORAGE already offers this functionality by
bypassing any FUSE emulation, reuse it to grant the "sdcard_rw" GID
which is no longer handed out to third-party apps.  Then we change
the FUSE daemon to allow the "sdcard_rw" GID to see shared storage
of all users.

Bug: 19995822
Change-Id: I504c2a179ba74f142ed0d32da5baa69f4212cd82

9 years agoMerge "Camera2: Remove FREEFORM cropping requirement from FULL" into mnc-dev
Eino-Ville Talvala [Mon, 6 Jul 2015 17:51:42 +0000 (17:51 +0000)]
Merge "Camera2: Remove FREEFORM cropping requirement from FULL" into mnc-dev

9 years agoMerge "Maybe fix issue #22283836 -- package manager NPE." into mnc-dev
Dianne Hackborn [Mon, 6 Jul 2015 17:50:26 +0000 (17:50 +0000)]
Merge "Maybe fix issue #22283836 -- package manager NPE." into mnc-dev

9 years agoDocs: Localized pages for Distribution on DAC.
David Friedman [Tue, 30 Jun 2015 19:02:41 +0000 (12:02 -0700)]
Docs: Localized pages for Distribution on DAC.
Bug: 20503707

Change-Id: I7e45012b34d57bad426d930399eb1afbf3f5f859

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 6 Jul 2015 17:33:57 +0000 (17:33 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 6 Jul 2015 17:29:06 +0000 (10:29 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Fix Fade out during Activity Transition." into mnc-dev
George Mount [Mon, 6 Jul 2015 17:25:44 +0000 (17:25 +0000)]
Merge "Fix Fade out during Activity Transition." into mnc-dev

9 years agoFix Fade out during Activity Transition.
George Mount [Tue, 30 Jun 2015 23:54:00 +0000 (16:54 -0700)]
Fix Fade out during Activity Transition.

Bug 22181705

The Fade Transition sets the transitionAlpha in onTransitionEnd.
I previously changed Visibility to only do it in onAnimationEnd,
so the onTransitionEnd overrides the Visibility's version. This
fixes that change.

Change-Id: I7df478897b6fcfec20999965e297925b65a1448b

9 years agoMerge "Fix wifi crash" into mnc-dev
Jason Monk [Mon, 6 Jul 2015 17:19:17 +0000 (17:19 +0000)]
Merge "Fix wifi crash" into mnc-dev

9 years agoBatteryStats: Fix issue with method parameter order...
Adam Lesinski [Mon, 6 Jul 2015 17:17:24 +0000 (10:17 -0700)]
BatteryStats: Fix issue with method parameter order...

Argh, this explains some weird instances of negative power
given to Wakelock usage. Realtime and uptime were switched in the
parameter list, and since they're both longs, compiler was happy.

Bug:22295225
Change-Id: I6759504f2690baf66af567d8b1a6d0478bc22228

9 years agoMerge "If user ejects a storage from details, take user to... ... the storage list...
Makoto Onuki [Mon, 6 Jul 2015 17:13:27 +0000 (17:13 +0000)]
Merge "If user ejects a storage from details, take user to... ... the storage list view" into mnc-dev

9 years agoMerge "Minor doc fixes for VoiceInteractor." into mnc-dev
Barnaby James [Mon, 6 Jul 2015 17:08:13 +0000 (17:08 +0000)]
Merge "Minor doc fixes for VoiceInteractor." into mnc-dev

9 years agoRingtone: add support for volume control and looping
Jean-Michel Trivi [Tue, 30 Jun 2015 19:34:48 +0000 (12:34 -0700)]
Ringtone: add support for volume control and looping

Bug 22182606

Change-Id: Ied910b9fe02a5da9c4822a107ee884677c8b4991

9 years agoFix wifi crash
Jason Monk [Mon, 6 Jul 2015 16:55:48 +0000 (12:55 -0400)]
Fix wifi crash

Handle clearing state for resume on the same worker thread as everything
else, this way there can't be concurrent modification.

Bug: 22040227
Change-Id: I9ac78a19fc126c8103f3218e657ca93911d3890d

9 years agoMaybe fix issue #22283836 -- package manager NPE.
Dianne Hackborn [Mon, 6 Jul 2015 16:52:59 +0000 (09:52 -0700)]
Maybe fix issue #22283836 -- package manager NPE.

Change-Id: I0383b9a4f1e0b872b3b427e6ad42fd8aa309b7ab

9 years agoFix a typo causing NPE in restricted profiles
Amith Yamasani [Mon, 6 Jul 2015 16:24:08 +0000 (09:24 -0700)]
Fix a typo causing NPE in restricted profiles

Bug: 22287398
Change-Id: Iec19d890c7b0b7ffed3381dc3f5a9b3e761362a7

9 years agoMerge "Clean up Hyphenator file reading" into mnc-dev
Raph Levien [Mon, 6 Jul 2015 16:07:35 +0000 (16:07 +0000)]
Merge "Clean up Hyphenator file reading" into mnc-dev

9 years agoClean up Hyphenator file reading
Raph Levien [Mon, 6 Jul 2015 16:01:36 +0000 (09:01 -0700)]
Clean up Hyphenator file reading

The old code made invalid assumptions about read() behavior and
failed to clean up properly in case of error. This patch changes the
file reading to use IoUtils.readFileAsString, which handles that.

Bug: 21020457
Change-Id: If9b54955c20a20a4ed5e8381d0c7e9c920d0639a

9 years agoMerge "Show basic feature warning for default granted permissions" into mnc-dev
Svet Ganov [Mon, 6 Jul 2015 15:51:57 +0000 (15:51 +0000)]
Merge "Show basic feature warning for default granted permissions" into mnc-dev

9 years agoMerge "Improve request permission docs" into mnc-dev
Svet Ganov [Mon, 6 Jul 2015 15:48:44 +0000 (15:48 +0000)]
Merge "Improve request permission docs" into mnc-dev

9 years agoMerge "Fix docs for ViewAnimationUtils.createCircularReveal" into mnc-dev
George Mount [Mon, 6 Jul 2015 14:39:39 +0000 (14:39 +0000)]
Merge "Fix docs for ViewAnimationUtils.createCircularReveal" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 6 Jul 2015 13:58:49 +0000 (13:58 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 6 Jul 2015 13:56:00 +0000 (08:56 -0500)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 6 Jul 2015 13:51:48 +0000 (13:51 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 6 Jul 2015 13:50:33 +0000 (08:50 -0500)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 6 Jul 2015 13:48:34 +0000 (13:48 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 6 Jul 2015 13:47:43 +0000 (08:47 -0500)]
Import translations. DO NOT MERGE

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