OSDN Git Service

android-x86/frameworks-base.git
5 years agoApiLint: Allow parsing 2.0 API signature files
Adrian Roos [Thu, 3 Jan 2019 17:54:33 +0000 (18:54 +0100)]
ApiLint: Allow parsing 2.0 API signature files

Test: tools/apilint/apilint_sha.sh HEAD
Test: python tools/apilint/apilint_test.py
Change-Id: Id2e1792392b3626746f1ec99f481d0cb27e523a1

5 years agoMerge "Stop exposing reasons through phone state listener"
TreeHugger Robot [Sat, 5 Jan 2019 11:21:33 +0000 (11:21 +0000)]
Merge "Stop exposing reasons through phone state listener"

5 years agoMerge "Move all resources for PermissionController"
TreeHugger Robot [Sat, 5 Jan 2019 05:45:16 +0000 (05:45 +0000)]
Merge "Move all resources for PermissionController"

5 years agoMerge "MediaPlayer: handle concurrency on mTimeProvider"
TreeHugger Robot [Sat, 5 Jan 2019 03:22:58 +0000 (03:22 +0000)]
Merge "MediaPlayer: handle concurrency on mTimeProvider"

5 years agoMerge "Forward volume keys when system audio mode off and property set"
TreeHugger Robot [Sat, 5 Jan 2019 02:56:24 +0000 (02:56 +0000)]
Merge "Forward volume keys when system audio mode off and property set"

5 years agoMerge "Update fonts.xml with user customization fonts."
TreeHugger Robot [Sat, 5 Jan 2019 02:33:33 +0000 (02:33 +0000)]
Merge "Update fonts.xml with user customization fonts."

5 years agoMerge changes from topics "trashz", "bucketz"
Jeff Sharkey [Sat, 5 Jan 2019 02:33:26 +0000 (02:33 +0000)]
Merge changes from topics "trashz", "bucketz"

* changes:
  Public APIs for "trashing" media.
  Define secondary media item bucketing.

5 years agoMerge "GUP: Add metrics constant for GUP UI"
TreeHugger Robot [Sat, 5 Jan 2019 02:26:05 +0000 (02:26 +0000)]
Merge "GUP: Add metrics constant for GUP UI"

5 years agoMerge "Fix WCDMA Level Calculation for Default CC" am: 3ada51469a am: e3db7cfb12
Nathan Harold [Sat, 5 Jan 2019 02:03:31 +0000 (18:03 -0800)]
Merge "Fix WCDMA Level Calculation for Default CC" am: 3ada51469a am: e3db7cfb12
am: 8339fc246b

Change-Id: I27985f27d8175ca374e6a63197cdbf087d201bb8

5 years agoMerge "Fix WCDMA Level Calculation for Default CC" am: 3ada51469a
Nathan Harold [Sat, 5 Jan 2019 01:53:11 +0000 (17:53 -0800)]
Merge "Fix WCDMA Level Calculation for Default CC" am: 3ada51469a
am: e3db7cfb12

Change-Id: I1772eed2663d6e421a17a268f9fb4844d0118c36

5 years agoMerge "Fix WCDMA Level Calculation for Default CC"
Nathan Harold [Sat, 5 Jan 2019 01:43:28 +0000 (17:43 -0800)]
Merge "Fix WCDMA Level Calculation for Default CC"
am: 3ada51469a

Change-Id: I7f5f0fca6c5b92a87d9ba276a48fdc00e919a490

5 years agoMerge "Add tryCreateView to LayoutInflater" am: aa8f1b7033 am: 07b293f8af
Eric Holk [Sat, 5 Jan 2019 01:40:54 +0000 (17:40 -0800)]
Merge "Add tryCreateView to LayoutInflater" am: aa8f1b7033 am: 07b293f8af
am: 9b9c255b88

Change-Id: I26f0e3d18e8a27bd9fb7745f3a7af4ca347237fe

5 years agoMerge "Add tryCreateView to LayoutInflater" am: aa8f1b7033
Eric Holk [Sat, 5 Jan 2019 01:27:45 +0000 (17:27 -0800)]
Merge "Add tryCreateView to LayoutInflater" am: aa8f1b7033
am: 07b293f8af

Change-Id: Ia835f7a7488a084c72fd5722c91d01ddb427ea19

5 years agoMerge "Fix WCDMA Level Calculation for Default CC"
Nathan Harold [Sat, 5 Jan 2019 01:25:14 +0000 (01:25 +0000)]
Merge "Fix WCDMA Level Calculation for Default CC"

5 years agoMerge "Add tryCreateView to LayoutInflater"
Eric Holk [Sat, 5 Jan 2019 01:17:28 +0000 (17:17 -0800)]
Merge "Add tryCreateView to LayoutInflater"
am: aa8f1b7033

Change-Id: Ib89a1d1b292aca7404d646ff61974558422fc959

5 years agoMerge "Add tryCreateView to LayoutInflater"
Treehugger Robot [Sat, 5 Jan 2019 01:02:28 +0000 (01:02 +0000)]
Merge "Add tryCreateView to LayoutInflater"

5 years agoMerge "Moves icon management to NotificationRowBinder."
TreeHugger Robot [Sat, 5 Jan 2019 00:52:07 +0000 (00:52 +0000)]
Merge "Moves icon management to NotificationRowBinder."

5 years agoMerge "Skip forced package verification if fs-verity exists"
Victor Hsieh [Sat, 5 Jan 2019 00:27:56 +0000 (00:27 +0000)]
Merge "Skip forced package verification if fs-verity exists"

5 years agoMerge "Revert "Added app context to smart screen brightness.""
Sudheer Shanka [Sat, 5 Jan 2019 00:22:14 +0000 (00:22 +0000)]
Merge "Revert "Added app context to smart screen brightness.""

5 years agoMerge "Move ShadeController to SystemUIFactory to allow customization."
TreeHugger Robot [Fri, 4 Jan 2019 23:48:22 +0000 (23:48 +0000)]
Merge "Move ShadeController to SystemUIFactory to allow customization."

5 years agoMerge "Fixes notification swipe snapping when menu is empty."
TreeHugger Robot [Fri, 4 Jan 2019 23:38:38 +0000 (23:38 +0000)]
Merge "Fixes notification swipe snapping when menu is empty."

5 years agoMediaPlayer: handle concurrency on mTimeProvider
Wei Jia [Thu, 3 Jan 2019 22:02:55 +0000 (14:02 -0800)]
MediaPlayer: handle concurrency on mTimeProvider

Bug: 118341983
Test: cts
Change-Id: Ieaf082b7dbc3cb93c2398e935ead77ca1810c62a

5 years agoMerge "A brave new world for window insets (7/n)"
Jorim Jaggi [Fri, 4 Jan 2019 23:21:24 +0000 (23:21 +0000)]
Merge "A brave new world for window insets (7/n)"

5 years agoMerge "Removes unused fields from NotificationEntryManager."
TreeHugger Robot [Fri, 4 Jan 2019 23:19:55 +0000 (23:19 +0000)]
Merge "Removes unused fields from NotificationEntryManager."

5 years agoPublic APIs for "trashing" media.
Jeff Sharkey [Fri, 4 Jan 2019 23:09:18 +0000 (16:09 -0700)]
Public APIs for "trashing" media.

The "delete" operation is immediate and permanent, and users may wish
to instead mark content as being "trashed", so they can recover
accidentally trashed items before they're permanently deleted.

The default trash timeout is 48 hours, which should be enough time
to recover items the user cares about.  Apps can also use a custom
timeout if desired.

This is implemented by recording an "expiration" time for trashed
items, and deleting expired items during the next idle maintenance
pass.  Also use this expiration time to clean up pending items that
haven't been published; by default apps have a day to publish
pending items.

Bug: 121227045
Test: atest MediaProviderTests
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I2e371b308dc135ad5363709a6f5385e4456bcb96

5 years agoMerge "Rename accent color and icon shape overlay."
TreeHugger Robot [Fri, 4 Jan 2019 23:07:26 +0000 (23:07 +0000)]
Merge "Rename accent color and icon shape overlay."

5 years agoSkip forced package verification if fs-verity exists
Victor Hsieh [Fri, 14 Dec 2018 23:59:03 +0000 (15:59 -0800)]
Skip forced package verification if fs-verity exists

Unlike the original implementation, package can be verified with an
in-kernel trusted keyring.  In this case, we simply need to know if
fs-verity exists for the file.

Test: observed expected behavior with extra debug log
Bug: 112037636
Change-Id: I7a6ff35853f24f5a0a2727ddef376f9857a2d789

5 years agoMerge "Merge "Deprecate Android beam APIs and create a feature flag to gate them...
Android Build Merger (Role) [Fri, 4 Jan 2019 22:20:54 +0000 (22:20 +0000)]
Merge "Merge "Deprecate Android beam APIs and create a feature flag to gate them" am: 6a3d45c4b2 am: d0c8a165d8 am: a33da54c8d"

5 years agoMerge changes from topic "foreground-service-controller-2"
TreeHugger Robot [Fri, 4 Jan 2019 22:20:45 +0000 (22:20 +0000)]
Merge changes from topic "foreground-service-controller-2"

* changes:
  Factors out notification listening from ForegroundServiceController.
  Collapses ForegroundServiceControllerImpl into interface.

5 years agoMerge "Deprecate Android beam APIs and create a feature flag to gate them" am: 6a3d45...
Ruchi Kandoi [Fri, 4 Jan 2019 22:18:15 +0000 (14:18 -0800)]
Merge "Deprecate Android beam APIs and create a feature flag to gate them" am: 6a3d45c4b2 am: d0c8a165d8
am: a33da54c8d

Change-Id: I1eda6b7d5879045e6bd35821ee5368ef72855942

5 years agoStop exposing reasons through phone state listener
Jack Yu [Thu, 3 Jan 2019 00:51:08 +0000 (16:51 -0800)]
Stop exposing reasons through phone state listener

The data connection reasons are implementation details
of telephony and should not be exposed externally. The
data connection fail cause, which is different from
reasons, are still available.

Test: Telephony sanity tests + unit tests
Bug: 73659459

Change-Id: Ia005abf19664e6213118ee932495950af118456d

5 years agoForward volume keys when system audio mode off and property set
Shubang Lu [Thu, 2 Aug 2018 01:11:46 +0000 (18:11 -0700)]
Forward volume keys when system audio mode off and property set

cherry-pick ag/4968405

Bug: 80296335
Test: make; local tests
Change-Id: I04b7cd0958c9300a76f6337ee891b5f4947484ad

5 years agoMerge "Deprecate Android beam APIs and create a feature flag to gate them" am: 6a3d45c4b2
Ruchi Kandoi [Fri, 4 Jan 2019 22:06:55 +0000 (14:06 -0800)]
Merge "Deprecate Android beam APIs and create a feature flag to gate them" am: 6a3d45c4b2
am: d0c8a165d8

Change-Id: I886941a5011fdf204fe62c1162dd2ad69d466f62

5 years agoMerge "Deprecate Android beam APIs and create a feature flag to gate them"
Ruchi Kandoi [Fri, 4 Jan 2019 21:57:48 +0000 (13:57 -0800)]
Merge "Deprecate Android beam APIs and create a feature flag to gate them"
am: 6a3d45c4b2

Change-Id: I6305379f787de122e35a9a2a12eb9f99385da4df

5 years agoMerge "Deprecate Android beam APIs and create a feature flag to gate them"
Treehugger Robot [Fri, 4 Jan 2019 21:49:14 +0000 (21:49 +0000)]
Merge "Deprecate Android beam APIs and create a feature flag to gate them"

5 years agoDeprecate Android beam APIs and create a feature flag to gate them
Ruchi Kandoi [Tue, 23 Oct 2018 21:40:29 +0000 (14:40 -0700)]
Deprecate Android beam APIs and create a feature flag to gate them

Test: Test application trying to invoke the API
Bug: 117519147
Change-Id: Icd3187e4f3e0f180cb42d36011f60895fb395002

5 years agoMoves icon management to NotificationRowBinder.
Gus Prevas [Fri, 4 Jan 2019 21:46:13 +0000 (16:46 -0500)]
Moves icon management to NotificationRowBinder.

This change moves the calls in NotificationEntryManager to
NotificationData.Entry.createIcons() and .removeIcons() to
NotificationRowBinder.inflateViews() to encapsulate all the view
handling in the latter class (and so that we can eventually not create
those icon views right away).

Test: atest SystemUITests, manually
Change-Id: Ie515c85b81ce6ad5de607b83e8f242d7ae03326e

5 years agoRevert "Added app context to smart screen brightness."
Sudheer Shanka [Fri, 4 Jan 2019 20:30:14 +0000 (20:30 +0000)]
Revert "Added app context to smart screen brightness."

This reverts commit 54478d9cab3634482b12e8a834db89ac4788437b.

Reason for revert: Broke work profile apps (http://b/122107873)

Bug: 111425369
Bug: 122107873
Change-Id: I7e3bf97725d542eb92a04bc75662ca6680287ba2

5 years agoFix WCDMA Level Calculation for Default CC
Nathan Harold [Thu, 3 Jan 2019 18:30:31 +0000 (10:30 -0800)]
Fix WCDMA Level Calculation for Default CC

The default carrier config was setting the level
calculation method to an empty string, which caused
the level to be set forcibly to NONE/UNKNOWN due to
the logic failing to account for empty strings. This
patch sets the default to something sane "rssi" that
matches legacy behavior and also adds guards so that
an empty string will be considered default, and a non
empty but otherwise invalid string will also try to
use RSSI instead of simply failing to display signal
bars.

-Add protection against invalid array sizes
-Fix a bug where RSCP could use RSSI thresholds
-Add fallback for RSCP thresholds being null when the
 measurement type is set to RSCP.
-Define RSCP thresholds as constants.

Bug: 118800169
Test: atest CellSignalStrengthWcdmaTest
Change-Id: I8d6261bc5adab6bf9b0a88f7d59b259d338a49e9

5 years agoDefine secondary media item bucketing.
Jeff Sharkey [Fri, 4 Jan 2019 21:17:48 +0000 (14:17 -0700)]
Define secondary media item bucketing.

The existing buckets work well for first-level clustering of related
media, but it's common for multiple media items within a directory
to form a conceptual unit.  To support this, we're creating a
second-level of bucketing which is formed using the first part of
the file name.

This supports common industry-standard patterns like:

    IMG1024.JPG
    IMG1024.CR2

While also opening the door to further flexibility in the future:

    IMG1024.JPG
    IMG1024.HDR.JPG
    IMG1024.BURST001.JPG
    IMG1024.BURST002.JPG
    IMG1024.BURST003.JPG
    IMG1024.DNG
    IMG1024.DEBUG.BIN

We're currently advocating that the default representation of one of
these secondary clusters is the shortest .JPG filename contained
inside, with length ties broken alphabetically.

Clean up database management so that upgraded schema always matches
pristine schema, with tests to verify.  Generate views using the
actual projection mappings used at runtime.

Bug: 115377970
Test: atest MediaProviderTests
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: Ic679055ab6c884d2048626f51670a5dd370281c0

5 years agoRemoves unused fields from NotificationEntryManager.
Gus Prevas [Fri, 4 Jan 2019 21:06:12 +0000 (16:06 -0500)]
Removes unused fields from NotificationEntryManager.

Test: atest SystemUITests
Change-Id: Ia2b361fbfa9d3aa3c18a9a4577eda28bdc22b080

5 years agoAdd tryCreateView to LayoutInflater
Eric Holk [Fri, 14 Dec 2018 18:27:29 +0000 (10:27 -0800)]
Add tryCreateView to LayoutInflater

This method is needed so that precompiled layouts can reuse the factory logic
from the LayoutInflater.

Bug: 111895153
Test: atest android.view.cts.LayoutInflaterTest
Change-Id: Ifd1028906b655af2bd14247d586dc16b35550c82

5 years agoMerge "Merge changes from topic "multi-se-support" am: 54502d68ea am: 9c0ec9be9f...
Android Build Merger (Role) [Fri, 4 Jan 2019 20:40:43 +0000 (20:40 +0000)]
Merge "Merge changes from topic "multi-se-support" am: 54502d68ea am: 9c0ec9be9f am: 650ff88a4c"

5 years agoMerge changes from topic "multi-se-support" am: 54502d68ea am: 9c0ec9be9f
Ruchi Kandoi [Fri, 4 Jan 2019 20:38:53 +0000 (12:38 -0800)]
Merge changes from topic "multi-se-support" am: 54502d68ea am: 9c0ec9be9f
am: 650ff88a4c

Change-Id: I562af1c9c1b0c254d8b23466caceb94ef767aa1f

5 years agoMerge "Set bounds from previous modifiers for fullscreen"
TreeHugger Robot [Fri, 4 Jan 2019 20:36:18 +0000 (20:36 +0000)]
Merge "Set bounds from previous modifiers for fullscreen"

5 years agoMerge changes from topic "multi-se-support" am: 54502d68ea
Ruchi Kandoi [Fri, 4 Jan 2019 20:25:13 +0000 (12:25 -0800)]
Merge changes from topic "multi-se-support" am: 54502d68ea
am: 9c0ec9be9f

Change-Id: Ieca9b142094c8c568409290fdf690fad529ef604

5 years agoMerge "Fix/suppress aapt/aapt2 google-explicit-constructor warnings" am: cdf6be573f...
Chih-Hung Hsieh [Fri, 4 Jan 2019 20:20:01 +0000 (12:20 -0800)]
Merge "Fix/suppress aapt/aapt2 google-explicit-constructor warnings" am: cdf6be573f am: d42fe48c93
am: 0bf62f1309

Change-Id: Iffb7e4a145b172a35dd58b9450d4a5184d8b07f7

5 years agoMerge "Let the clock be updated in real time during the pulse"
TreeHugger Robot [Fri, 4 Jan 2019 20:16:22 +0000 (20:16 +0000)]
Merge "Let the clock be updated in real time during the pulse"

5 years agoFixes notification swipe snapping when menu is empty.
Gus Prevas [Fri, 4 Jan 2019 20:13:21 +0000 (15:13 -0500)]
Fixes notification swipe snapping when menu is empty.

This change modifies the swipe handling logic in NotificationSwipeHelper
such that it doesn't attempt to snap to the "menu open" state when the
menu is zero width (i.e. it's snapping on a left-to-right gesture and
the menu is only enabled for right-to-left swipes).  This prevents us
from getting in to a state where the menu was considered "open" when it
wasn't, which caused the next gesture to be handled incorrectly.

Change-Id: I3b78e95de7266e5a469637007ca78f7af2caab49
Fixes: 121077588
Test: manually

5 years agoMerge changes from topic "multi-se-support"
Ruchi Kandoi [Fri, 4 Jan 2019 20:10:50 +0000 (12:10 -0800)]
Merge changes from topic "multi-se-support"
am: 54502d68ea

Change-Id: I10dad203c4e46b28546f1bb3c721e5d4e7fb0aec

5 years agoRename accent color and icon shape overlay.
Amin Shaikh [Fri, 4 Jan 2019 14:43:55 +0000 (09:43 -0500)]
Rename accent color and icon shape overlay.

That way there is less redundancy in the menu displaying accent color
and icon shape choices in developer settings.

Bug: 122308197
Test: make
Change-Id: I177ec1285e49f727ac9d0e424fecd84029ec8309

5 years agoMerge "Fix/suppress aapt/aapt2 google-explicit-constructor warnings" am: cdf6be573f
Chih-Hung Hsieh [Fri, 4 Jan 2019 20:09:56 +0000 (12:09 -0800)]
Merge "Fix/suppress aapt/aapt2 google-explicit-constructor warnings" am: cdf6be573f
am: d42fe48c93

Change-Id: Ie418def364cdff53ba02a07d9979f10dcd819698

5 years agoMerge changes from topic "multi-se-support"
Ruchi Kandoi [Fri, 4 Jan 2019 19:56:41 +0000 (19:56 +0000)]
Merge changes from topic "multi-se-support"

* changes:
  Add a mechanism to register AIDs to specific off-host SE
  Add Off-Host Card Emulation Features

5 years agoMerge "Fix/suppress aapt/aapt2 google-explicit-constructor warnings"
Chih-Hung Hsieh [Fri, 4 Jan 2019 19:55:42 +0000 (11:55 -0800)]
Merge "Fix/suppress aapt/aapt2 google-explicit-constructor warnings"
am: cdf6be573f

Change-Id: I4fbcbdd7e845f2ce7106a85ce8224c17517db1f5

5 years agoMerge "Fix/suppress aapt/aapt2 google-explicit-constructor warnings"
Treehugger Robot [Fri, 4 Jan 2019 19:34:30 +0000 (19:34 +0000)]
Merge "Fix/suppress aapt/aapt2 google-explicit-constructor warnings"

5 years agoMove all resources for PermissionController
Evan Severson [Sat, 29 Dec 2018 02:26:38 +0000 (18:26 -0800)]
Move all resources for PermissionController

Test: Looked at various permission interfaces
Change-Id: I3b9a807dab9f3bf1937e8d3c275c2846465d4a65

5 years agoFactors out notification listening from ForegroundServiceController.
Gus Prevas [Fri, 28 Dec 2018 19:57:59 +0000 (14:57 -0500)]
Factors out notification listening from ForegroundServiceController.

This change introduces the ForegroundServiceNotificationListener
component, which contains the logic formerly in
ForegroundServiceController for updating its state in response to
notification events.  ForegroundServiceNotificationListener adds a
standard NotificationEntryListener to the NotificationEntryManager,
allowing us to remove the explicit calls from NotificationEntryManager;
splitting this out to its own class prevents us from introducing a
circular dependency since NotificationEntryManager still needs to use
the query methods on ForegroundServiceController.

Test: atest SystemUITests, manual
Change-Id: Iec72aa3a9fd90e3f0079db3b2a3c4f1882e59731

5 years agoMerge "[AWARE] Make PeerHandle parcelable"
Etan Cohen [Fri, 4 Jan 2019 18:29:46 +0000 (18:29 +0000)]
Merge "[AWARE] Make PeerHandle parcelable"

5 years agoMove ShadeController to SystemUIFactory to allow customization.
Ben Lin [Fri, 4 Jan 2019 02:16:21 +0000 (18:16 -0800)]
Move ShadeController to SystemUIFactory to allow customization.

ShadeController is implemented by StatusBar, which is possible to be
swapped by OEMs via using config_statusBarComponent.

Bug: 122277074
Test: Compiles
Change-Id: Ia714405803a37deca9a694d07772e005902ab6bc

5 years agoMerge "Add context compat to call to get user id."
Winson Chung [Fri, 4 Jan 2019 18:15:47 +0000 (18:15 +0000)]
Merge "Add context compat to call to get user id."

5 years agoMerge "Add a timeout option in shell subscriber."
Yao Chen [Fri, 4 Jan 2019 17:51:45 +0000 (17:51 +0000)]
Merge "Add a timeout option in shell subscriber."

5 years agoMerge "Update DeviceConfigService to pass Settings.AUTHORITY to IContentProvider...
Matt Pape [Fri, 4 Jan 2019 17:46:09 +0000 (17:46 +0000)]
Merge "Update DeviceConfigService to pass Settings.AUTHORITY to IContentProvider.call invocations."

5 years agoFix/suppress aapt/aapt2 google-explicit-constructor warnings
Chih-Hung Hsieh [Thu, 20 Dec 2018 21:37:44 +0000 (13:37 -0800)]
Fix/suppress aapt/aapt2 google-explicit-constructor warnings

* Add explicit to conversion constructors/operators
* Use NOLINT or NOLINTNEXTLINE to suppress warnings on intended converters

Bug: 28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: Ie02101ea7c422e8add535c111a30a2f21ead0ace

5 years agoMerge "Rename RuntimePermissionPresenter to PermissionController"
Philip P. Moltmann [Fri, 4 Jan 2019 17:32:44 +0000 (17:32 +0000)]
Merge "Rename RuntimePermissionPresenter to PermissionController"

5 years agoMerge "Eliminates NotificationEntryManager.getNotificationLongClicker()."
TreeHugger Robot [Fri, 4 Jan 2019 17:18:34 +0000 (17:18 +0000)]
Merge "Eliminates NotificationEntryManager.getNotificationLongClicker()."

5 years agoMerge "Cosmetic ContentCapture fixes."
TreeHugger Robot [Fri, 4 Jan 2019 17:16:34 +0000 (17:16 +0000)]
Merge "Cosmetic ContentCapture fixes."

5 years agoMerge "Delete flaky test"
TreeHugger Robot [Fri, 4 Jan 2019 17:10:39 +0000 (17:10 +0000)]
Merge "Delete flaky test"

5 years agoMerge "Actually use listener hints?"
TreeHugger Robot [Fri, 4 Jan 2019 17:10:36 +0000 (17:10 +0000)]
Merge "Actually use listener hints?"

5 years agoMerge "Remove Dependency.get usages from AutoTileManager"
TreeHugger Robot [Fri, 4 Jan 2019 17:10:34 +0000 (17:10 +0000)]
Merge "Remove Dependency.get usages from AutoTileManager"

5 years agoMerge "Merge "Ignore ipv6 tx traffic on clat uid." am: bd73798585 am: cb53e78f56...
Android Build Merger (Role) [Fri, 4 Jan 2019 16:48:20 +0000 (16:48 +0000)]
Merge "Merge "Ignore ipv6 tx traffic on clat uid." am: bd73798585 am: cb53e78f56 am: 3c6bc9b14d"

5 years agoMerge "Ignore ipv6 tx traffic on clat uid." am: bd73798585 am: cb53e78f56
Junyu Lai [Fri, 4 Jan 2019 16:47:41 +0000 (08:47 -0800)]
Merge "Ignore ipv6 tx traffic on clat uid." am: bd73798585 am: cb53e78f56
am: 3c6bc9b14d

Change-Id: I1ac85ac863026ea99117c5b0115bcc0c9144fb7b

5 years agoMerge "Remove raw values from proto APK"
Ryan Mitchell [Fri, 4 Jan 2019 16:43:22 +0000 (16:43 +0000)]
Merge "Remove raw values from proto APK"

5 years agoMerge "Improve Packagewatchdog performance"
TreeHugger Robot [Fri, 4 Jan 2019 16:41:36 +0000 (16:41 +0000)]
Merge "Improve Packagewatchdog performance"

5 years agoMerge "Support fs-verity signature in installer session"
TreeHugger Robot [Fri, 4 Jan 2019 16:38:47 +0000 (16:38 +0000)]
Merge "Support fs-verity signature in installer session"

5 years agoMerge "Ignore ipv6 tx traffic on clat uid." am: bd73798585
Junyu Lai [Fri, 4 Jan 2019 16:30:44 +0000 (08:30 -0800)]
Merge "Ignore ipv6 tx traffic on clat uid." am: bd73798585
am: cb53e78f56

Change-Id: I0f289ce46462f494adb99628bd504cafb584eeeb

5 years agoA brave new world for window insets (7/n)
Jorim Jaggi [Wed, 7 Nov 2018 14:30:18 +0000 (15:30 +0100)]
A brave new world for window insets (7/n)

Ensure that the client visibility state affects other subsystems,
like accessibility as well as input.

Test: WindowStateTest
Bug: 118118435
Change-Id: I8a50a0b82dc76e578861967197350eaa3867f837

5 years agoMerge "Ignore ipv6 tx traffic on clat uid."
Junyu Lai [Fri, 4 Jan 2019 16:13:29 +0000 (08:13 -0800)]
Merge "Ignore ipv6 tx traffic on clat uid."
am: bd73798585

Change-Id: I181c3c812caa9bcd359fbddf74d14adeb7e83419

5 years agoMerge "Update provisioning checksum javadoc with SHA-1 hash deprecation."
Antoan Angelov [Fri, 4 Jan 2019 16:11:29 +0000 (16:11 +0000)]
Merge "Update provisioning checksum javadoc with SHA-1 hash deprecation."

5 years agoUpdate DeviceConfigService to pass Settings.AUTHORITY to IContentProvider.call invoca...
Matt Pape [Fri, 4 Jan 2019 16:10:41 +0000 (08:10 -0800)]
Update DeviceConfigService to pass Settings.AUTHORITY to IContentProvider.call invocations.

Also update SettingsProvider to resolve calling packages based on uids
when receiving calls to put or reset values in the config table. This
was necessary because the command line tool calls the DeviceConfig API,
which calls through to SettingsProvider. That was resulting in a
shell uid with an android package prior to this change.

Test: atest SettingsProviderTest:DeviceConfigServiceTest
Bug: 122304633

Change-Id: Ic80c734eb75dcaac688507c241b0995b7488a84f

5 years agoCollapses ForegroundServiceControllerImpl into interface.
Gus Prevas [Fri, 28 Dec 2018 18:40:50 +0000 (13:40 -0500)]
Collapses ForegroundServiceControllerImpl into interface.

ForegroundServiceControllerImpl was the only implementation of
ForegroundServiceController; this change eliminates the interface so
that the class can be broken up into more granular components in a
future CL to help break circular dependencies.  No functional changes.

Test: atest SystemUITests, manual
Change-Id: Iabe8ae1dbc42769d5b3e93ebe2249cdc5c3e4e77

5 years agoEliminates NotificationEntryManager.getNotificationLongClicker().
Gus Prevas [Fri, 28 Dec 2018 21:20:28 +0000 (16:20 -0500)]
Eliminates NotificationEntryManager.getNotificationLongClicker().

This method always returned NotificationGutsManager::openGuts, and only
existed so that CarSystemUI could override it to disable long presses.
In this change we accomplish this by making
NotificationStackScrollLayout injectable and providing a named flag for
whether to enable long presses or not as a dependency.  This means that
NotificationEntryManager is no longer involved in handling long presses,
and CarNotificationEntryManager no longer needs to exist.

Test: atest SystemUITests, manual
Change-Id: Iae78601fea498a37ed47ef9a114e50de1652b6a8

5 years agoDelete flaky test
Julia Reynolds [Fri, 4 Jan 2019 15:05:40 +0000 (10:05 -0500)]
Delete flaky test

Test: atest
Change-Id: Ibde13ef4d2bcd9ec9d853ef282d94d1976d77504
Fixes: 122348668

5 years agoActually use listener hints?
Julia Reynolds [Thu, 3 Jan 2019 19:35:38 +0000 (14:35 -0500)]
Actually use listener hints?

Mute notifications based on their audio attributes
if HINT_HOST_DISABLE_NOTIFICATION_EFFECTS or
HINT_HOST_DISABLE_CALL_EFFECTS is enabled.

Test: atest
Change-Id: I6404eecdce17f390154b3bafee7aa4d18a8ca5b2
Fixes: 120505040

5 years agoMerge "Add ManagedProvisioning to allowed log sources in statsd_testdrive."
TreeHugger Robot [Fri, 4 Jan 2019 15:29:24 +0000 (15:29 +0000)]
Merge "Add ManagedProvisioning to allowed log sources in statsd_testdrive."

5 years agoUpdate provisioning checksum javadoc with SHA-1 hash deprecation.
arangelov [Fri, 4 Jan 2019 14:43:03 +0000 (14:43 +0000)]
Update provisioning checksum javadoc with SHA-1 hash deprecation.

Test: none
Bug: 122346210
Change-Id: I0240be35240be685c5f40309c1b20efcd1255617

5 years agoMerge "Suppress deprecation warnings"
TreeHugger Robot [Fri, 4 Jan 2019 14:27:19 +0000 (14:27 +0000)]
Merge "Suppress deprecation warnings"

5 years agoMerge "Add utility method for NotificationContentViewTest setup."
TreeHugger Robot [Fri, 4 Jan 2019 14:21:58 +0000 (14:21 +0000)]
Merge "Add utility method for NotificationContentViewTest setup."

5 years agoMerge "TYPE_DATE and TYPE_DATE_TIME should be considered as the same type"
TreeHugger Robot [Fri, 4 Jan 2019 14:07:35 +0000 (14:07 +0000)]
Merge "TYPE_DATE and TYPE_DATE_TIME should be considered as the same type"

5 years agoMerge "Migrate frameworks/base/media/tests/MtpTests to androidx.test"
TreeHugger Robot [Fri, 4 Jan 2019 14:07:32 +0000 (14:07 +0000)]
Merge "Migrate frameworks/base/media/tests/MtpTests to androidx.test"

5 years agoMerge "StagingManager: Make commitSession async."
TreeHugger Robot [Fri, 4 Jan 2019 13:51:16 +0000 (13:51 +0000)]
Merge "StagingManager: Make commitSession async."

5 years agoImprove Packagewatchdog performance
Zimuzo [Thu, 3 Jan 2019 21:13:01 +0000 (21:13 +0000)]
Improve Packagewatchdog performance

I38be25753e1be64c0f98649ba843bc09e28043d9 introduced a PackageWatchdog for system server. This cl improves the following:
1. Memory allocations
2. Lock invariants
3. Comments
4. Behavior if XML file gets corrupted

Test: Still builds
Bug: 120598832
Change-Id: I8a06761997ad5738d894504d3d11ac037cb99a82

5 years agoMerge "Block activity starts from background when realCallingUid is a persistent...
Michal Karpinski [Fri, 4 Jan 2019 12:57:45 +0000 (12:57 +0000)]
Merge "Block activity starts from background when realCallingUid is a persistent system process and the start wasn't explicitly whitelisted by the sender"

5 years agoMerge "Run pending-intent-sent callback on UI thread."
TreeHugger Robot [Fri, 4 Jan 2019 12:57:42 +0000 (12:57 +0000)]
Merge "Run pending-intent-sent callback on UI thread."

5 years agoAdd ManagedProvisioning to allowed log sources in statsd_testdrive.
arangelov [Fri, 4 Jan 2019 12:22:35 +0000 (12:22 +0000)]
Add ManagedProvisioning to allowed log sources in statsd_testdrive.

Test: manual
Bug: 122346015
Change-Id: I3f4ec145bb331493efb850574a18a50bd893954c

5 years agoStagingManager: Make commitSession async.
Narayan Kamath [Fri, 4 Jan 2019 10:47:00 +0000 (10:47 +0000)]
StagingManager: Make commitSession async.

Post to the system servers shared B/G handler.

Test: m, atest apex_e2e_tests
Change-Id: I9e087f57a0f194951b6993403ad81c5b60018d8e

5 years agoMerge "Write staged sessions to /data/staging."
Dario Freni [Fri, 4 Jan 2019 10:20:23 +0000 (10:20 +0000)]
Merge "Write staged sessions to /data/staging."

5 years agoLet the clock be updated in real time during the pulse
TYM Tsai [Fri, 4 Jan 2019 08:59:07 +0000 (16:59 +0800)]
Let the clock be updated in real time during the pulse

The docking will request a long time pulse. Allows the clock to
update time in real time.

Bug: 120464108
Test: atest SystemUITests
Change-Id: Iac251aa3e366020a61ba88ab374f0a5a0369177e

5 years agoMerge "Signed config: some renames for clarity."
Mathew Inwood [Fri, 4 Jan 2019 09:49:22 +0000 (09:49 +0000)]
Merge "Signed config: some renames for clarity."

5 years agoMerge "Ignore ipv6 tx traffic on clat uid."
Junyu Lai [Fri, 4 Jan 2019 09:29:10 +0000 (09:29 +0000)]
Merge "Ignore ipv6 tx traffic on clat uid."

5 years agoMerge changes from topic "rollback_systemapi"
Richard Uhler [Fri, 4 Jan 2019 09:02:21 +0000 (09:02 +0000)]
Merge changes from topic "rollback_systemapi"

* changes:
  Add test for multi-package rollback.
  Fix bug where RollbackManagerService ignores package name.
  Add test for user data rollback.
  Move rollback manager implementation to RollbackManagerServiceImpl
  Don't expose RollbackManagerService's internal Handler.
  Make RollbackManager @SystemApi.