OSDN Git Service

android-x86/frameworks-base.git
9 years agoFix NPE when walking the set of packages to update app link policy
Christopher Tate [Wed, 24 Jun 2015 19:18:05 +0000 (12:18 -0700)]
Fix NPE when walking the set of packages to update app link policy

Bug 21851441

Change-Id: I3616c5a7e40f5ff9ad9bbfee579a4a2fb2b1f7fd

9 years agoMerge "Volume Motion: Initial show and expand transition." into mnc-dev
John Spurlock [Wed, 24 Jun 2015 18:46:51 +0000 (18:46 +0000)]
Merge "Volume Motion: Initial show and expand transition." into mnc-dev

9 years agoMerge "Fix unit issue in Slog.wtf output" into mnc-dev
Adam Lesinski [Wed, 24 Jun 2015 18:45:44 +0000 (18:45 +0000)]
Merge "Fix unit issue in Slog.wtf output" into mnc-dev

9 years agoFix unit issue in Slog.wtf output
Adam Lesinski [Wed, 24 Jun 2015 18:37:26 +0000 (11:37 -0700)]
Fix unit issue in Slog.wtf output

Bug:22063930
Change-Id: I02add66892eb32b1df7e845b8542beb928d2b3ca

9 years agoMerge "Constrain FastScroller max width to be >= 0" into mnc-dev
Alan Viverette [Wed, 24 Jun 2015 18:22:31 +0000 (18:22 +0000)]
Merge "Constrain FastScroller max width to be >= 0" into mnc-dev

9 years agoRemove unused PermissionsInfo class
Todd Volkert [Wed, 24 Jun 2015 18:10:37 +0000 (11:10 -0700)]
Remove unused PermissionsInfo class

b/22008424

Change-Id: I53fc04af89c89cc1726dd80b05f2e18d5cc53524

9 years agoVolume Motion: Initial show and expand transition.
John Spurlock [Wed, 17 Jun 2015 15:56:12 +0000 (11:56 -0400)]
Volume Motion: Initial show and expand transition.

Also re-enable the content collapse layout transition animations,
supported by ensuring the dialog window is tall enough for long
enough to complete the transition, avoiding clipping.

Bug: 21335976
Change-Id: Ibc4cbb1e882c1e11c4406463752afa177fb1e6d7

9 years agoMerge "Avoid over-damaging layer area for multidraws" into mnc-dev
Chris Craik [Wed, 24 Jun 2015 17:57:59 +0000 (17:57 +0000)]
Merge "Avoid over-damaging layer area for multidraws" into mnc-dev

9 years agoMerge "don't clear notification effects in response to peeks" into mnc-dev
Chris Wren [Wed, 24 Jun 2015 17:54:21 +0000 (17:54 +0000)]
Merge "don't clear notification effects in response to peeks" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 24 Jun 2015 17:48:31 +0000 (17:48 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Add public action to open voicemail settings." into mnc-dev
Nancy Chen [Wed, 24 Jun 2015 17:37:16 +0000 (17:37 +0000)]
Merge "Add public action to open voicemail settings." into mnc-dev

9 years agoMerge "InCallService meta-data [2/4]" into mnc-dev
Santos Cordon [Wed, 24 Jun 2015 17:37:06 +0000 (17:37 +0000)]
Merge "InCallService meta-data [2/4]" into mnc-dev

9 years agoMerge "Additional javadoc." into mnc-dev
Santos Cordon [Wed, 24 Jun 2015 17:36:56 +0000 (17:36 +0000)]
Merge "Additional javadoc." into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 24 Jun 2015 17:30:01 +0000 (10:30 -0700)]
Import translations. DO NOT MERGE

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

9 years agoConstrain FastScroller max width to be >= 0
Alan Viverette [Wed, 24 Jun 2015 17:22:02 +0000 (10:22 -0700)]
Constrain FastScroller max width to be >= 0

Bug: 22055552
Change-Id: Ib0bba93e5490ad9d8668c9532f23654a8cb702d9

9 years agodon't clear notification effects in response to peeks
Chris Wren [Tue, 23 Jun 2015 15:22:20 +0000 (11:22 -0400)]
don't clear notification effects in response to peeks

When the heads up appears it generates a visibility event for the panel.
This always clears the notification effects (buzz, beep, blink).
If we suppress that for heads up notifications, we never get another chance.
So we add a new call when we open the shade from the heads up to catch this case.

Bug: 20947591
Change-Id: I233e5346617ca2fce7851bd85154c838849df8f7

9 years agoAvoid over-damaging layer area for multidraws
Chris Craik [Wed, 24 Jun 2015 00:33:06 +0000 (17:33 -0700)]
Avoid over-damaging layer area for multidraws

bug:19608961

Change-Id: Ib7495f155da62a352e9a010a362fd40ec0acad21

9 years agoMerge "Reset permission policy to default when device owner goes away" into mnc-dev
Esteban Talavera [Wed, 24 Jun 2015 16:42:33 +0000 (16:42 +0000)]
Merge "Reset permission policy to default when device owner goes away" into mnc-dev

9 years agoReset permission policy to default when device owner goes away
Esteban Talavera [Wed, 24 Jun 2015 14:23:42 +0000 (15:23 +0100)]
Reset permission policy to default when device owner goes away

Otherwise after the Device Owner is gone, runtime
permissions might still be auto granted/denied.
I understand that there are many other policies that
we don't reset after the device/profile owner goes
away (e.g. keyguard enabled/disabled). At least now
we have a single method when we could clear the
ones that we care about.

Bug: 21889278
Change-Id: I6997655e6ef6d474bd25ae1c323eca5b17944b16

9 years agoMerge "Add new SOURCE_BLUETOOTH_STYLUS." into mnc-dev
Michael Wright [Wed, 24 Jun 2015 16:12:17 +0000 (16:12 +0000)]
Merge "Add new SOURCE_BLUETOOTH_STYLUS." into mnc-dev

9 years agoam c1b4b058: am c5a480d1: am fdad629f: am 6859a9f0: Merge "docs: Pare down the adb...
Luan Nguyen [Wed, 24 Jun 2015 15:29:47 +0000 (15:29 +0000)]
am c1b4b058: am c5a480d1: am fdad629f: am 6859a9f0: Merge "docs: Pare down the adb guide and remove sections that are duplicated in the tools list." into lmp-docs

* commit 'c1b4b0580ccdbccee25f4bc97e94530e4982e1f7':
  docs: Pare down the adb guide and remove sections that are duplicated in the tools list.

9 years agoam c5a480d1: am fdad629f: am 6859a9f0: Merge "docs: Pare down the adb guide and remov...
Luan Nguyen [Wed, 24 Jun 2015 15:16:57 +0000 (15:16 +0000)]
am c5a480d1: am fdad629f: am 6859a9f0: Merge "docs: Pare down the adb guide and remove sections that are duplicated in the tools list." into lmp-docs

* commit 'c5a480d112f6ce8645d9e294c42b2baab3b56ab9':
  docs: Pare down the adb guide and remove sections that are duplicated in the tools list.

9 years agoam fdad629f: am 6859a9f0: Merge "docs: Pare down the adb guide and remove sections...
Luan Nguyen [Wed, 24 Jun 2015 15:05:13 +0000 (15:05 +0000)]
am fdad629f: am 6859a9f0: Merge "docs: Pare down the adb guide and remove sections that are duplicated in the tools list." into lmp-docs

* commit 'fdad629fc089783fa0b3caad62ba99a9083f8645':
  docs: Pare down the adb guide and remove sections that are duplicated in the tools list.

9 years agoMerge "Sync canvas proxy CTM (b/21945972)" into mnc-dev
Tom Hudson [Wed, 24 Jun 2015 14:53:56 +0000 (14:53 +0000)]
Merge "Sync canvas proxy CTM (b/21945972)" into mnc-dev

9 years agoam 6859a9f0: Merge "docs: Pare down the adb guide and remove sections that are duplic...
Luan Nguyen [Wed, 24 Jun 2015 14:51:30 +0000 (14:51 +0000)]
am 6859a9f0: Merge "docs: Pare down the adb guide and remove sections that are duplicated in the tools list." into lmp-docs

* commit '6859a9f09049d1dc760b98a6cbb278b591de63a6':
  docs: Pare down the adb guide and remove sections that are duplicated in the tools list.

9 years agoMerge "docs: Pare down the adb guide and remove sections that are duplicated in the...
Luan Nguyen [Wed, 24 Jun 2015 14:43:29 +0000 (14:43 +0000)]
Merge "docs: Pare down the adb guide and remove sections that are duplicated in the tools list." into lmp-docs

9 years agoSync canvas proxy CTM (b/21945972)
Tom Hudson [Wed, 24 Jun 2015 13:13:50 +0000 (09:13 -0400)]
Sync canvas proxy CTM (b/21945972)

SkiaCanvasProxy was being created with an identity transform, ignoring
any transform that may have been applied in Java (or C++) to the
android graphics Canvas it was proxy for. This CL makes sure the
DisplayListCanvas transform is propagated to the Proxy every time
asSkCanvas() is called.

We could instead move the code to the SkiaCanvasProxy constructor
if we got rid of the cached proxy on DisplayListCanvas; nobody's
using the proxy heavily enough that that should be a performance
hit at this time.

BUG:21945972
R=djsollen@google.com

Change-Id: I99ed1563802a2449bb9939cb67976cd60dd8611c

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 24 Jun 2015 13:58:21 +0000 (08:58 -0500)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Floating toolbar shown after rotation in extract mode" into mnc-dev
Andrei Stingaceanu [Wed, 24 Jun 2015 09:16:34 +0000 (09:16 +0000)]
Merge "Floating toolbar shown after rotation in extract mode" into mnc-dev

9 years agoUse heads-up notifications when selecting networks with no Internet
Lorenzo Colitti [Wed, 24 Jun 2015 08:13:08 +0000 (17:13 +0900)]
Use heads-up notifications when selecting networks with no Internet

Currently, when connecting to a network that has a captive portal
or has no Internet access, we display a regular notification.
Because this notification is easy to miss, switch to using a
heads-up notification if the user just manually selected the
network. If the system connects automatically, continue to use a
regular notification.

Bug: 20081183
Change-Id: I7a988b2bddfe898a0d2607ad85a04b227d678469

9 years agoMerge "Fix build." into mnc-dev
Lorenzo Colitti [Wed, 24 Jun 2015 05:39:39 +0000 (05:39 +0000)]
Merge "Fix build." into mnc-dev

9 years agoFix build.
Lorenzo Colitti [Wed, 24 Jun 2015 05:37:29 +0000 (14:37 +0900)]
Fix build.

Per comments in http://ag/704632 , purgeResources was intended to
be hidden.

Bug: 18386420
Change-Id: Iced006878f86c6b7b15dd38f5e704a2f97aeeda5

9 years agoFix build.
Daniel Sandler [Wed, 24 Jun 2015 05:27:05 +0000 (01:27 -0400)]
Fix build.

We don't need purgeResources public since it's part of the
ashmem internal optimization.

Change-Id: I65ba7545cf4801a8b97f3ece9b5ee5100c0f1c97

9 years agoMerge "TIF: Use per-user ContentResolver in the TvInputManagerService" into mnc-dev
Jae Seo [Wed, 24 Jun 2015 04:53:06 +0000 (04:53 +0000)]
Merge "TIF: Use per-user ContentResolver in the TvInputManagerService" into mnc-dev

9 years agoMerge "Add missing NULL check for android_os_Parcel_writeInt" into mnc-dev
Brian Carlstrom [Wed, 24 Jun 2015 04:36:11 +0000 (04:36 +0000)]
Merge "Add missing NULL check for android_os_Parcel_writeInt" into mnc-dev

9 years agoTIF: Use per-user ContentResolver in the TvInputManagerService
Jae Seo [Wed, 24 Jun 2015 03:33:25 +0000 (20:33 -0700)]
TIF: Use per-user ContentResolver in the TvInputManagerService

When switched to a different user (e.g. Restricted profile), the
TvInputManagerService continues to use the TV storage of the previous
user for logging, resulting in failure of the FOREIGN KEY constraint
since channel data for the current user don’t match to the logging data.
This change ensures that the system service uses the proper
ContentResolver when the user is switched.

Bug: 22047202
Change-Id: I870b5bd921e37a5f1219ea66c7a51314c77ddb01

9 years agoMerge "Update the storage permission group icon" into mnc-dev
Svetoslav [Wed, 24 Jun 2015 02:20:06 +0000 (02:20 +0000)]
Merge "Update the storage permission group icon" into mnc-dev

9 years agoUpdate the storage permission group icon
Svetoslav [Wed, 24 Jun 2015 02:18:23 +0000 (19:18 -0700)]
Update the storage permission group icon

bug:21730509

Change-Id: I2ea2d99febac0e57a3ad3e2fc35f629ed0d2f9ec

9 years agoMerge "Allow an icon to carry a tint with it, wherever it goes." into mnc-dev
Dan Sandler [Wed, 24 Jun 2015 02:10:23 +0000 (02:10 +0000)]
Merge "Allow an icon to carry a tint with it, wherever it goes." into mnc-dev

9 years agoMerge "Use ashmem backed bitmaps for passing around notifications" into mnc-dev
Daniel Sandler [Wed, 24 Jun 2015 02:09:56 +0000 (02:09 +0000)]
Merge "Use ashmem backed bitmaps for passing around notifications" into mnc-dev

9 years agoMerge "[Modify LastAuthenticatedTimestamp behaviour]:" into mnc-dev
Simranjit Singh Kohli [Wed, 24 Jun 2015 01:24:42 +0000 (01:24 +0000)]
Merge "[Modify LastAuthenticatedTimestamp behaviour]:" into mnc-dev

9 years agoAdd missing NULL check for android_os_Parcel_writeInt
Brian Carlstrom [Wed, 24 Jun 2015 01:02:12 +0000 (18:02 -0700)]
Add missing NULL check for android_os_Parcel_writeInt

All other usages of nativePtr were already checked.

Bug: 21636519
Change-Id: Icc09ce4326e6b05c5a248cc4de84ae231d5690b1

9 years agoOnly current IME and spell checker can access user dictionary
Svetoslav [Wed, 24 Jun 2015 00:13:26 +0000 (17:13 -0700)]
Only current IME and spell checker can access user dictionary

Change-Id: I6c5716d4d6ea9d5f55a71b6268d34f4faa3ac043

9 years agoMerge "Fix for SafeMedia logic and CTS tests" into mnc-dev
Ricardo Garcia [Wed, 24 Jun 2015 00:24:40 +0000 (00:24 +0000)]
Merge "Fix for SafeMedia logic and CTS tests" into mnc-dev

9 years agoMerge "Unify clipping return value behavior - true if not empty" into mnc-dev
Chris Craik [Wed, 24 Jun 2015 00:12:49 +0000 (00:12 +0000)]
Merge "Unify clipping return value behavior - true if not empty" into mnc-dev

9 years agoMerge "resolved conflicts for merge of 91d2cbf4 to mnc-dev" into mnc-dev
Bryce Lee [Wed, 24 Jun 2015 00:07:53 +0000 (00:07 +0000)]
Merge "resolved conflicts for merge of 91d2cbf4 to mnc-dev" into mnc-dev

9 years agoresolved conflicts for merge of 91d2cbf4 to mnc-dev
Bryce Lee [Wed, 24 Jun 2015 00:06:51 +0000 (17:06 -0700)]
resolved conflicts for merge of 91d2cbf4 to mnc-dev

Change-Id: I1c7e2999483a7959630844ecd20f5f37b7896aae

9 years agoMerge "Remove default activity title to prevent talkback from..." into mnc-dev
Makoto Onuki [Wed, 24 Jun 2015 00:04:41 +0000 (00:04 +0000)]
Merge "Remove default activity title to prevent talkback from..." into mnc-dev

9 years agoRemove default activity title to prevent talkback from...
Makoto Onuki [Tue, 23 Jun 2015 21:29:25 +0000 (14:29 -0700)]
Remove default activity title to prevent talkback from...

reading the wrong title.

We get a title from DocumentProvider with an async task, and by the time we
get it, it's *usually* too late and talkback end up reading the default title.

Bug 20041072

Change-Id: I7686fe4ae4c157ebfc07bd8b895c4cfdf99c057a

9 years agoMerge "Throw IAE on invalid measure spec size" into mnc-dev
Alan Viverette [Tue, 23 Jun 2015 23:41:01 +0000 (23:41 +0000)]
Merge "Throw IAE on invalid measure spec size" into mnc-dev

9 years agoMerge "Fix issue #20654534: API Review: android.app.assist" into mnc-dev
Dianne Hackborn [Tue, 23 Jun 2015 23:34:20 +0000 (23:34 +0000)]
Merge "Fix issue #20654534: API Review: android.app.assist" into mnc-dev

9 years agoMerge "Update DngCreator to handle pre-correction dimens." into mnc-dev
Ruben Brunk [Tue, 23 Jun 2015 23:33:21 +0000 (23:33 +0000)]
Merge "Update DngCreator to handle pre-correction dimens." into mnc-dev

9 years agoMerge "resolved conflicts for merge of 64a4858b to mnc-dev" into mnc-dev
Sharvil Nanavati [Tue, 23 Jun 2015 23:24:08 +0000 (23:24 +0000)]
Merge "resolved conflicts for merge of 64a4858b to mnc-dev" into mnc-dev

9 years agoThrow IAE on invalid measure spec size
Alan Viverette [Tue, 23 Jun 2015 23:23:49 +0000 (16:23 -0700)]
Throw IAE on invalid measure spec size

Crash immediately so that we can track down the cause. If we let it
through, we'll hit an ISE later in dispatchVsync() and never know why.

Bug: 21948478
Change-Id: I84edf93cdf09d755419e18a7606b7b6cbd059956

9 years agoresolved conflicts for merge of 64a4858b to mnc-dev
Sharvil Nanavati [Tue, 23 Jun 2015 23:23:06 +0000 (16:23 -0700)]
resolved conflicts for merge of 64a4858b to mnc-dev

Change-Id: I9340b816232285853740c03d5e9898fdd019ff0e

9 years agoUpdate DngCreator to handle pre-correction dimens.
Ruben Brunk [Tue, 23 Jun 2015 02:17:30 +0000 (19:17 -0700)]
Update DngCreator to handle pre-correction dimens.

Bug: 20491394
Change-Id: I0cdf7cec104bcb5683139c81fc52c8a0a7d2365c

9 years agoMerge "Add enter/exit animation for window provided CAB" into mnc-dev
Doris Liu [Tue, 23 Jun 2015 23:20:01 +0000 (23:20 +0000)]
Merge "Add enter/exit animation for window provided CAB" into mnc-dev

9 years agoAdd enter/exit animation for window provided CAB
Doris Liu [Tue, 23 Jun 2015 01:33:52 +0000 (18:33 -0700)]
Add enter/exit animation for window provided CAB

Bug: 21886856
Change-Id: I6b20901c51ce7d74058f6ef866334f622a1fa3a4

9 years agoam 65dca454: Merge "Turn off theater mode upon power button press." into cw-d-mr1-dev
Bryce Lee [Tue, 23 Jun 2015 23:04:26 +0000 (23:04 +0000)]
am 65dca454: Merge "Turn off theater mode upon power button press." into cw-d-mr1-dev

* commit '65dca454c7a717b001b51d0089e7565ba428ce87':
  Turn off theater mode upon power button press.

9 years agoMerge "Remove not needed contacts related permissions." into mnc-dev
Svetoslav Ganov [Tue, 23 Jun 2015 23:04:19 +0000 (23:04 +0000)]
Merge "Remove not needed contacts related permissions." into mnc-dev

9 years agoRemove not needed contacts related permissions.
Svetoslav Ganov [Tue, 23 Jun 2015 16:33:36 +0000 (16:33 +0000)]
Remove not needed contacts related permissions.

This reverts commit ed5ff51b2ca7c051e2719dfc8a8a083e6208848e.

Change-Id: If2407e4e474a438d95e1b7ad1aa6f441bb3ace08

9 years agoFix for SafeMedia logic and CTS tests
Ricardo Garcia [Tue, 23 Jun 2015 22:54:45 +0000 (15:54 -0700)]
Fix for SafeMedia logic and CTS tests

Added audio.safemedia.bypass system property to bypass SafeMedia logic on
CTS tests which require guaranteed access to full range of volume levels.

bug: 21779099
Change-Id: I76815a995f08d426218206af7aade491c5debd9e

9 years agoUnify clipping return value behavior - true if not empty
Chris Craik [Tue, 23 Jun 2015 22:42:12 +0000 (15:42 -0700)]
Unify clipping return value behavior - true if not empty

bug:22035484

Change-Id: I23ecca38554a60c590181290900deb0e2c48cea1

9 years agoMerge "Update CarrierService long lived binding API" into mnc-dev
Zach Johnson [Tue, 23 Jun 2015 22:19:19 +0000 (22:19 +0000)]
Merge "Update CarrierService long lived binding API" into mnc-dev

9 years agoInCallService meta-data [2/4]
Santos Cordon [Mon, 22 Jun 2015 22:02:20 +0000 (15:02 -0700)]
InCallService meta-data [2/4]

Bug: 21816241

Change-Id: I9af91a1287f652247ef590878759aa277bd925e5

9 years agoMerge "Remove isDither(), deprecate setDither()" into mnc-dev
Alan Viverette [Tue, 23 Jun 2015 22:06:13 +0000 (22:06 +0000)]
Merge "Remove isDither(), deprecate setDither()" into mnc-dev

9 years agoMerge "Skip upgrade keys for adopted storage" into mnc-dev
Todd Kennedy [Tue, 23 Jun 2015 21:42:04 +0000 (21:42 +0000)]
Merge "Skip upgrade keys for adopted storage" into mnc-dev

9 years agoMerge "Handle volume benchmark timeout" into mnc-dev
Todd Kennedy [Tue, 23 Jun 2015 21:41:19 +0000 (21:41 +0000)]
Merge "Handle volume benchmark timeout" into mnc-dev

9 years agoHandle volume benchmark timeout
Todd Kennedy [Tue, 23 Jun 2015 20:35:28 +0000 (13:35 -0700)]
Handle volume benchmark timeout

If a volume benchmark operation times out, we don't want to show
a cryptic toast message. Instead, we return a very large integer
[eg Long.MAX_INT]. The storage wizard can then use this value
to show an appropriate dialog if it chooses.

Bug: 21376364
Change-Id: I3d97336e19c93511cfff2cbdb2f07ab033a1143d

9 years agoMerge "Allow system apps to be granted android.permission.PACKAGE_USAGE_STATS" into...
Adam Lesinski [Tue, 23 Jun 2015 21:37:18 +0000 (21:37 +0000)]
Merge "Allow system apps to be granted android.permission.PACKAGE_USAGE_STATS" into mnc-dev

9 years agoUpdate CarrierService long lived binding API
Zach Johnson [Sat, 20 Jun 2015 01:12:27 +0000 (18:12 -0700)]
Update CarrierService long lived binding API

Should take a metadata approach instead of a separate
intent.

b/21080696

Change-Id: Ib6e2ec0d3258e419aa14ae9e598a8147505feb84

9 years agoRemove isDither(), deprecate setDither()
Alan Viverette [Tue, 23 Jun 2015 21:30:40 +0000 (14:30 -0700)]
Remove isDither(), deprecate setDither()

Bug: 22013358
Change-Id: I37b11a94edc431a88522c6c056b76b045daa61d6

9 years agoMerge "TIF: Always invalidate the session callback when resetting TvView" into mnc-dev
Jae Seo [Tue, 23 Jun 2015 21:27:58 +0000 (21:27 +0000)]
Merge "TIF: Always invalidate the session callback when resetting TvView" into mnc-dev

9 years agoAdd public action to open voicemail settings.
Nancy Chen [Tue, 23 Jun 2015 21:17:48 +0000 (14:17 -0700)]
Add public action to open voicemail settings.

Need public api constant to create an intent to open voicemail settings.
This is used for visual voicemail.

Bug: 21086059
Change-Id: I1a11712ead2941d5322cde6be6c3f41652bc36d8

9 years agoAllow system apps to be granted android.permission.PACKAGE_USAGE_STATS
Adam Lesinski [Tue, 23 Jun 2015 21:15:04 +0000 (14:15 -0700)]
Allow system apps to be granted android.permission.PACKAGE_USAGE_STATS

Bug:22008542
Change-Id: Ifb4565ec8077e88596f0304328c083c7d1c9db04

9 years agoMerge "Extend the time between WiFi energy samples" into mnc-dev
Adam Lesinski [Tue, 23 Jun 2015 21:12:33 +0000 (21:12 +0000)]
Merge "Extend the time between WiFi energy samples" into mnc-dev

9 years agoresolved conflicts for merge of 7c250056 to lmp-mr1-ub-dev
Sharvil Nanavati [Tue, 23 Jun 2015 21:07:26 +0000 (14:07 -0700)]
resolved conflicts for merge of 7c250056 to lmp-mr1-ub-dev

Change-Id: I8ec2e76756e61a6e6bbe85ca699facbde1c1fbc7

9 years agoMerge "Send installerUid for verification when using PackageInstaller." into mnc-dev
oleksii stepanian [Tue, 23 Jun 2015 20:58:27 +0000 (20:58 +0000)]
Merge "Send installerUid for verification when using PackageInstaller." into mnc-dev

9 years agoMerge "Default permissions for carrier apps." into mnc-dev
Jeff Davidson [Tue, 23 Jun 2015 20:42:57 +0000 (20:42 +0000)]
Merge "Default permissions for carrier apps." into mnc-dev

9 years agoExtend the time between WiFi energy samples
Adam Lesinski [Tue, 23 Jun 2015 20:42:53 +0000 (13:42 -0700)]
Extend the time between WiFi energy samples

With bursty WiFi traffic, we end up sampling the WiFi controller's
energy data quite a lot. Extend the timeout so that we sample
once there has been no activity for 15 seconds.

Note: Once the WiFi radio goes down after being active, it can come back and be
active in less than 15 seconds, which means we may sample twice quickly.

Bug:21478443
Change-Id: I99081b664f8a33fef734bc55eef4d33ac297e83a

9 years agoMerge "Keymaster key validity dates are optional." into mnc-dev
Alex Klyubin [Tue, 23 Jun 2015 20:35:23 +0000 (20:35 +0000)]
Merge "Keymaster key validity dates are optional." into mnc-dev

9 years agofix the build: remove duplicated line
Chris Wren [Tue, 23 Jun 2015 20:28:33 +0000 (16:28 -0400)]
fix the build: remove duplicated line

Change-Id: I0ae6443dd7237b8cce14d12967edd0afb8d34196

9 years agoFix issue #20654534: API Review: android.app.assist
Dianne Hackborn [Tue, 23 Jun 2015 20:09:21 +0000 (13:09 -0700)]
Fix issue #20654534: API Review: android.app.assist

Remove the old ViewAssistStructure class.

Change-Id: I5eca7bc7af93cda5f654c9094a3aa07fe4958da2

9 years agoMerge "TIF: Add more description to the poster art and thumbnail columns" into mnc-dev
Jae Seo [Tue, 23 Jun 2015 20:01:35 +0000 (20:01 +0000)]
Merge "TIF: Add more description to the poster art and thumbnail columns" into mnc-dev

9 years agoMerge "collect more stats about the notification API" into mnc-dev
Chris Wren [Tue, 23 Jun 2015 19:56:16 +0000 (19:56 +0000)]
Merge "collect more stats about the notification API" into mnc-dev

9 years agoMerge "Add metrics to brightness slider" into mnc-dev
Jason Monk [Tue, 23 Jun 2015 19:56:12 +0000 (19:56 +0000)]
Merge "Add metrics to brightness slider" into mnc-dev

9 years agoUse ashmem backed bitmaps for passing around notifications
Jorim Jaggi [Wed, 3 Jun 2015 18:48:13 +0000 (11:48 -0700)]
Use ashmem backed bitmaps for passing around notifications

Avoids many copies during IPC and duplicate Java heap consumption in
system_server, SystemUI, etc.

Bug: 18386420
Change-Id: Id5ac9406062d472f7848009d65f12131f5f4dac9

9 years agoAdd metrics to brightness slider
Jason Monk [Tue, 23 Jun 2015 19:04:44 +0000 (15:04 -0400)]
Add metrics to brightness slider

Had to add a way for BrightnessController to know when its the end
of a touch, so that we don't spam the event logs with intermediate
values.

Added visibility to BrightnessDialog as this is what settings
launches.

Bug: 21528168
Change-Id: Ie214b4ddb0c9f9bbe8c4f182f9c59f229963ebc7

9 years agoMerge "Ensure camera service is notified of user profile changes." into mnc-dev
Ruben Brunk [Tue, 23 Jun 2015 19:48:21 +0000 (19:48 +0000)]
Merge "Ensure camera service is notified of user profile changes." into mnc-dev

9 years agoEnsure camera service is notified of user profile changes.
Ruben Brunk [Tue, 23 Jun 2015 18:52:08 +0000 (11:52 -0700)]
Ensure camera service is notified of user profile changes.

Bug: 21996939
Change-Id: Ie2578c4de587d26090f46b15e958ab9820f0ccf7

9 years agoMerge "Runtime permissions cannot be set on legacy apps by device policy" into mnc-dev
Amith Yamasani [Tue, 23 Jun 2015 19:43:40 +0000 (19:43 +0000)]
Merge "Runtime permissions cannot be set on legacy apps by device policy" into mnc-dev

9 years agoMerge "Disallow requesting networks with mutable NetworkCapabilities." into mnc-dev
Paul Jensen [Tue, 23 Jun 2015 19:40:31 +0000 (19:40 +0000)]
Merge "Disallow requesting networks with mutable NetworkCapabilities." into mnc-dev

9 years agoMerge "Fix missing NetworkCallbacks for NET_CAPABILITY_VALIDATED changes" into mnc-dev
Paul Jensen [Tue, 23 Jun 2015 19:40:20 +0000 (19:40 +0000)]
Merge "Fix missing NetworkCallbacks for NET_CAPABILITY_VALIDATED changes" into mnc-dev

9 years agoMerge "Add NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL" into mnc-dev
Paul Jensen [Tue, 23 Jun 2015 19:40:01 +0000 (19:40 +0000)]
Merge "Add NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL" into mnc-dev

9 years agoMerge "Fix issue #20654534: API Review: android.app.assist" into mnc-dev
Dianne Hackborn [Tue, 23 Jun 2015 19:33:02 +0000 (19:33 +0000)]
Merge "Fix issue #20654534: API Review: android.app.assist" into mnc-dev

9 years agoMerge "Transfer a11y node with a11y event" into mnc-dev
Maxim Bogatov [Tue, 23 Jun 2015 19:26:56 +0000 (19:26 +0000)]
Merge "Transfer a11y node with a11y event" into mnc-dev

9 years agoMerge "System settings can be changed by system apps." into mnc-dev
Svetoslav [Tue, 23 Jun 2015 19:11:25 +0000 (19:11 +0000)]
Merge "System settings can be changed by system apps." into mnc-dev

9 years agoSystem settings can be changed by system apps.
Svetoslav [Tue, 23 Jun 2015 19:06:03 +0000 (12:06 -0700)]
System settings can be changed by system apps.

The system settings permission is going away and the user will
be able to choose which apps have access to system settings in
the UI. So, if an app is white-listed by the user or being on
the system image, we allow access to system settings. Also if
the caller has the stronger write secure settings permission
we allow changes of the less sensitive system settings.

Change-Id: I7aca958fd0ad2c588117b8c6e44d78eb16d648bc

9 years agoKeymaster key validity dates are optional.
Alex Klyubin [Tue, 23 Jun 2015 19:06:27 +0000 (12:06 -0700)]
Keymaster key validity dates are optional.

This CL makes Android Keystore framework code add
KM_TAG_ACTIVE_DATETIME, KM_TAG_ORIGINATION_EXPIRE_DATETIME, and
KM_TAG_USAGE_EXPIRE_DATETIME tags to the authorizations set only
if the corresponding time instants were specified through the
framework-level API. This is fine because these tags are optional as
it turns out.

Bug: 18088752
Change-Id: I6a5ae4cadb441e61576231815e6bec6e9248bc72

9 years agoRuntime permissions cannot be set on legacy apps by device policy
Amith Yamasani [Mon, 22 Jun 2015 20:00:32 +0000 (13:00 -0700)]
Runtime permissions cannot be set on legacy apps by device policy

Clarify docs that runtime permissions can be granted or revoked by
a profile owner/device owner only for MNC apps and not legacy apps.

Check the targetSdkVersion and return false if legacy app.

Remove all policy flags from permissions when cleaning up
a device or profile owner.

Bug: 21835304
Bug: 21889278
Change-Id: I4271394737990983449048d112a1830f9d0f2d78