OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "App linking: permit overlapping link handling" into mnc-dev
Christopher Tate [Tue, 7 Jul 2015 23:35:48 +0000 (23:35 +0000)]
Merge "App linking: permit overlapping link handling" into mnc-dev

9 years agoMerge "Use custom theme for keyguard presentation" into mnc-dev
Jim Miller [Tue, 7 Jul 2015 23:33:20 +0000 (23:33 +0000)]
Merge "Use custom theme for keyguard presentation" into mnc-dev

9 years agoMerge "Remember focused child during layout when adapter has stable IDs" into mnc-dev
Alan Viverette [Tue, 7 Jul 2015 23:26:34 +0000 (23:26 +0000)]
Merge "Remember focused child during layout when adapter has stable IDs" into mnc-dev

9 years agoMerge "Fix bug that prevented waking from dream" into mnc-dev
Adrian Roos [Tue, 7 Jul 2015 23:22:20 +0000 (23:22 +0000)]
Merge "Fix bug that prevented waking from dream" into mnc-dev

9 years agoMerge "Use 'dp' paddings instead of 'mm' for VPN dialogs" into mnc-dev
Robin Lee [Tue, 7 Jul 2015 23:07:30 +0000 (23:07 +0000)]
Merge "Use 'dp' paddings instead of 'mm' for VPN dialogs" into mnc-dev

9 years agoUse custom theme for keyguard presentation
Jim Miller [Tue, 7 Jul 2015 01:17:34 +0000 (18:17 -0700)]
Use custom theme for keyguard presentation

The default Material theme for presentations on external displays
has a white background.  This changes keyguard to use a custom theme
since we want white lettering on black.

Fixes bug 22305037

Change-Id: Idc6aca2398be34c4603446983e5d276abcace001

9 years agoMerge "SystemUI/Keyguard: try authenticate finger after authentication failure" into...
Jim Miller [Tue, 7 Jul 2015 22:39:02 +0000 (22:39 +0000)]
Merge "SystemUI/Keyguard: try authenticate finger after authentication failure" into mnc-dev

9 years agoSystemUI/Keyguard: try authenticate finger after authentication failure
Jim Miller [Tue, 7 Jul 2015 04:07:47 +0000 (13:07 +0900)]
SystemUI/Keyguard: try authenticate finger after authentication failure

When first authentication is failed, keyguard does not try authenticate again.
This modification makes to try again authentication
when it receives callback of authentication failure.

Bug: 22131472
Change-Id: I5bdfc8b120595bf3252ad6e7353ace7ff7fbbae0

9 years agoMerge "Set default SMS application to Messenger" into mnc-dev
Ian Pedowitz [Tue, 7 Jul 2015 22:20:28 +0000 (22:20 +0000)]
Merge "Set default SMS application to Messenger" into mnc-dev

9 years agoam c9c15793: am 8b9d55e4: docs: Removed extraneous "system components" info
Andrew Solovay [Tue, 7 Jul 2015 22:19:18 +0000 (22:19 +0000)]
am c9c15793: am 8b9d55e4: docs: Removed extraneous "system components" info

* commit 'c9c157937b3424a3a5d9eaf0c786706192943b3f':
  docs: Removed extraneous "system components" info

9 years agoMerge "Camera2: implement Key.toString()" into mnc-dev
Chien-Yu Chen [Tue, 7 Jul 2015 22:16:47 +0000 (22:16 +0000)]
Merge "Camera2: implement Key.toString()" into mnc-dev

9 years agoMerge "Fixed a bug where notification where invisible on the lockscreen" into mnc-dev
Selim Cinek [Tue, 7 Jul 2015 22:16:30 +0000 (22:16 +0000)]
Merge "Fixed a bug where notification where invisible on the lockscreen" into mnc-dev

9 years agoMerge "ImageWriter: Exception when Surface is abandoned" into mnc-dev
Chien-Yu Chen [Tue, 7 Jul 2015 22:16:08 +0000 (22:16 +0000)]
Merge "ImageWriter: Exception when Surface is abandoned" into mnc-dev

9 years agoMerge "MediaSessionManager: make the binder implementation static" into mnc-dev
Dongwon Kang [Tue, 7 Jul 2015 22:10:22 +0000 (22:10 +0000)]
Merge "MediaSessionManager: make the binder implementation static" into mnc-dev

9 years agoam 8b9d55e4: docs: Removed extraneous "system components" info
Andrew Solovay [Tue, 7 Jul 2015 22:09:12 +0000 (22:09 +0000)]
am 8b9d55e4: docs: Removed extraneous "system components" info

* commit '8b9d55e47daad329e0eb174e38080aedf197db0d':
  docs: Removed extraneous "system components" info

9 years agoFix bug that prevented waking from dream
Adrian Roos [Tue, 7 Jul 2015 21:55:50 +0000 (14:55 -0700)]
Fix bug that prevented waking from dream

If a device was securely locked, FLAG_TURN_SCREEN_ON failed to
wake the device from dreaming even if FLAG_SHOW_WHEN_LOCKED
was set. The fix allows SHOW_WHEN_LOCKED activities that are about
to turn the screen on to show even if they're not currently the top
most window with SHOW_WHEN_LOCKED set (which in this case would always
be the dream)

Bug: 21719374
Change-Id: I8d7bce05d95ed9de50b5a52b0973562b070aca5a

9 years agoMerge "Sort and limit ChooserActivity targets from ChooserTargetServices" into mnc-dev
Adam Powell [Tue, 7 Jul 2015 21:55:43 +0000 (21:55 +0000)]
Merge "Sort and limit ChooserActivity targets from ChooserTargetServices" into mnc-dev

9 years agoFixed a bug where notification where invisible on the lockscreen
Selim Cinek [Tue, 7 Jul 2015 21:54:10 +0000 (14:54 -0700)]
Fixed a bug where notification where invisible on the lockscreen

Bug: 22328974
Change-Id: I4e7b813c400b85b71b61cb415f529872c75fcca6

9 years agoMerge "Camera: Add ZERO_SHUTTER_LAG modes to noise reduction and edge enhancement...
Eino-Ville Talvala [Tue, 7 Jul 2015 21:36:45 +0000 (21:36 +0000)]
Merge "Camera: Add ZERO_SHUTTER_LAG modes to noise reduction and edge enhancement" into mnc-dev

9 years agodocs: Removed extraneous "system components" info
Andrew Solovay [Tue, 7 Jul 2015 20:28:07 +0000 (13:28 -0700)]
docs: Removed extraneous "system components" info

The "system components" section contained some info left over from
Preview 1's "system apps" section. Per clarification from Ben, I've
removed it.

Also added link to Ben's I/O video.

See first comment for doc stage location.

Change-Id: I1efb11ffe69880893209a64b282f2616fe7d9f22

9 years agoMerge "Report specific exception type on decrypt with invalid session" into mnc-dev
Jeff Tinker [Tue, 7 Jul 2015 21:19:08 +0000 (21:19 +0000)]
Merge "Report specific exception type on decrypt with invalid session" into mnc-dev

9 years agoMerge "Never fully detach header or footer views in AbsListView" into mnc-dev
Alan Viverette [Tue, 7 Jul 2015 21:08:25 +0000 (21:08 +0000)]
Merge "Never fully detach header or footer views in AbsListView" into mnc-dev

9 years agoApp linking: permit overlapping link handling
Christopher Tate [Wed, 1 Jul 2015 23:50:43 +0000 (16:50 -0700)]
App linking: permit overlapping link handling

Allow multiple apps to be enabled as link handlers even their set of
accepted domains overlaps.  Also, allow app linking to be turned on
even for unverified apps if the user wishes.

Bug 21817604

Change-Id: I8bc7f1764318e5d4bb6ce93c66483fe07e922b1d

9 years agoMerge "Cleaned-up logic for determining clip rect for transitions animations." into...
Wale Ogunwale [Tue, 7 Jul 2015 21:00:41 +0000 (21:00 +0000)]
Merge "Cleaned-up logic for determining clip rect for transitions animations." into mnc-dev

9 years agoMerge "Split app move into separate copy/delete steps." into mnc-dev
Jeff Sharkey [Tue, 7 Jul 2015 20:46:32 +0000 (20:46 +0000)]
Merge "Split app move into separate copy/delete steps." into mnc-dev

9 years agoCamera: Add ZERO_SHUTTER_LAG modes to noise reduction and edge enhancement
Eino-Ville Talvala [Tue, 7 Jul 2015 17:43:07 +0000 (10:43 -0700)]
Camera: Add ZERO_SHUTTER_LAG modes to noise reduction and edge enhancement

This mode splits processing quality based on stream resolution, to
enable ZSL operation where low-resolution (preview/recording) streams
require more processing since they are immediately user-visible, while
the high-resolution intermediate ZSL stream should have minimal/no
processing since it will be reprocessed into final quality when
necessary

Bug: 22266686

Change-Id: Ib41102b66b07d61a099f021f8c6251f28c62686f

9 years agoSplit app move into separate copy/delete steps.
Jeff Sharkey [Tue, 7 Jul 2015 20:32:09 +0000 (13:32 -0700)]
Split app move into separate copy/delete steps.

App movement now has three distinct stages: copying, scanning, and
cleanup.  Previously, a battery pull late in the move process would
end up with packages.xml pointing at the old location which had been
torn down.  Now, we update packages.xml to point at the new location
as the "source of truth" before we start deleting the old location.

Bug: 21831336
Change-Id: I6f57f37a8cb335127db9ebb7c6b6cfe5755ada99

9 years agoMerge "Give fixed READ_PHONE_STATE permission to calllog provider" into mnc-dev
Makoto Onuki [Tue, 7 Jul 2015 20:23:21 +0000 (20:23 +0000)]
Merge "Give fixed READ_PHONE_STATE permission to calllog provider" into mnc-dev

9 years agoMerge "Revert "Use AlertDialog for MediaRouteControllerDialog"" into mnc-dev
Dongwon Kang [Tue, 7 Jul 2015 20:22:39 +0000 (20:22 +0000)]
Merge "Revert "Use AlertDialog for MediaRouteControllerDialog"" into mnc-dev

9 years agoMerge "UsbDeviceManager: Add back support for persistent property" into mnc-dev
Vineeta Srivastava [Tue, 7 Jul 2015 20:13:44 +0000 (20:13 +0000)]
Merge "UsbDeviceManager: Add back support for persistent property" into mnc-dev

9 years agoMerge "Clean up obsolete pending timeout after restoring package metadata" into mnc-dev
Christopher Tate [Tue, 7 Jul 2015 19:54:19 +0000 (19:54 +0000)]
Merge "Clean up obsolete pending timeout after restoring package metadata" into mnc-dev

9 years agoMerge "Clean up get sensorList." into mnc-dev
Aravind Akella [Tue, 7 Jul 2015 19:53:45 +0000 (19:53 +0000)]
Merge "Clean up get sensorList." into mnc-dev

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 agoCamera2: implement Key.toString()
Chien-Yu Chen [Tue, 7 Jul 2015 19:17:22 +0000 (12:17 -0700)]
Camera2: implement Key.toString()

Implement toString() for CameraCharacteristics.Key,
CaptureResult.Key, and CaptureRequest.Key.

Bug: 22279124
Change-Id: Ib1076e3f6d7bcbffbb148a7a01f72133daccebb8

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 agoUsbDeviceManager: Add back support for persistent property
Ajay Dudani [Mon, 22 Jun 2015 22:46:41 +0000 (15:46 -0700)]
UsbDeviceManager: Add back support for persistent property

Take into account the value of persist.sys.usb.config when updating
sys.usb.config. The persistent prop can hold information regarding
additional enumerations required for the device.

Bug: 21929369
Change-Id: Ic11ebf62ce114f2d0a097ad4405de71173b23139

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 agoMediaSessionManager: make the binder implementation static
Dongwon Kang [Tue, 7 Jul 2015 18:04:32 +0000 (11:04 -0700)]
MediaSessionManager: make the binder implementation static

Removing references to application resources on unregistering so that they
can be GCed as ealry as possible.

Bug: https://code.google.com/p/android/issues/detail?id=161398
Change-Id: Icc083f4a58bb5e738aa662247dc83d021a9dc5c3

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 agoNever fully detach header or footer views in AbsListView
Alan Viverette [Tue, 7 Jul 2015 18:04:32 +0000 (11:04 -0700)]
Never fully detach header or footer views in AbsListView

AbsListView has special handling of header and footer views that avoids
full attachment; however, we still need to fully detach and reattach
non-header/footer views that cannot be recycled.

Bug: 22239425
Bug: 22238597
Bug: 22214485
Change-Id: Iae5f954fc76522c0a52d0c25e19985ae0196efa2

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 agoClean up obsolete pending timeout after restoring package metadata
Christopher Tate [Tue, 7 Jul 2015 17:46:10 +0000 (10:46 -0700)]
Clean up obsolete pending timeout after restoring package metadata

Bug 22040047

Change-Id: I460dbcc50a45d794392beb9ff4a4358c05c87e07

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 agoUse 'dp' paddings instead of 'mm' for VPN dialogs
Robin Lee [Tue, 7 Jul 2015 16:22:15 +0000 (09:22 -0700)]
Use 'dp' paddings instead of 'mm' for VPN dialogs

The values had gradually shifted away from what they need to be to
line up with other UI elements (ie. title bar)

Bug: 22314161
Change-Id: I03fd15632db02b723348e42066f9e45158eae148

9 years agoCleaned-up logic for determining clip rect for transitions animations.
Wale Ogunwale [Wed, 1 Jul 2015 22:07:36 +0000 (15:07 -0700)]
Cleaned-up logic for determining clip rect for transitions animations.

Previous logic led to several edge cases which fixes sometimes broke
other edge cases. New logic uses the clip rect provided by the
transformation as-is and doesn't try to adjust it based on window
flags. Correct clip rect is set in
WindowManagerService#applyAnimationLock using the content insets
before the animation is loaded.

Bug: 21727851
Bug: 20652683
Bug: 19523205
Bug: 15046646
https://code.google.com/p/android/issues/detail?id=161362
Change-Id: I2d4ed6196edb8ee8c401fe9a242aec70d3494574

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 agoRevert "Use AlertDialog for MediaRouteControllerDialog"
Dongwon Kang [Tue, 7 Jul 2015 02:54:02 +0000 (19:54 -0700)]
Revert "Use AlertDialog for MediaRouteControllerDialog"

This reverts commit 001d51496d062789355a91ce9365cd0cfeac6925.

Background: To just inherit AlertDialog, the content view should include
a title as we do in support library (AlertDialog uses NO_TITLE feature),
but up-streaming support library implementation to the framework at this
point might cause more issues. Verified that the narrow dialog issue
(b/22044600) does not happen in the framework implementation regardless of
whether it uses AlertDialog or not.

Bug: 22286869
Change-Id: Ic2554cc9e683beff29d1deee91945c1dace83ab1

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 agoSort and limit ChooserActivity targets from ChooserTargetServices
Adam Powell [Mon, 6 Jul 2015 23:57:56 +0000 (16:57 -0700)]
Sort and limit ChooserActivity targets from ChooserTargetServices

Apply an automated decay factor if apps decide to claim all of their
targets are SUPER IMPORTANT. Apply the multiplier from the apps
themselves as well as a penalty for apps that come in late - let's see
how fast developers get their ChooserTargetServices to start!

Also fix a bug with ResolverDrawerLayout where dragging from the title
area wouldn't always work properly.

Bug 22302285

Change-Id: Ib6eb2b6fb92608790b2267c0f671c9ae59b2907e

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 agoImageWriter: Exception when Surface is abandoned
Chien-Yu Chen [Tue, 7 Jul 2015 00:46:05 +0000 (17:46 -0700)]
ImageWriter: Exception when Surface is abandoned

Throw IllegalStateException when queueing or dequeueing an
image if the input surface is already abandoned by the consumer.

Also fix a crash when planes are not initialized when closing
ImageWriter.

Bug: 22279111
Change-Id: I8301920d64a53c45b29e947e52ff323733abbf16

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 agoGive fixed READ_PHONE_STATE permission to calllog provider
Makoto Onuki [Mon, 6 Jul 2015 23:59:36 +0000 (16:59 -0700)]
Give fixed READ_PHONE_STATE permission to calllog provider

Calllog provider lives in the same APK as contacts provider.

Bug 22300894
Bug 22297735

Change-Id: I77f3ee18f093b5adb819308c113062c490a3b54b

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 agoReport specific exception type on decrypt with invalid session
Jeff Tinker [Thu, 2 Jul 2015 00:35:18 +0000 (17:35 -0700)]
Report specific exception type on decrypt with invalid session

bug: 22235465
Change-Id: Ic1e1a86529d4f2246b9768799aacde5cd1070d04

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