OSDN Git Service

android-x86/frameworks-base.git
7 years agoRevert "Add Brightness setting for VR Mode."
Ian Pedowitz [Tue, 27 Dec 2016 17:33:57 +0000 (17:33 +0000)]
Revert "Add Brightness setting for VR Mode."

This reverts commit c7e853f51110b9b6893d526f1f7340b2966f928a.

Bug: 33895226
Bug: 30984614
Change-Id: Icca320e02651b7dd7b8db84ab414f41edee32760

7 years agoAdd Brightness setting for VR Mode.
Santos Cordon [Tue, 20 Sep 2016 22:50:35 +0000 (15:50 -0700)]
Add Brightness setting for VR Mode.

This change saves and loads a different brightness setting when the user
goes in and out of VR Mode.

Bug: 30984614
Change-Id: Ie5578bbd6ea346f0eb34fe4abbfd604a5d7c0c93

7 years agoMerge "Log DexManager realpath errors only in debug mode."
Calin Juravle [Thu, 22 Dec 2016 16:12:05 +0000 (16:12 +0000)]
Merge "Log DexManager realpath errors only in debug mode."

7 years agoLog DexManager realpath errors only in debug mode.
Calin Juravle [Thu, 22 Dec 2016 14:31:19 +0000 (14:31 +0000)]
Log DexManager realpath errors only in debug mode.

Test: runtest -x .../DexManagerTests.java
Bug: 33807524

Change-Id: I69b7aca347bcd23323a5d72c78edc94a39335d09

7 years agoMerge "Allowing heads-up notifications now on the lock screen"
TreeHugger Robot [Thu, 22 Dec 2016 12:24:15 +0000 (12:24 +0000)]
Merge "Allowing heads-up notifications now on the lock screen"

7 years agoMerge "Add DISALLOW_ADD_MANAGED_PROFILE to existing device owners"
TreeHugger Robot [Thu, 22 Dec 2016 10:29:27 +0000 (10:29 +0000)]
Merge "Add DISALLOW_ADD_MANAGED_PROFILE to existing device owners"

7 years agoMerge "Settings recovery support"
TreeHugger Robot [Thu, 22 Dec 2016 09:19:09 +0000 (09:19 +0000)]
Merge "Settings recovery support"

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 45c9ba9c15 -s ours
Bill Yi [Thu, 22 Dec 2016 08:31:33 +0000 (08:31 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 45c9ba9c15  -s ours
am: 64a1060855  -s ours

Change-Id: I49ae7611ab760f7c9632f31ceaf57234a06cbf73

7 years agoImport translations. DO NOT MERGE am: 0277a42568 -s ours
Bill Yi [Thu, 22 Dec 2016 08:30:29 +0000 (08:30 +0000)]
Import translations. DO NOT MERGE am: 0277a42568  -s ours
am: 8d8b116bfd  -s ours

Change-Id: Ia45d850c2fe20e771a4dcce7429b81b8e643ca8a

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Bill Yi [Thu, 22 Dec 2016 08:08:08 +0000 (08:08 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 45c9ba9c15  -s ours

Change-Id: I55a93590829178eaabf1899be1a740c763676c24

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Dec 2016 08:08:04 +0000 (08:08 +0000)]
Import translations. DO NOT MERGE
am: 0277a42568  -s ours

Change-Id: If66e092903c2f532c4473359e5e792de5a17d327

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Dec 2016 08:02:47 +0000 (08:02 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Dec 2016 08:01:59 +0000 (08:01 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Thu, 22 Dec 2016 08:00:05 +0000 (08:00 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Dec 2016 07:56:13 +0000 (07:56 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Dec 2016 05:17:55 +0000 (21:17 -0800)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Move ContextHubService to a better location."
Ashutosh Joshi [Thu, 22 Dec 2016 04:36:56 +0000 (04:36 +0000)]
Merge "Move ContextHubService to a better location."

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Dec 2016 03:41:35 +0000 (19:41 -0800)]
Import translations. DO NOT MERGE

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

7 years agoNetworkNotificationManager: remove spammy log am: 1f0d972efc
Hugo Benichi [Thu, 22 Dec 2016 03:07:19 +0000 (03:07 +0000)]
NetworkNotificationManager: remove spammy log am: 1f0d972efc
am: f294cdeb27

Change-Id: I2b9b1b52e11ddf784244eedf1311f3b015841215

7 years agoNetworkNotificationManager: remove spammy log
Hugo Benichi [Thu, 22 Dec 2016 03:02:39 +0000 (03:02 +0000)]
NetworkNotificationManager: remove spammy log
am: 1f0d972efc

Change-Id: I01785760854cd040c0d09f76e3832bbb7986dc4e

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Dec 2016 02:49:21 +0000 (18:49 -0800)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Dec 2016 02:26:47 +0000 (18:26 -0800)]
Import translations. DO NOT MERGE

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

7 years agoMerge "media volume: remove old --set and rename --index to --set"
TreeHugger Robot [Thu, 22 Dec 2016 01:38:12 +0000 (01:38 +0000)]
Merge "media volume: remove old --set and rename --index to --set"

7 years agoSettings recovery support
Svetoslav Ganov [Thu, 22 Dec 2016 01:10:35 +0000 (17:10 -0800)]
Settings recovery support

This change allows the system to perform iterative reset
of changes to settings in order to recover from bad a
state such as a reboot loop.

To enable this we add the notion of a default value. The
default can be set by any package but if the package that
set it is a part of the system, i.e. trusted, then other
packages that are not a part of the system, i.e. untrusted,
cannot change the default. The settings setter APIs that
do not take a default effectively clear the default. Putting
a setting from a system component always makes it the
default and if the package in not trusted then value is
not made the default. The rationale is that the system is
tested and its values are safe but third-party components
are not trusted and their values are not safe.

The reset modes from the least intrusive are: untrusted
defaults - reset only settings set by untrusted components
to their defaults or clear them otherwise; untrusted clear
- clear settings set by untrusted components (or snap to
default if provided by the system); trusted defaults - reset
all settings to defaults set by the system or clear them
otherwise.

Also a package can reset to defaults changes it made to
the global and secure settings. It is also possible to
associate a setting with an optional token which can then
be used to reset settings set by this package and
associated with the token allowing parallel experiments
over disjoint settings subsets.

The default values are also useful for experiment (or
more precisely iterative tuning of devices' behavior in
production) as the stable configuration can be set to
the "graduated" safe defaults and set the values to the
experimental ones to measure impact.

Test: tests pass

Change-Id: I838955ea3bb28337f416ee244dff2fb1199b6943

7 years agoNetworkNotificationManager: remove spammy log
Hugo Benichi [Thu, 22 Dec 2016 00:49:11 +0000 (09:49 +0900)]
NetworkNotificationManager: remove spammy log

Test: build, flashed, booted phone.
Bug: 32198726
Change-Id: I3ac2f07c756f48653195f6198aaee4d8b3939fb5

7 years agoMerge "Tighter equals/hashCode method checking."
TreeHugger Robot [Thu, 22 Dec 2016 00:49:08 +0000 (00:49 +0000)]
Merge "Tighter equals/hashCode method checking."

7 years agoMerge "Cleanup the evaluateBinding() method."
TreeHugger Robot [Thu, 22 Dec 2016 00:29:21 +0000 (00:29 +0000)]
Merge "Cleanup the evaluateBinding() method."

7 years agoMerge "Added metrics constant for new dialog"
TreeHugger Robot [Thu, 22 Dec 2016 00:28:19 +0000 (00:28 +0000)]
Merge "Added metrics constant for new dialog"

7 years agoMerge "Unihiding REFRESH_SUPPORTED and ContentProviderClient#refresh."
TreeHugger Robot [Thu, 22 Dec 2016 00:24:19 +0000 (00:24 +0000)]
Merge "Unihiding REFRESH_SUPPORTED and ContentProviderClient#refresh."

7 years agoMerge "Use a colorspace when decoding to F16"
TreeHugger Robot [Thu, 22 Dec 2016 00:21:36 +0000 (00:21 +0000)]
Merge "Use a colorspace when decoding to F16"

7 years agomedia volume: remove old --set and rename --index to --set
Frank Barchard [Wed, 21 Dec 2016 02:42:14 +0000 (18:42 -0800)]
media volume: remove old --set and rename --index to --set

The old --set did not take a parameter for volume and was
defaulting to volume index of 5.
The old --index option allowed the user to set the volume to
a specified value.
This CL removes the old --set that had limited usefulness, and
renames --index to --set, so --set now takes a parameter for
volume.
For backward compatibility the --index option is kept around
to allow scripts time to switch to --set

Bug: 33791633
Test: adb shell media volume --set 4
Change-Id: I43a87a878439b3416efa746708b62a869023acdc

7 years agoAdded metrics constant for new dialog
Salvador Martinez [Fri, 18 Nov 2016 21:44:57 +0000 (13:44 -0800)]
Added metrics constant for new dialog

SupportSystemInformationDialogFragment (phew)
needs a metrics constant.

Test: manual
Bug: 32462840
Change-Id: I2943b2537a54d3243759233f96522cd1bbdb5db9

7 years agoMerge "Expose ScanResult#untrusted as a @SystemApi." am: a93e57f1ac am: a3943850ab...
Amin Shaikh [Wed, 21 Dec 2016 22:30:32 +0000 (22:30 +0000)]
Merge "Expose ScanResult#untrusted as a @SystemApi." am: a93e57f1ac am: a3943850ab am: 471093b58e
am: 9926363b09  -s ours

Change-Id: I2bb1214df6132f414214241f8e91d9c4b95d7c9a

7 years agoMerge "DirectReply: Close if touching outside status bar" into nyc-mr2-dev am: 4869a55f66
Adrian Roos [Wed, 21 Dec 2016 22:29:25 +0000 (22:29 +0000)]
Merge "DirectReply: Close if touching outside status bar" into nyc-mr2-dev am: 4869a55f66
am: cca4e6d093

Change-Id: I7098528a169da5282c78158c336780be7ba0c36c

7 years agoDirectReply: Close if touching outside status bar am: 6d53de63bb
Adrian Roos [Wed, 21 Dec 2016 22:28:29 +0000 (22:28 +0000)]
DirectReply: Close if touching outside status bar am: 6d53de63bb
am: e6395f8ac7

Change-Id: Icb978071074bc204365fe7378776ac8377ad02f1

7 years agoMerge "Reconnect to installd when it restarts." am: 48d5d6cda8 am: fe35f0f4f6 am...
Jeff Sharkey [Wed, 21 Dec 2016 22:27:30 +0000 (22:27 +0000)]
Merge "Reconnect to installd when it restarts." am: 48d5d6cda8 am: fe35f0f4f6 am: e286d1b2f8
am: 57c829c291

Change-Id: I6bf169d83de6b9a300f9bb4717660183b1b9e24b

7 years agoMerge "Enable multi-dex for coverage builds to fix breakage" into nyc-mr2-dev am...
Daniel Nishi [Wed, 21 Dec 2016 22:26:32 +0000 (22:26 +0000)]
Merge "Enable multi-dex for coverage builds to fix breakage" into nyc-mr2-dev am: fbe70a3e93
am: 6c00eb1f31

Change-Id: Ieee5dcff07426c4b55ae33ae8247fd792d622b11

7 years agoEnable multi-dex for coverage builds to fix breakage am: 77a51d1274
Allen Hair [Wed, 21 Dec 2016 22:25:23 +0000 (22:25 +0000)]
Enable multi-dex for coverage builds to fix breakage am: 77a51d1274
am: b0d5ade11c  -s ours

Change-Id: I6a76bfd6b5924c2adfe3f4ccfe0ea52be7b983b3

7 years agoMerge "Check if device supports HDMI before getting service"
TreeHugger Robot [Wed, 21 Dec 2016 22:24:15 +0000 (22:24 +0000)]
Merge "Check if device supports HDMI before getting service"

7 years agoMerge "Detect non-static abstract inner classes."
TreeHugger Robot [Wed, 21 Dec 2016 22:21:13 +0000 (22:21 +0000)]
Merge "Detect non-static abstract inner classes."

7 years agoMerge "DO NOT MERGE - Disabled swiping in Grid-based Recents." into nyc-mr2-dev am...
Jiaquan He [Wed, 21 Dec 2016 22:13:58 +0000 (22:13 +0000)]
Merge "DO NOT MERGE - Disabled swiping in Grid-based Recents." into nyc-mr2-dev am: b9606a5d09
am: 5887b6d7b5  -s ours

Change-Id: Ib39e4a7ad8d0bb23d895356628df53ad0ca46c47

7 years agoDO NOT MERGE - Disabled swiping in Grid-based Recents. am: 620aebabb2
Jiaquan He [Wed, 21 Dec 2016 22:12:52 +0000 (22:12 +0000)]
DO NOT MERGE - Disabled swiping in Grid-based Recents. am: 620aebabb2
am: 3785f0a2f6  -s ours

Change-Id: I4ef738ca52e6097cb7bc1cb4e841adfdac1d770f

7 years agoMerge "Report non-primary dex files loads to PM" am: f23ea2ca62 am: 78b3889804 am...
Calin Juravle [Wed, 21 Dec 2016 22:11:14 +0000 (22:11 +0000)]
Merge "Report non-primary dex files loads to PM" am: f23ea2ca62 am: 78b3889804 am: 9947e79b26
am: 5be781d874  -s ours

Change-Id: I301ce0b9995086f85f0653c4775a54997419b8fc

7 years agoMerge "Add page view metrics for new paegs in Settings."
TreeHugger Robot [Wed, 21 Dec 2016 22:05:28 +0000 (22:05 +0000)]
Merge "Add page view metrics for new paegs in Settings."

7 years agoMerge "Always create grant structures when persistable."
TreeHugger Robot [Wed, 21 Dec 2016 21:55:45 +0000 (21:55 +0000)]
Merge "Always create grant structures when persistable."

7 years agoCleanup the evaluateBinding() method.
Jeremy Joslin [Wed, 21 Dec 2016 21:35:02 +0000 (13:35 -0800)]
Cleanup the evaluateBinding() method.

Small refactor to remove 1 level of nesting.

Test: build, run.
Change-Id: I38836ca9d18c5fcd3c6edf5931b58de3b08614ee

7 years agoMerge "Stay bound to the most current active scorer."
TreeHugger Robot [Wed, 21 Dec 2016 21:28:15 +0000 (21:28 +0000)]
Merge "Stay bound to the most current active scorer."

7 years agoMerge "Add badging support for channels."
Julia Reynolds [Wed, 21 Dec 2016 21:15:39 +0000 (21:15 +0000)]
Merge "Add badging support for channels."

7 years agoAdd badging support for channels.
Julia Reynolds [Thu, 15 Dec 2016 16:34:26 +0000 (11:34 -0500)]
Add badging support for channels.

In this iteration badges are a user opt in feature.
Known issue: all listeners will receive 'badge only' notifications.

Test: runtest systemui-notification

Change-Id: Ic7450bf4de5351cfdc72bd96ec946fe6e035035c

7 years agoUse a colorspace when decoding to F16
Matt Sarett [Wed, 21 Dec 2016 21:10:03 +0000 (16:10 -0500)]
Use a colorspace when decoding to F16

A recent change caused us to always pass a color space
to the decoder.  A revert of that change caused us to
never pass a color space to the decoder.

In order to decode to F16 (and pass CTS tests), we
need to pass a color space on decodes to F16.  This
was the "original" behavior before the bad change
and bad revert.

Test: This will allow us to pass CTS.

BUG:33814604

Change-Id: I4e569213f9d4ff5a452149c4b2ee191bf2fe6b0e

7 years agoMerge "HardwarePropertiesManagerService: Fixup log message typo"
TreeHugger Robot [Wed, 21 Dec 2016 21:00:55 +0000 (21:00 +0000)]
Merge "HardwarePropertiesManagerService: Fixup log message typo"

7 years agoTighter equals/hashCode method checking.
Jeff Sharkey [Wed, 21 Dec 2016 20:46:33 +0000 (13:46 -0700)]
Tighter equals/hashCode method checking.

Test: false-positive no longer triggered
Bug: 32721082
Change-Id: I49b6225a7282d0bb84b0dfb4cabe56e9f68186a9

7 years agoDetect non-static abstract inner classes.
Jeff Sharkey [Wed, 21 Dec 2016 20:41:17 +0000 (13:41 -0700)]
Detect non-static abstract inner classes.

Test: script detects issue
Bug: 32982018
Change-Id: I4e3521bf603f6272bfe5583e3d4977dd5b59afe8

7 years agoAlways create grant structures when persistable.
Jeff Sharkey [Wed, 21 Dec 2016 20:27:04 +0000 (13:27 -0700)]
Always create grant structures when persistable.

Certain apps may already hold permissions to an underlying provider,
but they expect APIs like takePersistableUriPermission() and
getPersistedUriPermissions() to work when a permission grant was
extended with FLAG_GRANT_PERSISTABLE_URI_PERMISSION.

Test: builds, boots
Bug: 31239684
Change-Id: I4b21c57956b70133ecadb50d0d3ee339f41e2260

7 years agoCheck if device supports HDMI before getting service
Andrii Kulian [Wed, 21 Dec 2016 20:18:05 +0000 (12:18 -0800)]
Check if device supports HDMI before getting service

Hdmi control service is created only if device supports
HDMI CEC, so need to check for it before requesting.

Change-Id: I0e2d83514fd3b87e8db0a5e6784fc69377b890cf
Fixes: 33193534
Test: Manual - click home button, check logs for crashes.

7 years agoAdd page view metrics for new paegs in Settings.
Fan Zhang [Wed, 21 Dec 2016 20:10:33 +0000 (12:10 -0800)]
Add page view metrics for new paegs in Settings.

This does not increase log size, because they replace old Setting pages.

Bug: 33812754
Test: make framework
Change-Id: I17067c75d4dd5aa892c150963c92015ad0380cdd

7 years agoMerge "Expose ScanResult#untrusted as a @SystemApi." am: a93e57f1ac am: a3943850ab
Amin Shaikh [Wed, 21 Dec 2016 20:10:30 +0000 (20:10 +0000)]
Merge "Expose ScanResult#untrusted as a @SystemApi." am: a93e57f1ac am: a3943850ab
am: 471093b58e

Change-Id: I129d3abd329d9e00de1177ca39cf3ce0ff06946b

7 years agoMerge "DirectReply: Close if touching outside status bar" into nyc-mr2-dev
Adrian Roos [Wed, 21 Dec 2016 20:06:14 +0000 (20:06 +0000)]
Merge "DirectReply: Close if touching outside status bar" into nyc-mr2-dev
am: 4869a55f66

Change-Id: Icab4bdb1181a6b321ba78e954920576d1d79161a

7 years agoDirectReply: Close if touching outside status bar
Adrian Roos [Wed, 21 Dec 2016 20:06:08 +0000 (20:06 +0000)]
DirectReply: Close if touching outside status bar
am: 6d53de63bb

Change-Id: I134abad75cae32c8eb9229ac8aa993f9bd71b667

7 years agoMerge "Expose ScanResult#untrusted as a @SystemApi." am: a93e57f1ac
Amin Shaikh [Wed, 21 Dec 2016 20:02:03 +0000 (20:02 +0000)]
Merge "Expose ScanResult#untrusted as a @SystemApi." am: a93e57f1ac
am: a3943850ab

Change-Id: Id763d2f82e10dd5843258ef09d0e65824e2c2de6

7 years agoMerge "DirectReply: Close if touching outside status bar" into nyc-mr2-dev
Adrian Roos [Wed, 21 Dec 2016 19:56:38 +0000 (19:56 +0000)]
Merge "DirectReply: Close if touching outside status bar" into nyc-mr2-dev

7 years agoMerge "Expose ScanResult#untrusted as a @SystemApi."
Amin Shaikh [Wed, 21 Dec 2016 19:56:19 +0000 (19:56 +0000)]
Merge "Expose ScanResult#untrusted as a @SystemApi."
am: a93e57f1ac

Change-Id: I9cac16dbceb36d6ff72e92d2ab8de20bd8d70e36

7 years agoMerge "Expose ScanResult#untrusted as a @SystemApi."
Treehugger Robot [Wed, 21 Dec 2016 19:47:31 +0000 (19:47 +0000)]
Merge "Expose ScanResult#untrusted as a @SystemApi."

7 years agoExpose ScanResult#untrusted as a @SystemApi.
Amin Shaikh [Sat, 10 Dec 2016 01:11:50 +0000 (17:11 -0800)]
Expose ScanResult#untrusted as a @SystemApi.

- Expose ScanResult#untrusted to inform NetworkRecommendationProviders
  that a ScanResult does not correspond to a saved network.
- Add static construction methods and assertions to RecommendationResult

Test: runtest frameworks-services

Bug: 33490132
Change-Id: If7006040f63843c1c468c9d95c5c017383c5c5dd
Merged-In: If7006040f63843c1c468c9d95c5c017383c5c5dd

7 years agoUnihiding REFRESH_SUPPORTED and ContentProviderClient#refresh.
Ben Lin [Wed, 21 Dec 2016 19:45:03 +0000 (11:45 -0800)]
Unihiding REFRESH_SUPPORTED and ContentProviderClient#refresh.

Test: Only unhiding previously hidden methods.
Change-Id: Id1731b64b86760d3249855d685d8cb83721596fc

7 years agoMerge "Renamed "Demo mode" to "System UI demo mode""
Sean Stout [Wed, 21 Dec 2016 19:36:49 +0000 (19:36 +0000)]
Merge "Renamed "Demo mode" to "System UI demo mode""

7 years agoHardwarePropertiesManagerService: Fixup log message typo
Todd Poynor [Wed, 21 Dec 2016 01:19:28 +0000 (17:19 -0800)]
HardwarePropertiesManagerService: Fixup log message typo

Trivial typo fixup for IThermal HAL interface load failure.

Test: visual
Change-Id: I10eb01b656a95c5e007d57ff40c16b472e9f53a9

7 years agoMove ContextHubService to a better location.
Ashutosh Joshi [Wed, 21 Dec 2016 00:34:41 +0000 (16:34 -0800)]
Move ContextHubService to a better location.

Move ContextHub service from system core to a more appropriate place
for a service.

Test: GTS tests pass.

Change-Id: Ie0f25414fc472a0214c0dd94e7ad4564cd38f842

7 years agoMerge "Finish up API for missing content:// flags."
Jeff Sharkey [Wed, 21 Dec 2016 19:28:01 +0000 (19:28 +0000)]
Merge "Finish up API for missing content:// flags."

7 years agoMerge "Reconnect to installd when it restarts." am: 48d5d6cda8 am: fe35f0f4f6
Jeff Sharkey [Wed, 21 Dec 2016 19:06:21 +0000 (19:06 +0000)]
Merge "Reconnect to installd when it restarts." am: 48d5d6cda8 am: fe35f0f4f6
am: e286d1b2f8

Change-Id: Ib7ff45fee2865a28e7cb138d9fd418d7a3e50c94

7 years agoMerge "Reconnect to installd when it restarts." am: 48d5d6cda8
Jeff Sharkey [Wed, 21 Dec 2016 19:01:55 +0000 (19:01 +0000)]
Merge "Reconnect to installd when it restarts." am: 48d5d6cda8
am: fe35f0f4f6

Change-Id: I63a78822f4a4c3c4d6e71af721c7a31a5bdba03a

7 years agoMerge "Reconnect to installd when it restarts."
Jeff Sharkey [Wed, 21 Dec 2016 18:56:47 +0000 (18:56 +0000)]
Merge "Reconnect to installd when it restarts."
am: 48d5d6cda8

Change-Id: Ib4c4ced58f5963465f1e2d3eb401a8c71624ac12

7 years agoMerge "Merge "DO NOT MERGE - Delete the separate grid recents activity and related...
Android Build Merger (Role) [Wed, 21 Dec 2016 18:50:08 +0000 (18:50 +0000)]
Merge "Merge "DO NOT MERGE - Delete the separate grid recents activity and related code" into nyc-mr2-dev am: 09c0fdca7b am: ceebe36a17  -s ours"

7 years agoMerge "Relax protected broadcast checks for shell."
Jeff Sharkey [Wed, 21 Dec 2016 18:49:26 +0000 (18:49 +0000)]
Merge "Relax protected broadcast checks for shell."

7 years agoMerge "DO NOT MERGE - Delete the separate grid recents activity and related code...
Manu Cornet [Wed, 21 Dec 2016 18:49:23 +0000 (18:49 +0000)]
Merge "DO NOT MERGE - Delete the separate grid recents activity and related code" into nyc-mr2-dev am: 09c0fdca7b
am: ceebe36a17  -s ours

Change-Id: Iaad62a9f61be795b774935a8001309542a4349ea

7 years agoMerge "DO NOT MERGE - Delete the separate grid recents activity and related code...
Android Build Merger (Role) [Wed, 21 Dec 2016 18:47:01 +0000 (18:47 +0000)]
Merge "DO NOT MERGE - Delete the separate grid recents activity and related code am: e93f8100a6 am: 15b6c78534  -s ours"

7 years agoDO NOT MERGE - Delete the separate grid recents activity and related code am: e93f8100a6
Manu Cornet [Wed, 21 Dec 2016 18:46:16 +0000 (18:46 +0000)]
DO NOT MERGE - Delete the separate grid recents activity and related code am: e93f8100a6
am: 15b6c78534  -s ours

Change-Id: Ib0e4db2823ba7ddd70c41f9b60b97f5c3e5e5fe7

7 years agoMerge "Merge changes from topic 'diskstats-mr2' into nyc-mr2-dev am: 639f95dd13 am...
Android Build Merger (Role) [Wed, 21 Dec 2016 18:45:54 +0000 (18:45 +0000)]
Merge "Merge changes from topic 'diskstats-mr2' into nyc-mr2-dev am: 639f95dd13 am: 6ee226f6e6"

7 years agoMerge "Revert "Settings recovery support""
Fyodor Kupolov [Wed, 21 Dec 2016 18:45:44 +0000 (18:45 +0000)]
Merge "Revert "Settings recovery support""

7 years agoMerge "Reconnect to installd when it restarts."
Jeff Sharkey [Wed, 21 Dec 2016 18:45:45 +0000 (18:45 +0000)]
Merge "Reconnect to installd when it restarts."

7 years agoMerge changes from topic 'diskstats-mr2' into nyc-mr2-dev am: 639f95dd13
Daniel Nishi [Wed, 21 Dec 2016 18:45:08 +0000 (18:45 +0000)]
Merge changes from topic 'diskstats-mr2' into nyc-mr2-dev am: 639f95dd13
am: 6ee226f6e6

Change-Id: I5bc188cec8da267e046aa1d9bb5aaa2338a0ecd7

7 years agoMerge changes from topic 'am-caa9190d4d3243e3bd21c7d512d1026a'
Android Build Merger (Role) [Wed, 21 Dec 2016 18:44:16 +0000 (18:44 +0000)]
Merge changes from topic 'am-caa9190d4d3243e3bd21c7d512d1026a'

* changes:
  Augment diskstats dumpsys to have categorization and apps. am: 090b2d9d6c am: f1312cd68e
  Add a file collector to the platform. am: be770dce08 am: a9d8602787  -s ours
  Merge "Add an app size collector." into nyc-mr2-dev am: 8fd55702b1 am: 9bd20ab6c9
  Add an app size collector. am: c7d9de59bf am: f5e2f1ae38  -s ours

7 years agoMerge "Enable multi-dex for coverage builds to fix breakage" into nyc-mr2-dev
Daniel Nishi [Wed, 21 Dec 2016 18:44:14 +0000 (18:44 +0000)]
Merge "Enable multi-dex for coverage builds to fix breakage" into nyc-mr2-dev
am: fbe70a3e93

Change-Id: I05bf62c7d4b5d0a98b30ed8b8748d6afe919133f

7 years agoEnable multi-dex for coverage builds to fix breakage
Allen Hair [Wed, 21 Dec 2016 18:44:08 +0000 (18:44 +0000)]
Enable multi-dex for coverage builds to fix breakage
am: 77a51d1274

Change-Id: Ife18d443d4c6a7ffcdb183cee3f7317efafbab38

7 years agoAugment diskstats dumpsys to have categorization and apps. am: 090b2d9d6c
Daniel Nishi [Wed, 21 Dec 2016 18:42:21 +0000 (18:42 +0000)]
Augment diskstats dumpsys to have categorization and apps. am: 090b2d9d6c
am: f1312cd68e

Change-Id: I0b806397068dcb1551081695d6301fed639532c6

7 years agoAdd a file collector to the platform. am: be770dce08
Daniel Nishi [Wed, 21 Dec 2016 18:41:03 +0000 (18:41 +0000)]
Add a file collector to the platform. am: be770dce08
am: a9d8602787  -s ours

Change-Id: I24f4f8e829ce15dd55a91385ac8d1e622caf0c08

7 years agoMerge "Add an app size collector." into nyc-mr2-dev am: 8fd55702b1
Daniel Nishi [Wed, 21 Dec 2016 18:40:02 +0000 (18:40 +0000)]
Merge "Add an app size collector." into nyc-mr2-dev am: 8fd55702b1
am: 9bd20ab6c9

Change-Id: Idb68b4178105c60f6c9bbaa3b87c712603d5153c

7 years agoMerge "Add DocumentsContract#ACTION_DOCUMENT_SETTINGS and Documents#FLAG_SUPPORTS_SET...
Ben Lin [Wed, 21 Dec 2016 18:39:46 +0000 (18:39 +0000)]
Merge "Add DocumentsContract#ACTION_DOCUMENT_SETTINGS and Documents#FLAG_SUPPORTS_SETTINGS."

7 years agoAdd an app size collector. am: c7d9de59bf
Daniel Nishi [Wed, 21 Dec 2016 18:39:02 +0000 (18:39 +0000)]
Add an app size collector. am: c7d9de59bf
am: f5e2f1ae38  -s ours

Change-Id: I49364545deb6a857d21c33fab2bebd8bd590b666

7 years agoMerge "Enable multi-dex for coverage builds to fix breakage" into nyc-mr2-dev
Daniel Nishi [Wed, 21 Dec 2016 18:37:25 +0000 (18:37 +0000)]
Merge "Enable multi-dex for coverage builds to fix breakage" into nyc-mr2-dev

7 years agomedia volume --get outputs the current volume
Frank Barchard [Tue, 20 Dec 2016 01:22:00 +0000 (17:22 -0800)]
media volume --get outputs the current volume

Add --get option to media volume to fetch the specified
stream volume and output it on the console.
Also displays the min and max volume for that stream.

Bug: 33559057
Test: adb shell media volume --stream 3 --get
Change-Id: Icc82ba1349dd75e07ccff4872e104843a69e5f17

7 years agoRevert "Settings recovery support"
Fyodor Kupolov [Wed, 21 Dec 2016 17:54:31 +0000 (17:54 +0000)]
Revert "Settings recovery support"

This reverts commit aa31697424064f823019c068d66fac704e5a2fc1.

Fixes: 33799277
Change-Id: I438e97c6a81512c673f20f6a01d3b9715c2dbf8a

7 years agoMerge "DO NOT MERGE - Disabled swiping in Grid-based Recents." into nyc-mr2-dev
Jiaquan He [Wed, 21 Dec 2016 18:18:39 +0000 (18:18 +0000)]
Merge "DO NOT MERGE - Disabled swiping in Grid-based Recents." into nyc-mr2-dev
am: b9606a5d09

Change-Id: I3888fc06f40661f73689a71b3db83a52ccbb7c89

7 years agoDO NOT MERGE - Disabled swiping in Grid-based Recents.
Jiaquan He [Wed, 21 Dec 2016 18:18:34 +0000 (18:18 +0000)]
DO NOT MERGE - Disabled swiping in Grid-based Recents.
am: 620aebabb2

Change-Id: I24914bfe923ec251adff8c931c32398c013ac581

7 years agoMerge "DO NOT MERGE - Disabled swiping in Grid-based Recents." into nyc-mr2-dev
TreeHugger Robot [Wed, 21 Dec 2016 18:09:45 +0000 (18:09 +0000)]
Merge "DO NOT MERGE - Disabled swiping in Grid-based Recents." into nyc-mr2-dev

7 years agoFinish up API for missing content:// flags.
Jeff Sharkey [Wed, 21 Dec 2016 17:48:42 +0000 (10:48 -0700)]
Finish up API for missing content:// flags.

Feature is already built under the hood, but it needs it's own public
StrictMode API so it can be independently enabled.

Test: builds, boots
Bug: 32447617
Change-Id: I3c0c6d62dd36aaf25f30e0ef8e0e7b40cf32c6d2

7 years agoAllowing heads-up notifications now on the lock screen
Selim Cinek [Wed, 21 Dec 2016 17:23:11 +0000 (18:23 +0100)]
Allowing heads-up notifications now on the lock screen

In order to isolate notifications properly from their group
and in order to allow them to visually reorder, we now allow
heads up notifications on the lock screen.

Change-Id: I1d04a92e66ae92ecee4f8ee23b218c2b167dadd4
Test: existing tests pass
Test: add heads up on lockscreen
Test: heads up group child on lockscreen
Bug: 32442500

7 years agoEnable multi-dex for coverage builds to fix breakage
Allen Hair [Thu, 22 Sep 2016 16:58:06 +0000 (09:58 -0700)]
Enable multi-dex for coverage builds to fix breakage

Test: m PRODUCT-bullhead-userdebug showcommands dist EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true SKIP_BOOT_JARS_CHECK=true WITH_DEXPREOPT=false tests
Change-Id: I6a324cbd0dc078ad2903345a069385d9f0d179ff
(cherry picked from commit aeaee4c5fe9a71949ddd701f2590559819bfe072)

7 years agoRelax protected broadcast checks for shell.
Jeff Sharkey [Wed, 21 Dec 2016 16:56:00 +0000 (09:56 -0700)]
Relax protected broadcast checks for shell.

On userdebug/eng devices, the shell can run as non-shell UIDs, so
define a flag to identify broadcasts coming from the shell, and
don't yell if they're non-protected.

Test: builds, boots, root shell can send broadcasts
Bug: 32369665
Change-Id: I5f55930ee434cb8318c86aaf05eba3c59a326694

7 years agoMerge "Don't automatically remove autogroup summaries"
Julia Reynolds [Wed, 21 Dec 2016 16:28:02 +0000 (16:28 +0000)]
Merge "Don't automatically remove autogroup summaries"