OSDN Git Service

android-x86/frameworks-base.git
6 years agoSnap for 4765094 from f7416d1fe0f906d7bec1db767de2ab1ec4bb1026 to pi-release
android-build-team Robot [Sun, 6 May 2018 07:26:32 +0000 (07:26 +0000)]
Snap for 4765094 from f7416d1fe0f906d7bec1db767de2ab1ec4bb1026 to pi-release

Change-Id: Ie3108009fb6c7c946de546362c2f6ca7713f016d

6 years agoMerge "DO NOT MERGE Fix error where androidx targets were being used." into pi-dev
android-build-team Robot [Sat, 5 May 2018 05:16:49 +0000 (05:16 +0000)]
Merge "DO NOT MERGE Fix error where androidx targets were being used." into pi-dev

6 years agoMerge "[AWARE] Update docs for service discovery callbacks" into pi-dev
android-build-team Robot [Sat, 5 May 2018 02:11:03 +0000 (02:11 +0000)]
Merge "[AWARE] Update docs for service discovery callbacks" into pi-dev

6 years agoMerge "Fix spelling errors in BluetoothGatt documentation" into pi-dev
android-build-team Robot [Sat, 5 May 2018 01:29:53 +0000 (01:29 +0000)]
Merge "Fix spelling errors in BluetoothGatt documentation" into pi-dev

6 years agoMerge "Fixed the paddings when replying with inline reply" into pi-dev
Selim Cinek [Sat, 5 May 2018 01:18:28 +0000 (01:18 +0000)]
Merge "Fixed the paddings when replying with inline reply" into pi-dev

6 years agoDO NOT MERGE Fix error where androidx targets were being used.
Anthony Chen [Sat, 5 May 2018 01:04:58 +0000 (18:04 -0700)]
DO NOT MERGE Fix error where androidx targets were being used.

SystemUI has not been migrated to androidx in pi-dev and should not be
referencing this new namespace.

Bug: 79270323
Test: build and deploy SystemUI
Change-Id: I44ee76137f0413e8abd1f6d6f8e322251a9dffa7

6 years agoMerge "Fixed an issue when pulling down from heads up" into pi-dev
android-build-team Robot [Fri, 4 May 2018 23:51:53 +0000 (23:51 +0000)]
Merge "Fixed an issue when pulling down from heads up" into pi-dev

6 years agoMerge "Fixing a memory leak with notifications" into pi-dev
android-build-team Robot [Fri, 4 May 2018 23:44:27 +0000 (23:44 +0000)]
Merge "Fixing a memory leak with notifications" into pi-dev

6 years agoMerge "Convert RTT background throttle to a settable value (1/2)." into pi-dev
android-build-team Robot [Fri, 4 May 2018 23:40:22 +0000 (23:40 +0000)]
Merge "Convert RTT background throttle to a settable value (1/2)." into pi-dev

6 years agoFix spelling errors in BluetoothGatt documentation
Stanley Tng [Thu, 3 May 2018 15:50:49 +0000 (08:50 -0700)]
Fix spelling errors in BluetoothGatt documentation

Correct "paramter" to "parameter". Correct "connectoin" to connection.

Bug: 79198797
Test: Compile
Change-Id: I98646eec66da2aaa6f74ae2db35ea914c6a105a1
(cherry picked from commit 505c05839b8b28c5c465c2a537cf3da8a2004e63)

6 years agoMerge "Suppress the first volume adjustment" into pi-dev
android-build-team Robot [Fri, 4 May 2018 22:56:22 +0000 (22:56 +0000)]
Merge "Suppress the first volume adjustment" into pi-dev

6 years agoFixed the paddings when replying with inline reply
Selim Cinek [Fri, 4 May 2018 22:46:18 +0000 (15:46 -0700)]
Fixed the paddings when replying with inline reply

The paddings weren't applied properly when we were
sending and when heads-upped since the view wasn't
actually focused and we didn't get an update anymore.

Test: inline reply from HUN, normal, observe normal paddings
Change-Id: I0e0422b5f6ca3ed9a53b4b665016791d6ca0f68f
Fixes: 73819283

6 years agoMerge "Properly prepare system server profiles" into pi-dev
Calin Juravle [Fri, 4 May 2018 22:46:15 +0000 (22:46 +0000)]
Merge "Properly prepare system server profiles" into pi-dev

6 years agoWifiConfiguration: Fix documentation for SSID
Roshan Pius [Thu, 3 May 2018 18:32:55 +0000 (11:32 -0700)]
WifiConfiguration: Fix documentation for SSID

SSID strings can be UTF-8 encoded. Fix documentation to reflect that.

Bug: 78483295
Test: Compiles
Change-Id: Ib25967a52627a17a13b5d5b418fc3c3c3d05f7c8

6 years agoSuppress the first volume adjustment
Julia Reynolds [Fri, 4 May 2018 19:34:55 +0000 (15:34 -0400)]
Suppress the first volume adjustment

Of the default volume stream

Test: manual
Change-Id: I829cea7080243ba204723a24c24e9158e30c12f4
Fixes: 78562363

6 years agoMerge "Add DND indicator to AOD" into pi-dev
android-build-team Robot [Fri, 4 May 2018 21:45:36 +0000 (21:45 +0000)]
Merge "Add DND indicator to AOD" into pi-dev

6 years ago[automerger skipped] Merge "Osu: fixed Mismatch between createFromParcel and writeToP...
Ecco Park [Fri, 4 May 2018 21:27:07 +0000 (14:27 -0700)]
[automerger skipped] Merge "Osu: fixed Mismatch between createFromParcel and writeToParcel" into oc-dev am: a13c8187c8 am: 8720a5e1b7
am: b3e9029c91  -s ours

Change-Id: I64bfb8fd033d5d4482b7c2f322089a78d2226fb8

6 years agoMerge "Fixed an animation issue with Smart Replies" into pi-dev
android-build-team Robot [Fri, 4 May 2018 21:17:18 +0000 (21:17 +0000)]
Merge "Fixed an animation issue with Smart Replies" into pi-dev

6 years agoMerge "Add clearCallingIdentity for VrManagerService.setVr2dDisplayProperties." into...
Min Xia [Fri, 4 May 2018 21:10:29 +0000 (21:10 +0000)]
Merge "Add clearCallingIdentity for VrManagerService.setVr2dDisplayProperties." into pi-dev

6 years agoMerge "Osu: fixed Mismatch between createFromParcel and writeToParcel" into oc-dev...
Ecco Park [Fri, 4 May 2018 20:46:09 +0000 (13:46 -0700)]
Merge "Osu: fixed Mismatch between createFromParcel and writeToParcel" into oc-dev am: a13c8187c8
am: 8720a5e1b7

Change-Id: I9f7936aeb38e472acbb1246ff160a4ec20aba419

6 years agoProperly prepare system server profiles
Calin Juravle [Thu, 3 May 2018 06:39:19 +0000 (23:39 -0700)]
Properly prepare system server profiles

Update the logic for system server profiles to work without disabling
SELinux policies.

Test: check that system_server profile is created without disabling
SElinux

Bug: 74081010
Change-Id: I8aa1e57da0f8059bcfb149fe7366d8278b4bf516

6 years agoFixed an issue when pulling down from heads up
Selim Cinek [Fri, 4 May 2018 20:42:46 +0000 (13:42 -0700)]
Fixed an issue when pulling down from heads up

When pulling down from above the notification, the heads
up wouldn't become unpinned and the shade expanded instead.
\ 3
Test: pull down from HUN above HUN
Fixes:  78458244

Change-Id: I3bf724f100a3cba1fa09e1de35041e4552ed81ff

6 years agoMerge "Osu: fixed Mismatch between createFromParcel and writeToParcel" into oc-dev
Ecco Park [Fri, 4 May 2018 20:34:34 +0000 (13:34 -0700)]
Merge "Osu: fixed Mismatch between createFromParcel and writeToParcel" into oc-dev
am: a13c8187c8

Change-Id: I5ffcd6ba62f2c085f2a9929fadd0366238c9183a

6 years agoMerge "Grant SharedStorageBackup storage access." into pi-dev
android-build-team Robot [Fri, 4 May 2018 20:29:56 +0000 (20:29 +0000)]
Merge "Grant SharedStorageBackup storage access." into pi-dev

6 years agoMerge "Osu: fixed Mismatch between createFromParcel and writeToParcel" into oc-dev
Ecco Park [Fri, 4 May 2018 20:21:53 +0000 (20:21 +0000)]
Merge "Osu: fixed Mismatch between createFromParcel and writeToParcel" into oc-dev

6 years agoMerge "Add cmd to let statsd print all logs it received for debugging." into pi-dev
Yao Chen [Fri, 4 May 2018 20:21:18 +0000 (20:21 +0000)]
Merge "Add cmd to let statsd print all logs it received for debugging." into pi-dev

6 years agoMerge "Support stats log in lmkd." into pi-dev
Yao Chen [Fri, 4 May 2018 20:21:18 +0000 (20:21 +0000)]
Merge "Support stats log in lmkd." into pi-dev

6 years agoFixing a memory leak with notifications
Selim Cinek [Fri, 4 May 2018 20:13:09 +0000 (13:13 -0700)]
Fixing a memory leak with notifications

Test: observe code
Change-Id: I79ae5b883a743aee96f25fef2756df31cee351d8
Fixes: 79179221

6 years agoMerge "Propagate calling UID to AM from CrossProfileApps" into pi-dev
android-build-team Robot [Fri, 4 May 2018 19:35:44 +0000 (19:35 +0000)]
Merge "Propagate calling UID to AM from CrossProfileApps" into pi-dev

6 years agoMerge "Allow gestures to executed started from deadzone on nav bar" into pi-dev
android-build-team Robot [Fri, 4 May 2018 19:30:28 +0000 (19:30 +0000)]
Merge "Allow gestures to executed started from deadzone on nav bar" into pi-dev

6 years agoMerge "Connected MAC Randomization Metrics Proto" into pi-dev
Jong Wook Kim [Fri, 4 May 2018 19:25:28 +0000 (19:25 +0000)]
Merge "Connected MAC Randomization Metrics Proto" into pi-dev

6 years agoFixed an animation issue with Smart Replies
Selim Cinek [Thu, 3 May 2018 20:52:04 +0000 (13:52 -0700)]
Fixed an animation issue with Smart Replies

Updating a remoteInputHistory message to non-history
was generating a weird animation because we would
not reuse the view if the remoteInputHistory state
changed.

Bug: 77957392
Test: visual, observe normal animations
Change-Id: Iac869159411cc57c90476ef684a05e8547c14aa4

6 years agoMerge "Fix incorrect background bounds set by stackscroll view" into pi-dev
Selim Cinek [Fri, 4 May 2018 19:09:59 +0000 (19:09 +0000)]
Merge "Fix incorrect background bounds set by stackscroll view" into pi-dev

6 years agoSupport readback of TextureView into 565 and extended sRGB.
Derek Sollenberger [Thu, 3 May 2018 20:12:18 +0000 (16:12 -0400)]
Support readback of TextureView into 565 and extended sRGB.

Bug: 78906699
Test: CtsViewTestCases
Change-Id: I89e8544a883dcb3eb222c164ab57d20e55a073c3

6 years agoAllow gestures to executed started from deadzone on nav bar
Matthew Ng [Thu, 3 May 2018 19:51:43 +0000 (12:51 -0700)]
Allow gestures to executed started from deadzone on nav bar

Set slippery to true when gesture starts from deadzone and when finished
set slippery to its correct state.

Change-Id: I035d12f9639ce4af00db9e0d25b514f074b5198c
Fixes: 78886558
Test: swipe up from deadzone on nav bar (just above home button)

6 years agoMerge "Schedule local activity relaunch" into pi-dev
Andrii Kulian [Fri, 4 May 2018 18:23:32 +0000 (18:23 +0000)]
Merge "Schedule local activity relaunch" into pi-dev

6 years agoMerge "Resume swipe up when notification shade is opened" into pi-dev
android-build-team Robot [Fri, 4 May 2018 18:04:48 +0000 (18:04 +0000)]
Merge "Resume swipe up when notification shade is opened" into pi-dev

6 years agoMerge "[Notif] Fix BH & Snooze button bounds and UI" into pi-dev
android-build-team Robot [Fri, 4 May 2018 17:50:24 +0000 (17:50 +0000)]
Merge "[Notif] Fix BH & Snooze button bounds and UI" into pi-dev

6 years agoMerge "Just drop the default WP bitmap, don't explicitly recycle it" into pi-dev
android-build-team Robot [Fri, 4 May 2018 17:47:04 +0000 (17:47 +0000)]
Merge "Just drop the default WP bitmap, don't explicitly recycle it" into pi-dev

6 years ago[AWARE] Update docs for service discovery callbacks
Etan Cohen [Fri, 4 May 2018 17:33:59 +0000 (10:33 -0700)]
[AWARE] Update docs for service discovery callbacks

Clarify that service discovery callbacks may be triggered multiple
times (and that therefore apps should deal correctly with it). These
may happen for several reasons (not documented since too low level):
- Peer went out-of-hearing-range and came back
- Peer went out of geofence range and came back
- Concurrency limitations caused discovery to switch from ranging-based
  to non-ranging-based or back

Bug: 77925576
Test: N/A
Change-Id: I9fbb909e5bd57fb714aa82bcfeb2834361722149

6 years agoGrant SharedStorageBackup storage access.
Anton Philippov [Fri, 4 May 2018 13:46:44 +0000 (14:46 +0100)]
Grant SharedStorageBackup storage access.

Shared storage backup had been relying on the WRITE_MEDIA_STORAGE permission to access
files on external storage, but that permission has been locked down,
and we need to use the real WRITE_EXTERNAL_STORAGE permission now.

Bug: 78938482
Test: build && boot && 'adb backup -shared' && 'adb restore backup.ab'
Test: make gts -j32 && gts-tradefed run gts -m GtsPermissionTestCases
Change-Id: Id244a1178936e8ffcccc7f95bcb120809a4b4607

6 years agoMerge "Update dnd defaults for new users" into pi-dev
android-build-team Robot [Fri, 4 May 2018 13:54:27 +0000 (13:54 +0000)]
Merge "Update dnd defaults for new users" into pi-dev

6 years agoMerge "Light grey some View APIs." into pi-dev
Nicolas Geoffray [Fri, 4 May 2018 12:36:12 +0000 (12:36 +0000)]
Merge "Light grey some View APIs." into pi-dev

6 years agoMerge "Add more light grey APIs." into pi-dev
Nicolas Geoffray [Fri, 4 May 2018 10:54:45 +0000 (10:54 +0000)]
Merge "Add more light grey APIs." into pi-dev

6 years agoFix incorrect background bounds set by stackscroll view
shawnlin [Fri, 4 May 2018 09:09:50 +0000 (17:09 +0800)]
Fix incorrect background bounds set by stackscroll view

Even if the stackscroll view is the same width as notification panel
view, it doesn't guarantee the left position is 0 in window(when nav bar
is on the left side).

Always use location in window to set the left position instead.

Test: runtest systemui
Test: manual 1) change display size to largest 2) rotate to landscape 3)
expand notification panel and check
Fixes: 74988082

Change-Id: I06641c145365e315192e0b2b6c44d075a3016733

6 years agoLight grey some View APIs.
Nicolas Geoffray [Fri, 4 May 2018 08:38:55 +0000 (09:38 +0100)]
Light grey some View APIs.

bug: 79206637
Test: m
Change-Id: Ibbc28177f7946367657f9880a7f255488fb4d0cc

6 years agoMerge "[DO NOT MERGE] [Companion] Nullcheck if ListView is null" into pi-dev
Eugene Susla [Fri, 4 May 2018 03:31:25 +0000 (03:31 +0000)]
Merge "[DO NOT MERGE] [Companion] Nullcheck if ListView is null" into pi-dev

6 years agoOsu: fixed Mismatch between createFromParcel and writeToParcel
Ecco Park [Thu, 3 May 2018 21:49:40 +0000 (14:49 -0700)]
Osu: fixed Mismatch between createFromParcel and writeToParcel

Bug: 77600924
Change-Id: I46d765892e8e6839ed5140a3b0d6bb1815ccf9bc
Signed-off-by: Ecco Park <eccopark@google.com>
6 years agoMerge "Adding a wrapper around Tonal API" into pi-dev
android-build-team Robot [Fri, 4 May 2018 03:09:19 +0000 (03:09 +0000)]
Merge "Adding a wrapper around Tonal API" into pi-dev

6 years agoMerge "Reset statsd and correctly record the dump reason when system server restarts...
android-build-team Robot [Fri, 4 May 2018 02:43:03 +0000 (02:43 +0000)]
Merge "Reset statsd and correctly record the dump reason when system server restarts/crashes." into pi-dev

6 years agoMerge "Turns DEBUG to false in statsd." into pi-dev
android-build-team Robot [Fri, 4 May 2018 02:41:44 +0000 (02:41 +0000)]
Merge "Turns DEBUG to false in statsd." into pi-dev

6 years agoMerge "Metrics for user choices in storage wizard." into pi-dev
android-build-team Robot [Fri, 4 May 2018 02:32:09 +0000 (02:32 +0000)]
Merge "Metrics for user choices in storage wizard." into pi-dev

6 years agoMerge "Reduced the opacity of the ripple when dark" into pi-dev
android-build-team Robot [Fri, 4 May 2018 02:16:22 +0000 (02:16 +0000)]
Merge "Reduced the opacity of the ripple when dark" into pi-dev

6 years agoMerge "Fixed the RTL appearance of messagingStyle" into pi-dev
android-build-team Robot [Fri, 4 May 2018 02:12:22 +0000 (02:12 +0000)]
Merge "Fixed the RTL appearance of messagingStyle" into pi-dev

6 years agoMerge "Correct insets for getNonMinimizedSplitScreenSecondaryBounds" into pi-dev
android-build-team Robot [Fri, 4 May 2018 02:08:23 +0000 (02:08 +0000)]
Merge "Correct insets for getNonMinimizedSplitScreenSecondaryBounds" into pi-dev

6 years agoAdding a wrapper around Tonal API
Sunny Goyal [Wed, 2 May 2018 20:20:04 +0000 (13:20 -0700)]
Adding a wrapper around Tonal API

Bug: 79111591
Test: Verified API on launcher build
Change-Id: I84e0e8b9d5cfb8c915dcc1123d150df4ecb3a9b1

6 years agoMerge "Fixed a leak with TransformStates" into pi-dev
android-build-team Robot [Fri, 4 May 2018 01:22:06 +0000 (01:22 +0000)]
Merge "Fixed a leak with TransformStates" into pi-dev

6 years agoMerge "Fix issue where line breaks would be wrong" into pi-dev
Lucas Dupin [Fri, 4 May 2018 01:16:22 +0000 (01:16 +0000)]
Merge "Fix issue where line breaks would be wrong" into pi-dev

6 years agoMerge "Bigger ownerInfo padding" into pi-dev
android-build-team Robot [Fri, 4 May 2018 01:15:47 +0000 (01:15 +0000)]
Merge "Bigger ownerInfo padding" into pi-dev

6 years agoMerge "Update views when next slice is null" into pi-dev
Lucas Dupin [Fri, 4 May 2018 01:14:10 +0000 (01:14 +0000)]
Merge "Update views when next slice is null" into pi-dev

6 years ago[automerger skipped] Merge "DO NOT MERGE Truncate newline and tab characters in Bluet...
android-build-team Robot [Fri, 4 May 2018 01:12:05 +0000 (18:12 -0700)]
[automerger skipped] Merge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name" into oc-dev am: 8d16d7915d am: eaa6d200b3  -s ours
am: 4d94bf0498  -s ours

Change-Id: I37240064ca3a5c1d7131154bd933e6b4d3e26a60

6 years ago[automerger skipped] Merge "DO NOT MERGE Truncate newline and tab characters in Bluet...
android-build-team Robot [Fri, 4 May 2018 01:06:40 +0000 (18:06 -0700)]
[automerger skipped] Merge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name" into oc-dev am: 8d16d7915d
am: eaa6d200b3  -s ours

Change-Id: Icb1b568faee09aa2113c1d832974f37d21ee96b0

6 years agoMerge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name"...
android-build-team Robot [Fri, 4 May 2018 00:58:59 +0000 (17:58 -0700)]
Merge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name" into oc-dev
am: 8d16d7915d

Change-Id: Ib34226b3ce41e83ae018c86d5a4e53564e207b46

6 years agoReduced the opacity of the ripple when dark
Selim Cinek [Fri, 4 May 2018 00:57:27 +0000 (17:57 -0700)]
Reduced the opacity of the ripple when dark

It was at 87 before and much reduced now.

Test: visually
Change-Id: I90bfbc6866e4d7399730635c04649b9415f7d598
Fixes: 79219117

6 years agoMerge "Changed the way the ellipsizing of text is measured" into pi-dev
Selim Cinek [Fri, 4 May 2018 00:54:13 +0000 (00:54 +0000)]
Merge "Changed the way the ellipsizing of text is measured" into pi-dev

6 years agoMerge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name"...
android-build-team Robot [Fri, 4 May 2018 00:47:48 +0000 (00:47 +0000)]
Merge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name" into oc-dev

6 years agoFixed the RTL appearance of messagingStyle
Selim Cinek [Fri, 4 May 2018 00:41:21 +0000 (17:41 -0700)]
Fixed the RTL appearance of messagingStyle

LTR text was still appearing LTR, but we rather use
viewstart

Test: visually
Change-Id: Id95a8422f1a6143b642e5653d201861cdb6d0ca7
Fixes: 79223146

6 years ago[automerger skipped] Merge "DO NOT MERGE Truncate newline and tab characters in Bluet...
android-build-team Robot [Fri, 4 May 2018 00:35:56 +0000 (17:35 -0700)]
[automerger skipped] Merge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name" into oc-mr1-dev
am: d0e8f1f155  -s ours

Change-Id: Id2d529132100406ca0cefd262d738f498439a8b1

6 years agoSchedule local activity relaunch
Andrii Kulian [Thu, 3 May 2018 23:26:25 +0000 (16:26 -0700)]
Schedule local activity relaunch

If local activity relaunch is executed immediately, and if
recreate() was called from a lifecycle callback, then existing
instance of activity will be destroyed while ActivityThread may
continue using it to finish performing a transaction item.
To remove this double lifecycle loop we now schedule local activity
relaunch on client thread instead of executing it immediately.
It worked in similar way until changes in b/30060825.

Bug: 78576150
Bug: 64610483
Bug: 30060825
Test: ActivityLifecycleTests
Change-Id: Ic0cef229f2f9df0fa40066d8540c4b29da7bdc58

6 years agoMerge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name"...
android-build-team Robot [Fri, 4 May 2018 00:28:20 +0000 (00:28 +0000)]
Merge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name" into oc-mr1-dev

6 years agoAdd clearCallingIdentity for VrManagerService.setVr2dDisplayProperties.
minxia [Wed, 2 May 2018 01:08:34 +0000 (18:08 -0700)]
Add clearCallingIdentity for VrManagerService.setVr2dDisplayProperties.

Bug: 70034305
Test: mma frameworks/base/services/core

Change-Id: Ieb13f071c50ff016d0bbf378bddb2f729ae0752a

6 years agoReset statsd and correctly record the dump reason when system
Yangster-mac [Wed, 2 May 2018 21:16:48 +0000 (14:16 -0700)]
Reset statsd and correctly record the dump reason when system
server restarts/crashes.

Test: statsd test
BUG: b/79161505
Change-Id: I0646c764964f6eafde91f9ae0179a1c837af320d

6 years agoMerge "Add app op for Bluetooth scans" into pi-dev
android-build-team Robot [Fri, 4 May 2018 00:01:53 +0000 (00:01 +0000)]
Merge "Add app op for Bluetooth scans" into pi-dev

6 years agoMerge "Fix issue #77931346: The notification that should not be named appeared" into...
Dianne Hackborn [Fri, 4 May 2018 00:01:01 +0000 (00:01 +0000)]
Merge "Fix issue #77931346: The notification that should not be named appeared" into pi-dev

6 years ago[Notif] Fix BH & Snooze button bounds and UI
Rohan Shah [Thu, 3 May 2018 23:58:37 +0000 (16:58 -0700)]
[Notif] Fix BH & Snooze button bounds and UI

Moved padding/margins around to better align with content and avoid
having negative margin where possible.

Test: Visually, with layout bounds
Change-Id: Ied84e84a8658064ef8c317857ef5bad2cbb67e9e
Fixes: 77318740

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc...
android-build-team Robot [Thu, 3 May 2018 23:57:15 +0000 (16:57 -0700)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc-dev am: 96e62bb999 am: d9a2898a88
am: 435b77411b

Change-Id: I258cea0c5c81db769e8bf98c644196571e0dce43

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc...
android-build-team Robot [Thu, 3 May 2018 23:43:46 +0000 (16:43 -0700)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc-dev am: 96e62bb999
am: d9a2898a88

Change-Id: I2d4e8373092b33af5cc41287073842b8637b9e9e

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc-dev
android-build-team Robot [Thu, 3 May 2018 23:31:58 +0000 (16:31 -0700)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc-dev
am: 96e62bb999

Change-Id: I387591c99f211f3e2399eed316cc1eada3a6b7f5

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev am...
android-build-team Robot [Thu, 3 May 2018 23:23:41 +0000 (16:23 -0700)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev am: a9e5b5dce0 am: 7e01400018
am: 71e0f8ffef

Change-Id: I684ff4f5fdb0891f718c5c54b8dc61b78b73b02a

6 years agoChanged the way the ellipsizing of text is measured
Selim Cinek [Thu, 3 May 2018 02:01:33 +0000 (19:01 -0700)]
Changed the way the ellipsizing of text is measured

This also fixed the paddings for the bigtext layout
by remeasuring it after the initial measure.

Test: runtest systemui
Change-Id: I4b974645606691e6faf2b99b8e52c791e69ee6ea
Fixes: 79111092

6 years agoCorrect insets for getNonMinimizedSplitScreenSecondaryBounds
Matthew Ng [Thu, 3 May 2018 23:10:55 +0000 (16:10 -0700)]
Correct insets for getNonMinimizedSplitScreenSecondaryBounds

Fixed the addition error on seascape and added top insets for launcher
to get correct bounds.

Change-Id: I963e69dcba7b20d138ba01e361f21186b773a264
Fixes: 79209096
Test: manual

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc-dev
android-build-team Robot [Thu, 3 May 2018 23:10:52 +0000 (23:10 +0000)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc-dev

* changes:
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: b6cde9ecc1 am: b906043c81 am: 9822117184 am: 2b41ff76b0 skipped: 4eaa691175
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: b6cde9ecc1 am: b906043c81 am: 9822117184 am: 2b41ff76b0
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: b6cde9ecc1 am: b906043c81 am: 9822117184
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: b6cde9ecc1 am: b906043c81
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: b6cde9ecc1
  DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev am...
android-build-team Robot [Thu, 3 May 2018 23:10:17 +0000 (16:10 -0700)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev am: a9e5b5dce0
am: 7e01400018

Change-Id: I863476787647ddcb16e5e0587d0c06a755cb0e07

6 years agoBigger ownerInfo padding
Lucas Dupin [Thu, 3 May 2018 23:05:16 +0000 (16:05 -0700)]
Bigger ownerInfo padding

Change-Id: Ia45fb8cae466ee15d6718608d6df26e6b93da171
Fixes: 77507690
Test: visual

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev
android-build-team Robot [Thu, 3 May 2018 22:56:49 +0000 (15:56 -0700)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev
am: a9e5b5dce0

Change-Id: Id8fb16f96cd87b7aeb8cf501a70952e877ac0210

6 years agoMerge "WindowManager: Reapply magnification spec when adding windows." into pi-dev
Rob Carr [Thu, 3 May 2018 22:52:55 +0000 (22:52 +0000)]
Merge "WindowManager: Reapply magnification spec when adding windows." into pi-dev

6 years agoMerge "SurfaceControl: Close CloseGuard when destroying surface in transaction."...
Rob Carr [Thu, 3 May 2018 22:52:18 +0000 (22:52 +0000)]
Merge "SurfaceControl: Close CloseGuard when destroying surface in transaction." into pi-dev

6 years agoSupport stats log in lmkd.
Yao Chen [Wed, 2 May 2018 16:23:05 +0000 (09:23 -0700)]
Support stats log in lmkd.

This CL changes the relevant cpp files to c files. And added functionalities to reset the log
context for reuse.

Background:
+ lmkd doesn't use the generated statslog code because:
   1. lmkd doesn't want to create a 4K log context for each log. lmkd is single threaded and can
      reuse the same log context.
   2. lmkd is written in c, and the existing statslog.h/.cpp are not compatible

Bug: 78603347
Test: manually tested with alloc-stress
Change-Id: Ife6f5c69248ecf5af730269e67f229ba4c72f37f

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev
android-build-team Robot [Thu, 3 May 2018 22:36:11 +0000 (22:36 +0000)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev

* changes:
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e am: 0cd0cef08f skipped: 365fb1c844 am: 1839e70cda am: cdc99a0e87 am: f145e8172c am: d72de1bde1 skipped: 2005cc7070
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e am: 0cd0cef08f skipped: 365fb1c844 am: 1839e70cda am: cdc99a0e87 am: f145e8172c am: d72de1bde1
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e am: 0cd0cef08f skipped: 365fb1c844 am: 1839e70cda am: cdc99a0e87 am: f145e8172c
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e am: 0cd0cef08f skipped: 365fb1c844 am: 1839e70cda am: cdc99a0e87
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e am: 0cd0cef08f skipped: 365fb1c844 am: 1839e70cda
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e am: 0cd0cef08f skipped: 365fb1c844
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e am: 0cd0cef08f
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c
  DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name

6 years agoMerge "Fixes a visual issue with the Messaging Layout" into pi-dev
android-build-team Robot [Thu, 3 May 2018 22:20:04 +0000 (22:20 +0000)]
Merge "Fixes a visual issue with the Messaging Layout" into pi-dev

6 years agoResume swipe up when notification shade is opened
Matthew Ng [Wed, 2 May 2018 00:54:50 +0000 (17:54 -0700)]
Resume swipe up when notification shade is opened

Change-Id: Ia574565f0d44e3d0597b8b23b5eec66f1036e17b
Fixes: 79094268
Fixes: 79146824
Test: start swipe up and at same time swipe the notifications down

6 years agoMerge "Hide some previously exempt notifications" into pi-dev
Julia Reynolds [Thu, 3 May 2018 21:54:02 +0000 (21:54 +0000)]
Merge "Hide some previously exempt notifications" into pi-dev

6 years agoMerge "Added more logging around failures in overview connecting to launcher" into...
android-build-team Robot [Thu, 3 May 2018 21:45:47 +0000 (21:45 +0000)]
Merge "Added more logging around failures in overview connecting to launcher" into pi-dev

6 years agoTurns DEBUG to false in statsd.
Yangster-mac [Wed, 2 May 2018 19:23:17 +0000 (12:23 -0700)]
Turns DEBUG to false in statsd.

Test: statsd test
BUG: b/79161505
Change-Id: Ic6eee527d625b10aa86b2beb4b4c4fc05b051c7d

6 years agoFixes a visual issue with the Messaging Layout
Selim Cinek [Thu, 3 May 2018 00:22:20 +0000 (17:22 -0700)]
Fixes a visual issue with the Messaging Layout

A messaging group would still look visible if all of its children
were hidden, which is incorrect. We instead regard it as measured too
small.

Test: add message notification with smart reply, click on smart reply
Change-Id: If5174f95038bf16022d935fd05f337969984f0c2
Fixes: 78214933

6 years agoMerge "Fix NPE finding target activity after recents animation controller crash"...
Winson Chung [Thu, 3 May 2018 21:07:07 +0000 (21:07 +0000)]
Merge "Fix NPE finding target activity after recents animation controller crash" into pi-dev

6 years ago[DO NOT MERGE] [Companion] Nullcheck if ListView is null
Eugene Susla [Mon, 23 Apr 2018 18:16:47 +0000 (11:16 -0700)]
[DO NOT MERGE] [Companion] Nullcheck if ListView is null

It's possible for it to be null if single device option was requested

Test: ensure attached bug is fixed
Fixes: 77963546
Change-Id: I4b94f4027cd9ec55a4cd558cf1d5522bfd0e46d7
(cherry picked from commit a6d548250e3830c356776651c918d5bf46d4f998)

6 years agoAdded more logging around failures in overview connecting to launcher
Matthew Ng [Wed, 2 May 2018 23:58:44 +0000 (16:58 -0700)]
Added more logging around failures in overview connecting to launcher

Added onBindingDied, onNullBinding and logging if the user has not been
setup or if launcher component is disabled. Also added a defered
callback to reconnect after a couple of seconds even if binder says its
bound but has the possiblity of the service not connected.

Change-Id: I59919a66dea3bc61c014759ba03f1949abc055bd
Fixes: 78681054
Test: manual

6 years agoMerge "Fix the line split for LDAC Playback Quality title string" into pi-dev
android-build-team Robot [Thu, 3 May 2018 20:32:15 +0000 (20:32 +0000)]
Merge "Fix the line split for LDAC Playback Quality title string" into pi-dev

6 years agoMerge "Enforce that the user switcher icons are circular" into pi-dev
android-build-team Robot [Thu, 3 May 2018 20:19:39 +0000 (20:19 +0000)]
Merge "Enforce that the user switcher icons are circular" into pi-dev