OSDN Git Service

android-x86/frameworks-base.git
7 years agoSwitch to HIDL service based HAL
Ashutosh Joshi [Wed, 23 Nov 2016 21:56:39 +0000 (13:56 -0800)]
Switch to HIDL service based HAL

Switch to using HIDL service based HAL.
Some cleanup.

Test: GTS tests pass

Change-Id: Icf133fe4ead56336973dc50c4ec2aab18382a8ca

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 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 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 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 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"

7 years agoReconnect to installd when it restarts.
Jeff Sharkey [Wed, 21 Dec 2016 16:18:33 +0000 (09:18 -0700)]
Reconnect to installd when it restarts.

Test: builds, boots, reconnects when installd dies
Bug: 33695164
Change-Id: I29769a111783095f742ad81af779a7403ca52ff3

7 years agoMerge "Expose hidden constant."
Julia Reynolds [Wed, 21 Dec 2016 16:17:18 +0000 (16:17 +0000)]
Merge "Expose hidden constant."

7 years agoMerge "Revert "Fast-path for ViewGroup#invalidateChild, invalidate tests""
Selim Cinek [Wed, 21 Dec 2016 15:57:35 +0000 (15:57 +0000)]
Merge "Revert "Fast-path for ViewGroup#invalidateChild, invalidate tests""

7 years agoRevert "Fast-path for ViewGroup#invalidateChild, invalidate tests"
Selim Cinek [Wed, 21 Dec 2016 15:34:30 +0000 (15:34 +0000)]
Revert "Fast-path for ViewGroup#invalidateChild, invalidate tests"

This reverts commit f7505803eaf3b31bae81151535ce6c05c58712be.

Change-Id: Ie7714360357e2baaf7723b8d992b3c6c4b0b9989

7 years agoMerge "Record data about dex files use on disk"
Calin Juravle [Wed, 21 Dec 2016 13:34:16 +0000 (13:34 +0000)]
Merge "Record data about dex files use on disk"

7 years agoMerge changes Ic88e8094,I4253bf4b,Iba4ebd3c,I943b6352,If88c0b08, ...
Selim Cinek [Wed, 21 Dec 2016 12:23:01 +0000 (12:23 +0000)]
Merge changes Ic88e8094,I4253bf4b,Iba4ebd3c,I943b6352,If88c0b08, ...

* changes:
  Made it easier to use updatable Animators
  Improved the interpolators of the icon appearing
  Modified the way icons merge into the shelf
  Fixed a potential heads up crash
  Fixed a bug where the notifications would close on back
  Bye bye veto button
  Only requiring 2 taps for accessibility on lock screen
  Fixed a bug where systemui could crash
  Introduced the visual stability manager
  Removing notifications always immediately when swiping them away

7 years agoMade it easier to use updatable Animators
Selim Cinek [Tue, 20 Dec 2016 13:32:19 +0000 (14:32 +0100)]
Made it easier to use updatable Animators

The existing system is extended such that AnimationProperties
can be easier animated and running animations updated.

As a first sample this animates the scale of the
icons in the shelf.

Change-Id: Ic88e8094d53f37ab13f5e9e00796b63d229a5114
Test: runtest systemui
Bug: 32437839

7 years agoImproved the interpolators of the icon appearing
Selim Cinek [Tue, 20 Dec 2016 12:17:03 +0000 (13:17 +0100)]
Improved the interpolators of the icon appearing

The interpolator has now a slight overshoot to it again.

Change-Id: I4253bf4b2cf9d471e3aa8c9483c9bcb88c2b3032
Test: add notifications, observe icon movement
Bug: 32437839

7 years agoMerge "Add logic for recording dex files use on disk"
Calin Juravle [Wed, 21 Dec 2016 11:03:07 +0000 (11:03 +0000)]
Merge "Add logic for recording dex files use on disk"

7 years agoModified the way icons merge into the shelf
Selim Cinek [Thu, 15 Dec 2016 00:31:40 +0000 (16:31 -0800)]
Modified the way icons merge into the shelf

The icon can now also move into the shelf in an animated
way instead of just moving out of it.

Change-Id: Iba4ebd3cd48b5299b89bd0cb2b05bd318e352173
Fixes: 33463805
Test: add notification observe behavior when scrolling

7 years agoFixed a potential heads up crash
Selim Cinek [Sat, 17 Dec 2016 00:56:41 +0000 (16:56 -0800)]
Fixed a potential heads up crash

If a group became suppressed with a summary that is
heads-upped, while also being in the process of being
removed, it could lead to a crash.

Test: isolate a HUN that was being removed and is a child
Change-Id: I943b63529778a3c85b03da033837f5a677b2d352
Fixes: 33645653

7 years agoFixed a bug where the notifications would close on back
Selim Cinek [Thu, 15 Dec 2016 22:14:29 +0000 (14:14 -0800)]
Fixed a bug where the notifications would close on back

When the panel collapsing was aborted or couldn't close
because we were tracking, then the panel wouldn't be
focusable anymore so it wouldn't handle the back pressed
for example.

Change-Id: If88c0b08301dccf8c2dcd79df5239e12fc83cce5
Test: click back while expanding, click back again when expanding finished, observe collapsing.
Fixes: 33260393

7 years agoBye bye veto button
Selim Cinek [Wed, 14 Dec 2016 22:41:01 +0000 (14:41 -0800)]
Bye bye veto button

You were just overruled by the congress
of usefulness.
In other bad joke news: this also fixes a bug
where it was focusable.

Test: dismiss notification, observe it working
Change-Id: I6d170563d0c4371066ce7b149bc40053e41ca5e2
Fixes: 32127661

7 years agoOnly requiring 2 taps for accessibility on lock screen
Selim Cinek [Wed, 14 Dec 2016 00:06:02 +0000 (16:06 -0800)]
Only requiring 2 taps for accessibility on lock screen

On the lock screen we were requiring two double taps
in order to unlock to a notification, which seems excessive
especially since talkback do their own falsing already.

Test: add notification with talkback on, try double tap
Test: add notification without talkback, existing logic still works
Bug: 32945599
Change-Id: I07e0e4299140644f62d311d8db25ec25ff138fde

7 years agoMerge "Report non-primary dex files loads to PM" am: f23ea2ca62 am: 78b3889804
Calin Juravle [Wed, 21 Dec 2016 10:14:42 +0000 (10:14 +0000)]
Merge "Report non-primary dex files loads to PM" am: f23ea2ca62 am: 78b3889804
am: 9947e79b26

Change-Id: I8ddb7756c0690584343cb026a298bc5f0b8d4e27

7 years agoMerge "Report non-primary dex files loads to PM" am: f23ea2ca62
Calin Juravle [Wed, 21 Dec 2016 10:09:45 +0000 (10:09 +0000)]
Merge "Report non-primary dex files loads to PM" am: f23ea2ca62
am: 78b3889804

Change-Id: Iaf17def2729170403fa61ce0e09ced4675a47191

7 years agoMerge "Report non-primary dex files loads to PM"
Calin Juravle [Wed, 21 Dec 2016 10:04:39 +0000 (10:04 +0000)]
Merge "Report non-primary dex files loads to PM"
am: f23ea2ca62

Change-Id: I5eb9f8c8bc7e66c074adb95ad5dfec412cec539c

7 years agoMerge "Report non-primary dex files loads to PM"
Calin Juravle [Wed, 21 Dec 2016 09:57:40 +0000 (09:57 +0000)]
Merge "Report non-primary dex files loads to PM"

7 years agoMerge "CEC: Dump recent message history for better logging"
TreeHugger Robot [Wed, 21 Dec 2016 07:37:28 +0000 (07:37 +0000)]
Merge "CEC: Dump recent message history for better logging"

7 years agoturn off warning that proto generated code causes.
Joe Onorato [Tue, 20 Dec 2016 20:29:48 +0000 (12:29 -0800)]
turn off warning that proto generated code causes.

Test: make
Change-Id: Ife3006dc16691dd95a2cc3d36c9b8832970601c9