OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Center layout of nav inflator to wrap content to tap other buttons" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 19:22:00 +0000 (19:22 +0000)]
Merge "Center layout of nav inflator to wrap content to tap other buttons" into pi-dev

6 years agoMerge "Check the size of the strings in the StringPool before flattening." into pi-dev
Ryan Mitchell [Wed, 4 Apr 2018 19:21:47 +0000 (19:21 +0000)]
Merge "Check the size of the strings in the StringPool before flattening." into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 19:20:49 +0000 (19:20 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Revert angle classifier relaxation" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 19:18:13 +0000 (19:18 +0000)]
Merge "Revert angle classifier relaxation" into pi-dev

6 years agoMerge "Use Scrypt to hash long passwords in RecoverableKeyStore" into pi-dev
Bo Zhu [Wed, 4 Apr 2018 19:13:40 +0000 (19:13 +0000)]
Merge "Use Scrypt to hash long passwords in RecoverableKeyStore" into pi-dev

6 years agoMerge "Fix reading exception from Parcel" into pi-dev
Fyodor Kupolov [Wed, 4 Apr 2018 19:13:21 +0000 (19:13 +0000)]
Merge "Fix reading exception from Parcel" into pi-dev

6 years agoMerge "Adding methods to greylist Test: None" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 19:09:55 +0000 (19:09 +0000)]
Merge "Adding methods to greylist Test: None" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 18:42:38 +0000 (18:42 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "[Notif] Cache bool instead of manager/info" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 18:00:31 +0000 (18:00 +0000)]
Merge "[Notif] Cache bool instead of manager/info" into pi-dev

6 years agoRevert angle classifier relaxation
Lucas Dupin [Wed, 4 Apr 2018 17:50:41 +0000 (10:50 -0700)]
Revert angle classifier relaxation

Not necessary anymore because we now have a more generic solution

Change-Id: I3f4c509953b79ac6ea4ef67489474c5fb37c7109
Fixes: 77553611
Test: Swipe up and down on keyguard
Test: Swipe up and to the left on keyguard

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 4 Apr 2018 12:18:57 +0000 (05:18 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I23a479107398d99cff9327fbe8f897bd0d6b0528

6 years agoMerge "Remove deprecated recoverable keystore classes." into pi-dev
Dmitry Dementyev [Wed, 4 Apr 2018 17:42:11 +0000 (17:42 +0000)]
Merge "Remove deprecated recoverable keystore classes." into pi-dev

6 years agoMerge "Remove deprecated RecoveryController API." into pi-dev
Dmitry Dementyev [Wed, 4 Apr 2018 17:41:51 +0000 (17:41 +0000)]
Merge "Remove deprecated RecoveryController API." into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 4 Apr 2018 17:33:28 +0000 (10:33 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ifbca808c357b04b1c5cf25b6cc1852f447c221a5

6 years agoMerge "Move hidden API from vendor to light grey" into pi-dev
David Brazdil [Wed, 4 Apr 2018 17:23:30 +0000 (17:23 +0000)]
Merge "Move hidden API from vendor to light grey" into pi-dev

6 years agoMerge "Revert "Nav icons and quick step states are determined by service enabled...
Winson Chung [Wed, 4 Apr 2018 17:01:47 +0000 (17:01 +0000)]
Merge "Revert "Nav icons and quick step states are determined by service enabled"" into pi-dev

6 years agoMerge "Add hasUnwantedCapability method" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 16:55:14 +0000 (16:55 +0000)]
Merge "Add hasUnwantedCapability method" into pi-dev

6 years agoMerge "Mark networks with OEM_PAID always restricted" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 16:54:46 +0000 (16:54 +0000)]
Merge "Mark networks with OEM_PAID always restricted" into pi-dev

6 years agoMerge "Ignore test" into pi-dev
Julia Reynolds [Wed, 4 Apr 2018 16:28:45 +0000 (16:28 +0000)]
Merge "Ignore test" into pi-dev

6 years agoCheck the size of the strings in the StringPool before flattening.
Ryan Mitchell [Mon, 26 Mar 2018 18:05:31 +0000 (11:05 -0700)]
Check the size of the strings in the StringPool before flattening.

Test: Tested for normal functionality when string does not exceed
maximum length and tests for detection of string that is too lonhg for
UTF8i
Bug: b/74176037

Change-Id: Ic71d3671a069e7012e8ca107e79e071499eebbf6
(cherry picked from commit a15c2a8957b9883cb293fdacaeabd7f2e037a0a5)

6 years agoRevert "Nav icons and quick step states are determined by service enabled"
Winson Chung [Wed, 4 Apr 2018 15:16:00 +0000 (15:16 +0000)]
Revert "Nav icons and quick step states are determined by service enabled"

This reverts commit 8a7c97a16d7cfa7bcc602dfa969370bce9dfb686.

Reason for revert: b/77566214

Bug: 77566214

Change-Id: Iba3ef20a304e3a47f1affe0b38598c7d7f0daef7

6 years agoMerge "Frameworks: In the kill handler, ensure the logging handler was run" into...
TreeHugger Robot [Wed, 4 Apr 2018 15:04:37 +0000 (15:04 +0000)]
Merge "Frameworks: In the kill handler, ensure the logging handler was run" into pi-dev

6 years agoAdding methods to greylist
Stephen [Tue, 3 Apr 2018 20:12:01 +0000 (13:12 -0700)]
Adding methods to greylist
Test: None

bug: 74066078

Change-Id: Ic84f4374c8b7c0b359c8674558b89a7a370cc1d0

6 years agoIgnore test
Julia Reynolds [Wed, 4 Apr 2018 13:45:15 +0000 (09:45 -0400)]
Ignore test

That is failing on virtual devices

Test: presubmit
Bug: 77570224
Change-Id: I333ecab616c9528b89a91071416794dc96b479c4

6 years agoMerge "Fix icon tinting when in split screen" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 13:42:10 +0000 (13:42 +0000)]
Merge "Fix icon tinting when in split screen" into pi-dev

6 years agoMove hidden API from vendor to light grey
David Brazdil [Wed, 4 Apr 2018 13:25:00 +0000 (14:25 +0100)]
Move hidden API from vendor to light grey

Bug: 64382372
Bug: 77328929
Test: make
Change-Id: I5141b56c79fad2bc6943ca6086eae53cad82d09c

6 years agoOnly set client hidden if both hidden and hiddenRequested
Jorim Jaggi [Thu, 29 Mar 2018 14:29:18 +0000 (16:29 +0200)]
Only set client hidden if both hidden and hiddenRequested

This fixes a bug where clientHidden of Launcher was set to true
too early because of the following flow:
- Open app, then press home
- During the transition relaunch the app

This leads to a new transition being started for which
hiddenRequested=true for Launcher. Then, the old animation
finishes, before the new one gets stared, and Launcher gets client
hidden too early.

More generally this is correct because:
- if (hidden && hiddenRequested) both states agree
- if (!hidden && !hiddenRequested) both states agree as well
- if (hidden && !hiddenRequested): App is becoming visible before
transition has started, so we shouldn't set it to client hidden
- if (!hidden && hiddenRequested): App is becoming invisible before
transition has started. However we need to defer client hidden
until the transition is done.

Bug: 74220420
Test: Open/close apps quickly repeatedly
Test: go/wm-smoke
Change-Id: I6df107fb0be9d2d779c997f0ddf1315bf53d27a5

6 years agoMerge "Add launch hint for RecentsAnimation" into pi-dev
Jorim Jaggi [Wed, 4 Apr 2018 13:16:37 +0000 (13:16 +0000)]
Merge "Add launch hint for RecentsAnimation" into pi-dev

6 years agoMerge "Update non-remote wallpaper anim to spec" into pi-dev
Jorim Jaggi [Wed, 4 Apr 2018 13:03:33 +0000 (13:03 +0000)]
Merge "Update non-remote wallpaper anim to spec" into pi-dev

6 years agoAdd launch hint for RecentsAnimation
Jorim Jaggi [Thu, 22 Mar 2018 22:20:36 +0000 (23:20 +0100)]
Add launch hint for RecentsAnimation

We are starting an activity, so let's send launch hint to be
faster and consistent with other activity launches.

Test: Swipe up, check android.hardware.power in systrace
Bug: 73651529
Change-Id: Ia8f925d94cf6969d2501e00b86fa91617d093916

6 years agoWe should show custom title for suspend app dialog
Tony Mak [Tue, 3 Apr 2018 17:49:05 +0000 (18:49 +0100)]
We should show custom title for suspend app dialog

BUG: 77523074

Test: Suspend an app, observe the new title.

Change-Id: I85f3d47e05332f7593a885130fd30dc5fd0a9960

6 years agoMerge "Throw ServiceSpecificException if calling app tries to initialize certificates...
TreeHugger Robot [Wed, 4 Apr 2018 06:03:23 +0000 (06:03 +0000)]
Merge "Throw ServiceSpecificException if calling app tries to initialize certificates with lower version. Earlier, the code just returned silently, giving no indication that updating certs failed." into pi-dev

6 years agoMark networks with OEM_PAID always restricted
Lorenzo Colitti [Fri, 30 Mar 2018 09:21:27 +0000 (09:21 +0000)]
Mark networks with OEM_PAID always restricted

Bug: 68762530
Test: runtest -x frameworks/base/tests/net/ -c android.net.NetworkCapabilitiesTest

Cherry-picked from AOSP with no conflicts

Merged-in: I173ee0a3bc1797d03ba34c5f025844eaada87ee4
Change-Id: I173ee0a3bc1797d03ba34c5f025844eaada87ee4
(cherry picked from commit efbacc0ccb70917b2782272e6b8f1a0fb3f56cbe)

6 years agoMerge "Do not animate power menu when AOD" into pi-dev
Lucas Dupin [Wed, 4 Apr 2018 03:33:05 +0000 (03:33 +0000)]
Merge "Do not animate power menu when AOD" into pi-dev

6 years agoMerge "Adds comment how to deal with newly added audio usage" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 03:03:48 +0000 (03:03 +0000)]
Merge "Adds comment how to deal with newly added audio usage" into pi-dev

6 years agoMerge "Includes annotations with statsd reports." into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 02:50:32 +0000 (02:50 +0000)]
Merge "Includes annotations with statsd reports." into pi-dev

6 years agoMerge "Removed redundant autofill response info from ViewState dump()" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 01:53:57 +0000 (01:53 +0000)]
Merge "Removed redundant autofill response info from ViewState dump()" into pi-dev

6 years agoMerge "Add settings to configure default multipath quota." into pi-dev
Remi NGUYEN VAN [Wed, 4 Apr 2018 01:23:42 +0000 (01:23 +0000)]
Merge "Add settings to configure default multipath quota." into pi-dev

6 years agoMerge "Revert "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false"" into pi-dev
Pankaj Kanwar [Wed, 4 Apr 2018 01:21:17 +0000 (01:21 +0000)]
Merge "Revert "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false"" into pi-dev

6 years agoMerge "Fix fingerprint dialog icon color" into pi-dev
Kevin Chyn [Wed, 4 Apr 2018 01:21:13 +0000 (01:21 +0000)]
Merge "Fix fingerprint dialog icon color" into pi-dev

6 years agoIncludes annotations with statsd reports.
David Chen [Fri, 30 Mar 2018 22:14:04 +0000 (15:14 -0700)]
Includes annotations with statsd reports.

It's tricky to determine the source of the metrics on a device
currently since we can take the union of multiple configs and send
only one giant statsd_config into statsd. We will use the int64 field
to track the sub config id's and the int32 field to track the version
for each sub config, but the fields are named more generically as
annotations.

The annotations are available in both the reports and metadata.

Test: Check that all unit-tests pass on marlin-eng
Bug: 77327261
Change-Id: Ic37c549c8b2991676f69948c515156765c9f5108

6 years agoMerge "Prevent exception when stack being removed on crash" into pi-dev
Andrii Kulian [Wed, 4 Apr 2018 00:32:10 +0000 (00:32 +0000)]
Merge "Prevent exception when stack being removed on crash" into pi-dev

6 years agoMerge "Separator width" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 00:14:54 +0000 (00:14 +0000)]
Merge "Separator width" into pi-dev

6 years agoCenter layout of nav inflator to wrap content to tap other buttons
Matthew Ng [Wed, 4 Apr 2018 00:11:24 +0000 (17:11 -0700)]
Center layout of nav inflator to wrap content to tap other buttons

When you hold home button (that is within the center group) you cannot
tap any other nav button because home button and its parent consumes it.
Make it wrap the content so that the back and recents button can be
pressed while holding home. This is used to unpin better for quick step
enabled.

Test: manual - hold home and tap back/recents, easier when pinned
Change-Id: I73b326235885e5e29c07b9540b4311a0c820ff78
Fixes: 77522636
Fixes: 73175803

6 years agoFix fingerprint dialog icon color
Kevin Chyn [Fri, 30 Mar 2018 19:36:32 +0000 (12:36 -0700)]
Fix fingerprint dialog icon color

The Keyguard resource has 50% opacity on the "ridges" assets but 100% on
the "error" assets, making it very difficult to fix/animate correctly in
both Keyguard and FingerprintDialogView. This change decouples the
FingerprintDialogView from the Keyguard resource.

Fixes: 75290621

Test: manual test with FingerprintDialog APK
      visually inspect colors/animations

Change-Id: Ie04c706e24e129f01b6ddb500c689f108c41ae3e

6 years agoMerge "Support bypassing TLS in the framework" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 23:47:23 +0000 (23:47 +0000)]
Merge "Support bypassing TLS in the framework" into pi-dev

6 years agoMerge "Use client-side version of inTouchMode" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 23:25:34 +0000 (23:25 +0000)]
Merge "Use client-side version of inTouchMode" into pi-dev

6 years agoAdds comment how to deal with newly added audio usage
Hongwei Wang [Tue, 3 Apr 2018 23:22:06 +0000 (16:22 -0700)]
Adds comment how to deal with newly added audio usage

Bug: 77547740
Test: adb shell dumpsys media.audio_policy
Change-Id: If0d9f1d0ac2205900532cb9f761746ce4d164d32

6 years agoMerge "[DO NOT MERGE] Sort A11yService#getWindows by layer descending" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 23:17:26 +0000 (23:17 +0000)]
Merge "[DO NOT MERGE] Sort A11yService#getWindows by layer descending" into pi-dev

6 years agoMerge "Bind to DefaultContainerService early for AIA" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 23:15:19 +0000 (23:15 +0000)]
Merge "Bind to DefaultContainerService early for AIA" into pi-dev

6 years agoMerge "Move cts tests using reflection" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 23:07:34 +0000 (23:07 +0000)]
Merge "Move cts tests using reflection" into pi-dev

6 years agoMerge "Show ripple on toggle" into pi-dev
Julia Reynolds [Tue, 3 Apr 2018 22:53:11 +0000 (22:53 +0000)]
Merge "Show ripple on toggle" into pi-dev

6 years agoMerge "Register broadcast receiver at runtime instead" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 22:50:14 +0000 (22:50 +0000)]
Merge "Register broadcast receiver at runtime instead" into pi-dev

6 years agoMerge "Ensure that the blocking helper will run" into pi-dev
Julia Reynolds [Tue, 3 Apr 2018 22:48:05 +0000 (22:48 +0000)]
Merge "Ensure that the blocking helper will run" into pi-dev

6 years agoSupport bypassing TLS in the framework
Erik Kline [Wed, 21 Mar 2018 14:18:33 +0000 (07:18 -0700)]
Support bypassing TLS in the framework

This change comprises the following parts:

    [1] android.net.dns.ResolvUtil, containing methods that encapsulate the
        use of the high bit in netids used in DNS resolution contexts.

    [2] Updates to captive portal apps to call the ResolvUtil method that
        enables DNS-over-TLS bypass for the captive portal app process.

Test: as follows
    - builds
    - flashes
    - boots
    - runtest frameworks-net passes
Bug: 64133961
Bug: 72345192

Merged-In: I0994b53d24ed25a2eb9e65429c61cf6fa87c7513
Merged-In: I4c49e23d8caa4d485df1c1d2f135a7282d439c0b
Change-Id: I2072c1f68d6978fa0d7e9d8693135a2c51bb0f87
(cherry picked from commit 2140529d9b8e116d88c2a385a0b3179c2ede5ad7)

6 years agoMerge "Added two touch slops for easier home press (1/3)" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 22:31:57 +0000 (22:31 +0000)]
Merge "Added two touch slops for easier home press (1/3)" into pi-dev

6 years agoMerge changes from topic "fw_quickstep_update" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 22:31:57 +0000 (22:31 +0000)]
Merge changes from topic "fw_quickstep_update" into pi-dev

* changes:
  Reparent recents animation task leash to app animation layer
  Allow recents animation to override divider minimized state
  Prevent unnecessary reordering of the home stack

6 years agoMerge "Fix "auto battery saver" confirmation dialog button layout" into pi-dev
Makoto Onuki [Tue, 3 Apr 2018 22:25:37 +0000 (22:25 +0000)]
Merge "Fix "auto battery saver" confirmation dialog button layout" into pi-dev

6 years agoMerge "Add method to get blocked channel counts" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 22:22:24 +0000 (22:22 +0000)]
Merge "Add method to get blocked channel counts" into pi-dev

6 years agoMerge "Remove work_profile_deleted_description in symbols.xml" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 22:12:18 +0000 (22:12 +0000)]
Merge "Remove work_profile_deleted_description in symbols.xml" into pi-dev

6 years agoMerge "Update notification to allow multiline text" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 21:54:31 +0000 (21:54 +0000)]
Merge "Update notification to allow multiline text" into pi-dev

6 years agoMerge "Only tag foreground notifications" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 21:52:17 +0000 (21:52 +0000)]
Merge "Only tag foreground notifications" into pi-dev

6 years agoUse Scrypt to hash long passwords in RecoverableKeyStore
Bo Zhu [Tue, 3 Apr 2018 07:37:51 +0000 (00:37 -0700)]
Use Scrypt to hash long passwords in RecoverableKeyStore

It's enabled for test mode for now, and will need to be updated after
the other components of the system is updated.

Bug: 77325751
Test: runtest frameworks-services -p
    com.android.server.locksettings.recoverablekeystore

Change-Id: I4fc77aba37aeddbe6a82b633934b068cd4ac507f

6 years ago[DO NOT MERGE] Sort A11yService#getWindows by layer descending
Eugene Susla [Mon, 26 Feb 2018 18:41:28 +0000 (10:41 -0800)]
[DO NOT MERGE] Sort A11yService#getWindows by layer descending

This is what A11yService#getWindows promises in the javadoc.

Fixes: 71581072
Test: using testback ensure the order is correct
Change-Id: I5038c4de29c60e235b65751f7bd7771ef35eb339
(cherry picked from commit f40da1a884493b6af61e3b978fdf7c7ff059b2dc)

6 years agoSeparator width
Lucas Dupin [Tue, 3 Apr 2018 21:23:52 +0000 (14:23 -0700)]
Separator width

Test: visual
Change-Id: I5bcac302d8b0c6648c0c75bf9671c09543d1c826
Fixes: 77540159

6 years agoMerge "Longer wake lock timeout" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 21:23:35 +0000 (21:23 +0000)]
Merge "Longer wake lock timeout" into pi-dev

6 years agoMerge "Avoid null pointer when in getAmbientBrightnessStats" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 21:15:26 +0000 (21:15 +0000)]
Merge "Avoid null pointer when in getAmbientBrightnessStats" into pi-dev

6 years agoMerge "Update displayId when a window is moved to a new display" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 21:06:39 +0000 (21:06 +0000)]
Merge "Update displayId when a window is moved to a new display" into pi-dev

6 years agoMerge "AudioService: prevent muting of alarm / accessibility" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 21:06:15 +0000 (21:06 +0000)]
Merge "AudioService: prevent muting of alarm / accessibility" into pi-dev

6 years agoMerge "Correct provider filtering" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 20:53:21 +0000 (20:53 +0000)]
Merge "Correct provider filtering" into pi-dev

6 years agoFix icon tinting when in split screen
Evan Laird [Tue, 3 Apr 2018 20:52:41 +0000 (16:52 -0400)]
Fix icon tinting when in split screen

NotificationIconAreaController, StatusBarWifiView, StatusBarMobileView
all now respect the tintArea when `onDarkChanged` gets called

Test: visual; Split screen, chrome on top and settings on bottom, no icons
should be dark.

Change-Id: I7aa8f3383da3855e8ceab702539fce71edaa6af2
Fixes: 77494939

6 years agoMerge "Fix test location provider bug" into pi-dev
Maggie Wang [Tue, 3 Apr 2018 20:44:29 +0000 (20:44 +0000)]
Merge "Fix test location provider bug" into pi-dev

6 years agoAdded two touch slops for easier home press (1/3)
Matthew Ng [Fri, 30 Mar 2018 23:47:22 +0000 (16:47 -0700)]
Added two touch slops for easier home press (1/3)

The first slop starts the drag either for quick step or scrub. At this
point either launcher can animate swipe up or the home button moves for
scrub, however the home button is still active and can be pressed or
long pressed. The second slop is for activating quick step or scrub.
Similar to before when an operation has activated, the home button
cannot be pressed or long pressed. This allows the home button to have a
larger area to be clicked.

Change-Id: I0a3dd2b5e0f41748a7ba9ebb6241283291995228
Fixes: 76430825
Test: scrub or swipe up

6 years agoMerge "Relax angle-related false touch classification." into pi-dev
Steve Pfetsch [Tue, 3 Apr 2018 20:31:31 +0000 (20:31 +0000)]
Merge "Relax angle-related false touch classification." into pi-dev

6 years agoUse client-side version of inTouchMode
Evan Rosky [Tue, 3 Apr 2018 20:21:55 +0000 (13:21 -0700)]
Use client-side version of inTouchMode

Was bindering into WM service pretty often due to this which was
causing some jank

Bug: 72236832
Test: Related touchmode/focus CTS tests still pass
Change-Id: Ia0f89429b67464beea07c702d8fe2d8b813f8d38

6 years agoUpdate notification to allow multiline text
Salvador Martinez [Tue, 3 Apr 2018 20:05:39 +0000 (13:05 -0700)]
Update notification to allow multiline text

Sometimes the remaining time text can be a bit too long for one line.
This change updates the notification to allow the text to go onto the
second line.

Test: visual inspection
Bug: 77500880
Change-Id: I8f87383dab9b27890934ad969d0c4e8a26f3c3a3

6 years agoMerge "Based on the discussion of ag/3818243, this is the initial list. The reason...
Yi Jin [Tue, 3 Apr 2018 20:02:21 +0000 (20:02 +0000)]
Merge "Based on the discussion of ag/3818243, this is the initial list. The reason to repropose this is because of some changes like ag/3619568. We don't want to allow this happens again." into pi-dev

6 years agoShow ripple on toggle
Julia Reynolds [Tue, 3 Apr 2018 19:23:03 +0000 (15:23 -0400)]
Show ripple on toggle

Use the correct default value when the settings doesn't
exist yet.

Test: manual
Change-Id: Id661c9552fb59a4776dcaef8956c5ed49460e5fd
Fixes: 74617040

6 years agoOnly tag foreground notifications
Julia Reynolds [Mon, 2 Apr 2018 20:24:11 +0000 (16:24 -0400)]
Only tag foreground notifications

With active permission icons

Test: atest SystemUITests
Change-Id: I31828f6239b1253794f9569d29dccdac5c10b0da
Fixes: 75276447

6 years agoEnsure that the blocking helper will run
Julia Reynolds [Mon, 2 Apr 2018 15:03:32 +0000 (11:03 -0400)]
Ensure that the blocking helper will run

On upgraded devices.

Test: runtest systemui-notification
Change-Id: I600d40100fc97ea25718ebc8800425d6bf7194ef
Fixes: 77325257

6 years agoMerge "Dejank QS edit screen." into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 19:50:20 +0000 (19:50 +0000)]
Merge "Dejank QS edit screen." into pi-dev

6 years agoMerge "Atoms: remove bluetooth a2dp" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 19:48:33 +0000 (19:48 +0000)]
Merge "Atoms: remove bluetooth a2dp" into pi-dev

6 years agoMerge "Add DISABLE_CLOCK flags to status bar, fix transitions" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 19:46:29 +0000 (19:46 +0000)]
Merge "Add DISABLE_CLOCK flags to status bar, fix transitions" into pi-dev

6 years agoMerge "null check on qspanel before called method on it." into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 19:37:28 +0000 (19:37 +0000)]
Merge "null check on qspanel before called method on it." into pi-dev

6 years agoRegister broadcast receiver at runtime instead
Mike Ma [Mon, 2 Apr 2018 17:28:28 +0000 (10:28 -0700)]
Register broadcast receiver at runtime instead

Cannot find class when registering Usb connection broadcast receiver
in AndroidManifest, causing system process to crash. Switch to
register receiver at runtime when boot complete.

Fixes: 77274266
Test: Manually plug & unplug usb cable, and reboot device
Test: Verify usb_data appears in batterystats dump
Test: Verify there is no crash log
Change-Id: If4a9e85aa81173ad6d8cb6ce28cc030814c520a5

6 years agoMerge "Handle getNetworkWatchlistConfigHash() without config case" into pi-dev
Ricky Wai [Tue, 3 Apr 2018 19:32:27 +0000 (19:32 +0000)]
Merge "Handle getNetworkWatchlistConfigHash() without config case" into pi-dev

6 years agoMerge changes from topic "omapi" into pi-dev
Ruchi Kandoi [Tue, 3 Apr 2018 19:17:18 +0000 (19:17 +0000)]
Merge changes from topic "omapi" into pi-dev

* changes:
  Add an Executor for the onConnectedListener
  Make OMAPI stricter

6 years agoThrow ServiceSpecificException if calling app tries to initialize
Aseem Kumar [Tue, 3 Apr 2018 18:35:51 +0000 (11:35 -0700)]
Throw ServiceSpecificException if calling app tries to initialize
certificates with lower version. Earlier, the code just returned
silently, giving no indication that updating certs failed.

Change-Id: I3eb1b9f423791a655b47b3e76c20a170e2b632c0
Bug: 77533356
Test: runtest frameworks-services -p
    com.android.server.locksettings.recoverablekeystore

6 years agoMerge "Avoids vibration over deadzone in navigationbar" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 19:09:22 +0000 (19:09 +0000)]
Merge "Avoids vibration over deadzone in navigationbar" into pi-dev

6 years agoMerge "Add logging constant to track settings slice changes" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 19:04:38 +0000 (19:04 +0000)]
Merge "Add logging constant to track settings slice changes" into pi-dev

6 years agoFix test location provider bug
Maggie [Wed, 21 Mar 2018 18:47:28 +0000 (11:47 -0700)]
Fix test location provider bug

LocationManager.isProviderEnabled should return true for a test provider if:
1. A test provider is added through LocationManager.addTestProvider
2. The test provider is enabled through LocationManager.setTestProviderEnabled

This fix changes the logic if LocationManager.isProviderEnabled and
LocationManager.setProviderEnabledForUser to allow users get/set test
location provider status.

Bug: 72647543
Bug: 77238940
Test: Manual
Test: run cts --module CtsLocationTestCases -t android.location.cts.LocationManagerTest
Change-Id: Ib241e5b487fd873c1fa0d7ac34b82b8592fc0906

6 years agoRemove work_profile_deleted_description in symbols.xml
Tony Mak [Tue, 3 Apr 2018 18:18:33 +0000 (19:18 +0100)]
Remove work_profile_deleted_description in symbols.xml

Test: BUILD
Fixes: 77528187

Change-Id: I37813f3071c30d6c5af6f26c4fe835f5e44b9a77

6 years agoFix "auto battery saver" confirmation dialog button layout
Makoto Onuki [Tue, 3 Apr 2018 18:46:02 +0000 (11:46 -0700)]
Fix "auto battery saver" confirmation dialog button layout

Bug: 77225862
Fixes: 77225862
Test: Manual test after resetting the BS states with the following commands:
adb shell settings delete global low_power
adb shell settings delete global low_power_sticky
adb shell settings delete global low_power_trigger_level
adb shell settings delete secure low_power_manual_activation_count
adb shell settings delete secure low_power_warning_acknowledged
adb shell settings delete secure suppress_auto_battery_saver

Change-Id: I2d826b1dadd3f2e2bf22746e874534d483f2cc39

6 years agoMerge "Nav icons and quick step states are determined by service enabled" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 18:47:22 +0000 (18:47 +0000)]
Merge "Nav icons and quick step states are determined by service enabled" into pi-dev

6 years agoMerge "Free up all scratch resources when the app's UI is hidden" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 18:41:17 +0000 (18:41 +0000)]
Merge "Free up all scratch resources when the app's UI is hidden" into pi-dev

6 years agoFix reading exception from Parcel
Takamasa Kuramitsu [Mon, 2 Apr 2018 05:44:59 +0000 (14:44 +0900)]
Fix reading exception from Parcel

It fails to read exception from Parcel using
Parcel#readException(int, String) because this method doesn't take into
account the remote stack trace info added in writeException().

Test: Manual
Bug: 77495513
Change-Id: I7b646b4a591306832897a42c4ed205d00019cc2b

6 years agoLonger wake lock timeout
Lucas Dupin [Tue, 3 Apr 2018 18:31:27 +0000 (11:31 -0700)]
Longer wake lock timeout

This isn't a definitive fix but should
make the symptoms less visible.

Bug: 71913808
Test: cover prox sensor, uncover it
Change-Id: I49976d5ba09d416e96cc5e623e49d55ecacf5567

6 years agoMerge "Add AppOps Checks for MANAGE_IPSEC_TUNNELS" into pi-dev
Nathan Harold [Tue, 3 Apr 2018 18:24:31 +0000 (18:24 +0000)]
Merge "Add AppOps Checks for MANAGE_IPSEC_TUNNELS" into pi-dev

6 years agoAdd AppOps Checks for MANAGE_IPSEC_TUNNELS
Nathan Harold [Fri, 16 Mar 2018 01:06:06 +0000 (18:06 -0700)]
Add AppOps Checks for MANAGE_IPSEC_TUNNELS

Adds support for a new AppOp to permit services to
use IpSec tunnel mode. The IpSecService now needs
a context so change the service mode to a cached
service rather than a static service.

Bug: 66955045
Test: runtest frameworks-net
Change-Id: I17a4a286225b432c3e15ea1587d946189931b4f4

6 years agoFrameworks: In the kill handler, ensure the logging handler was run
Andreas Gampe [Mon, 2 Apr 2018 21:00:47 +0000 (14:00 -0700)]
Frameworks: In the kill handler, ensure the logging handler was run

In the KillApplicationHandler for uncaught exceptions ensure that the
LoggingHandler has been run. This ensures logging when code directly
calls getUncaughtExceptionHandler().uncaughtException().

(cherry picked from commit 50fa122cfff87ad47e3cde54b858b6b18c593c0b)

Bug: 29624607
Bug: 73380984
Test: m
Test: manual
Merged-In: I9c9216714b4cf029d7ed21e29313c0e802345337
Change-Id: I9c9216714b4cf029d7ed21e29313c0e802345337