OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Remove use of SkRefCnt_SafeAssign."
TreeHugger Robot [Thu, 12 Jul 2018 20:24:24 +0000 (20:24 +0000)]
Merge "Remove use of SkRefCnt_SafeAssign."

5 years agoMerge "Depecrate flags, and try to match them to actions"
TreeHugger Robot [Thu, 12 Jul 2018 19:34:40 +0000 (19:34 +0000)]
Merge "Depecrate flags, and try to match them to actions"

5 years agoRemove use of SkRefCnt_SafeAssign.
Ben Wagner [Thu, 12 Jul 2018 16:41:28 +0000 (12:41 -0400)]
Remove use of SkRefCnt_SafeAssign.

Update pointer to SkRefCnt fields which require it to sk_sp.

Test: refactoring CL. Existing unit tests still pass.
Change-Id: I4f3eb790ee67c09746708458c4492569b64cc58f

5 years agoMerge "WRITE_APN_SETTINGS is also required to read" am: 0beefc0af5 am: e5c77fc978
Jordan Liu [Thu, 12 Jul 2018 19:16:41 +0000 (12:16 -0700)]
Merge "WRITE_APN_SETTINGS is also required to read" am: 0beefc0af5 am: e5c77fc978
am: 4af8f3c3bf

Change-Id: I032f399674847edf7698ad13d5914e33a0df70d1

5 years ago[automerger skipped] Merge "Move XML object factory logic to libcore" am: 8176fb99e1...
Neil Fuller [Thu, 12 Jul 2018 19:00:24 +0000 (12:00 -0700)]
[automerger skipped] Merge "Move XML object factory logic to libcore" am: 8176fb99e1 am: 7add22db60
am: a57acd367c  -s ours

Change-Id: I7084ce472a2fce76048b02fe7f0c1672428bd207

5 years agoMerge "WRITE_APN_SETTINGS is also required to read" am: 0beefc0af5
Jordan Liu [Thu, 12 Jul 2018 18:56:50 +0000 (11:56 -0700)]
Merge "WRITE_APN_SETTINGS is also required to read" am: 0beefc0af5
am: e5c77fc978

Change-Id: I42a6e604ff65bbb77d0f23c584722c1ea44038e6

5 years ago[automerger skipped] Merge "Added documentation for network registration state" am...
Jack Yu [Thu, 12 Jul 2018 18:49:31 +0000 (11:49 -0700)]
[automerger skipped] Merge "Added documentation for network registration state" am: c51397b161  -s ours am: 6af5ddcc4a
am: e0cb240a50

Change-Id: I9de375d4da8c612bfa09c947c652edc1c2c28722

5 years agoMerge "WRITE_APN_SETTINGS is also required to read"
Jordan Liu [Thu, 12 Jul 2018 18:46:32 +0000 (11:46 -0700)]
Merge "WRITE_APN_SETTINGS is also required to read"
am: 0beefc0af5

Change-Id: I1ac69c71c7bdb39a9631da00a8bda89f7c1f0edd

5 years agoMerge "Move XML object factory logic to libcore" am: 8176fb99e1
Neil Fuller [Thu, 12 Jul 2018 18:42:14 +0000 (11:42 -0700)]
Merge "Move XML object factory logic to libcore" am: 8176fb99e1
am: 7add22db60

Change-Id: If395891203fae0a8b55f8f58430adc979b758db2

5 years ago[automerger skipped] Merge "Added documentation for network registration state" am...
Jack Yu [Thu, 12 Jul 2018 18:35:03 +0000 (11:35 -0700)]
[automerger skipped] Merge "Added documentation for network registration state" am: c51397b161  -s ours
am: 6af5ddcc4a

Change-Id: I7ea119e9f8d580e18efa56f1cfa3be4c86c18bea

5 years agoMerge "Camera: Use session configuraion when recording tests" into pi-dev am: 26da9f18ed
chened [Thu, 12 Jul 2018 18:33:30 +0000 (11:33 -0700)]
Merge "Camera: Use session configuraion when recording tests" into pi-dev am: 26da9f18ed
am: c6360e5772

Change-Id: I7667526285406451cea841dba22d265163c95354

5 years agoMerge "Move XML object factory logic to libcore"
Neil Fuller [Thu, 12 Jul 2018 18:26:03 +0000 (11:26 -0700)]
Merge "Move XML object factory logic to libcore"
am: 8176fb99e1

Change-Id: Ib0940ecb89eaf11841bbd66cdaf1c5379466496c

5 years ago[automerger skipped] Merge "Added documentation for network registration state"
Jack Yu [Thu, 12 Jul 2018 18:21:11 +0000 (11:21 -0700)]
[automerger skipped] Merge "Added documentation for network registration state"
am: c51397b161  -s ours

Change-Id: I33f775c099c949f117badea85fadaa3e5a2eec7a

5 years agoMerge "camera2: Treat face detect mode larger than FULL as FULL" into pi-dev am:...
Donghui Han [Thu, 12 Jul 2018 18:19:07 +0000 (11:19 -0700)]
Merge "camera2: Treat face detect mode larger than FULL as FULL" into pi-dev am: 2fca393cc1
am: d05d630060

Change-Id: I3947264d88d0c558f8c7fb5ee22160af934e411e

5 years agoMerge "Camera: Use session configuraion when recording tests" into pi-dev
chened [Thu, 12 Jul 2018 17:53:26 +0000 (10:53 -0700)]
Merge "Camera: Use session configuraion when recording tests" into pi-dev
am: 26da9f18ed

Change-Id: I68975212f84e6e31c2dffb002749d2ec735689b5

5 years agoMerge "camera2: Treat face detect mode larger than FULL as FULL" into pi-dev
Donghui Han [Thu, 12 Jul 2018 17:47:53 +0000 (10:47 -0700)]
Merge "camera2: Treat face detect mode larger than FULL as FULL" into pi-dev
am: 2fca393cc1

Change-Id: I77b6b8e6d469a9e28478ddd7975f9c065caef20b

5 years agoMerge "WRITE_APN_SETTINGS is also required to read"
Jordan Liu [Thu, 12 Jul 2018 17:36:15 +0000 (17:36 +0000)]
Merge "WRITE_APN_SETTINGS is also required to read"

5 years agoMerge "Camera: Use session configuraion when recording tests" into pi-dev
TreeHugger Robot [Thu, 12 Jul 2018 17:26:37 +0000 (17:26 +0000)]
Merge "Camera: Use session configuraion when recording tests" into pi-dev

5 years agoMerge "camera2: Treat face detect mode larger than FULL as FULL" into pi-dev
Donghui Han [Thu, 12 Jul 2018 17:19:36 +0000 (17:19 +0000)]
Merge "camera2: Treat face detect mode larger than FULL as FULL" into pi-dev

5 years agoMerge "Fixed temporary brightness getting stuck bug."
TreeHugger Robot [Thu, 12 Jul 2018 16:50:11 +0000 (16:50 +0000)]
Merge "Fixed temporary brightness getting stuck bug."

5 years agoMerge "Re-evaluate scrim color on keyguard vis event"
TreeHugger Robot [Thu, 12 Jul 2018 16:38:03 +0000 (16:38 +0000)]
Merge "Re-evaluate scrim color on keyguard vis event"

5 years agoMerge "Hide wallpaper when backdrop arrives"
TreeHugger Robot [Thu, 12 Jul 2018 16:36:34 +0000 (16:36 +0000)]
Merge "Hide wallpaper when backdrop arrives"

5 years agoMerge "Use minimumHeight in QS header"
TreeHugger Robot [Thu, 12 Jul 2018 14:51:12 +0000 (14:51 +0000)]
Merge "Use minimumHeight in QS header"

5 years agoMerge "Move XML object factory logic to libcore"
Treehugger Robot [Thu, 12 Jul 2018 13:46:56 +0000 (13:46 +0000)]
Merge "Move XML object factory logic to libcore"

5 years agoFixed temporary brightness getting stuck bug.
Dan Gittik [Thu, 12 Jul 2018 13:22:08 +0000 (14:22 +0100)]
Fixed temporary brightness getting stuck bug.

When the user would set the brightness to the same value, the
temporary brightness would remain applied, effectively disabling
auto-brightness and confusing the system state.

Test: Drag the slider to an extremity (e.g. maximum), let it go, and
      then re-drag the slider to the same place (e.g. place your finger
      on the middle of the slider and move it to the maximum again).
      run adb shell dumpsys display | grep mAppliedTemporaryBrightness
      to check whether temporary brightness is applied; should be false.

Change-Id: Id3a1bff533b1bee9ca760e742dab379eeeb4b14e
Fixes: 111050860

5 years agoMerge "Move XML object factory logic to libcore"
TreeHugger Robot [Thu, 12 Jul 2018 11:20:37 +0000 (11:20 +0000)]
Merge "Move XML object factory logic to libcore"

5 years agoMerge "fix overlay on status bar because of two clock"
Felka Chang [Thu, 12 Jul 2018 09:40:05 +0000 (09:40 +0000)]
Merge "fix overlay on status bar because of two clock"

5 years ago[automerger skipped] Remove unnecessary libcore includes am: 23a97d8d46
Neil Fuller [Thu, 12 Jul 2018 09:06:01 +0000 (02:06 -0700)]
[automerger skipped] Remove unnecessary libcore includes am: 23a97d8d46
am: 0ef27dac21  -s ours

Change-Id: I594bfa59f9ccafa19fa466ffe7a77f8d1407c742

5 years agoRemove unnecessary libcore includes
Neil Fuller [Thu, 12 Jul 2018 09:00:02 +0000 (02:00 -0700)]
Remove unnecessary libcore includes
am: 23a97d8d46

Change-Id: Ic13bcf0477fecd609db8224dc8f9298fa94fa7f9

5 years agoRemove unnecessary libcore includes
Neil Fuller [Tue, 10 Jul 2018 14:18:58 +0000 (15:18 +0100)]
Remove unnecessary libcore includes

This commit removes includes that don't appear to be needed.

Test: build
Bug: 111055375
Merged-In: Ia660abcf992c4acd8709d217116f895b07d9c61c
Change-Id: Ia660abcf992c4acd8709d217116f895b07d9c61c
(cherry picked from commit fa956d5d722dd600ed429f02c55e796f9dc2c772)

5 years agoMerge "Remove unnecessary libcore includes"
Neil Fuller [Thu, 12 Jul 2018 07:33:30 +0000 (07:33 +0000)]
Merge "Remove unnecessary libcore includes"

5 years agoMerge "Settings Frament Migration"
TreeHugger Robot [Thu, 12 Jul 2018 07:01:19 +0000 (07:01 +0000)]
Merge "Settings Frament Migration"

5 years agofix overlay on status bar because of two clock
felkachang [Fri, 29 Jun 2018 07:34:28 +0000 (15:34 +0800)]
fix overlay on status bar because of two clock

Although the status bar block user's tap, the user still could
drag the status bar to expland the notification panel.

The root cause is that neither the clock nor the notification icon
inner area doesn't hide when the user drag down the status bar in
landscape condition but portrait does.

The solution is to trigger mStatusBar.recomputeDisableFlags when
the heads up is showing in landscape mode and the expand status is
different. CollapsedStatusBarFragment.adjustDisableFlags should
disable clock showing when the heads up showing.

Change-Id: If7411f5d8eef9cf234b83a463006325ba0156311
Fix: 110808257
Test: atest SystemUITests

5 years agoFix EditText show wrong position when ime show
felkachang [Wed, 4 Jul 2018 04:51:44 +0000 (12:51 +0800)]
Fix EditText show wrong position when ime show

In landscape and largest density, the area that could show the heads
up notification is smaller than normal density. To handle the heads
up notification should be different with the normal notification in
both of targetScrollForView and getScrollRange because
StackScrollAlgorithm translation heads up notification as
mHeadsUpInset but neither targetScrollForView nor getScrollRange has
have the same consideration.

The solution make the StackScrollAlgorithm to considerate scroll
value to move up the heads up notification.

The getScrollRange need to consider more about the difference
between heads up showing and non-heads up showing. The top padding
and the total content height are the major considerations.

Test: manual test
Test: atest SystemUITests
Change-Id: I46bb960a81f6ab5be4d8e39738e8fb64245dd4eb
Fixes: 110388615

5 years agoMerge "Acquire service lock in AppTaskImpl.moveToFront()"
Wale Ogunwale [Thu, 12 Jul 2018 03:30:20 +0000 (03:30 +0000)]
Merge "Acquire service lock in AppTaskImpl.moveToFront()"

5 years agoMerge "Make sure checking for accessibility pane is consistent"
TreeHugger Robot [Thu, 12 Jul 2018 02:33:30 +0000 (02:33 +0000)]
Merge "Make sure checking for accessibility pane is consistent"

5 years agoMerge "Added documentation for network registration state"
Jack Yu [Thu, 12 Jul 2018 02:28:32 +0000 (02:28 +0000)]
Merge "Added documentation for network registration state"

5 years agoMerge "Add stub implementation of HdmiCecLocalDeviceAudioSystem"
TreeHugger Robot [Thu, 12 Jul 2018 01:39:06 +0000 (01:39 +0000)]
Merge "Add stub implementation of HdmiCecLocalDeviceAudioSystem"

5 years agoSettings Frament Migration
tmfang [Wed, 4 Jul 2018 10:51:10 +0000 (18:51 +0800)]
Settings Frament Migration

Migrate all core classes to AndroidX version.

Bug: 110259478
Test: We can't test it now. But we will have an integration test later.
Change-Id: If34908326f6dd713da7e3e28fe63d0ce3f057f5e

5 years agoMerge "Utility methods useful for working with files."
Jeff Sharkey [Thu, 12 Jul 2018 01:19:39 +0000 (01:19 +0000)]
Merge "Utility methods useful for working with files."

5 years agoAdd stub implementation of HdmiCecLocalDeviceAudioSystem
Nick Chalko [Fri, 25 May 2018 17:29:01 +0000 (10:29 -0700)]
Add stub implementation of HdmiCecLocalDeviceAudioSystem

Bug:80297499
Change-Id: I02893148f3970d6635d8ccad99de0f3ab6f5f0f9
Test: lunch atom; m; flashall
(cherry picked from commit 9a9fd4eaec0d36b19b416e3dc429a69088134698)

5 years agoMerge "Add Channel 50 (area update info) support for LAM market" am: 57df2a333f am...
Arun Rathi [Thu, 12 Jul 2018 00:24:29 +0000 (17:24 -0700)]
Merge "Add Channel 50 (area update info) support for LAM market" am: 57df2a333f am: cdac4d77f6
am: d4e3f8ff6f

Change-Id: Ifaa7d55a8528201cf7418f3e40571b67e5f3c33a

5 years agoMerge "Add Channel 50 (area update info) support for LAM market" am: 57df2a333f
Arun Rathi [Wed, 11 Jul 2018 23:30:50 +0000 (16:30 -0700)]
Merge "Add Channel 50 (area update info) support for LAM market" am: 57df2a333f
am: cdac4d77f6

Change-Id: Iacc41524d575e1dd4c179ab81e7fa374ee096e5b

5 years agoMerge "Add Channel 50 (area update info) support for LAM market"
Arun Rathi [Wed, 11 Jul 2018 23:08:33 +0000 (16:08 -0700)]
Merge "Add Channel 50 (area update info) support for LAM market"
am: 57df2a333f

Change-Id: I28ece8be0f12979bd037337c87df1ce8fd05c331

5 years agoMerge "Merge "Disable LTO on -eng" am: 1918b39942 am: af3e763358" into pi-dev-plus...
John Reck [Wed, 11 Jul 2018 23:03:35 +0000 (16:03 -0700)]
Merge "Merge "Disable LTO on -eng" am: 1918b39942 am: af3e763358" into pi-dev-plus-aosp
am: 7ac9ac5605

Change-Id: I7b048d8897006ba3e0772a9c6e60ecfed0cbe2a8

5 years ago[automerger] Resolve inconsistent parcel read in NanoAppFilter am: abe5a73a4a am...
Arthur Ishiguro [Wed, 11 Jul 2018 22:44:51 +0000 (15:44 -0700)]
[automerger] Resolve inconsistent parcel read in NanoAppFilter am: abe5a73a4a am: 2895b320b4 am: 77e6e34644 am: 49e97ea1dc am: c2cfe453f2 am: cab2fa779e am: bf8733b162 am: e9b67d2b22 am: 267b960dab
am: b9912a254a

Change-Id: Ic85c323a3b706808616e1cf9d3e30a95ca2c37f6

5 years agoAcquire service lock in AppTaskImpl.moveToFront()
Wale Ogunwale [Wed, 11 Jul 2018 22:22:01 +0000 (15:22 -0700)]
Acquire service lock in AppTaskImpl.moveToFront()

Oversight from previous refactor in O release done in ag/2987716

Change-Id: I2e2d6e55251eb319ddee0db97eedc1c574736ead
Fixes: 111336376
Test: builds

5 years agoMerge "Suggest smart actions in ExtServices"
TreeHugger Robot [Wed, 11 Jul 2018 22:21:38 +0000 (22:21 +0000)]
Merge "Suggest smart actions in ExtServices"

5 years agoMerge "Merge "Disable LTO on -eng" am: 1918b39942 am: af3e763358" into pi-dev-plus...
Android Build Merger (Role) [Wed, 11 Jul 2018 22:10:09 +0000 (22:10 +0000)]
Merge "Merge "Disable LTO on -eng" am: 1918b39942 am: af3e763358" into pi-dev-plus-aosp

5 years agoMerge "Disable LTO on -eng" am: 1918b39942
John Reck [Wed, 11 Jul 2018 22:09:34 +0000 (15:09 -0700)]
Merge "Disable LTO on -eng" am: 1918b39942
am: af3e763358

Change-Id: I5146424fc06ad7c62088a0ac6f957e0a02b0ec66

5 years ago[automerger] Resolve inconsistent parcel read in NanoAppFilter am: abe5a73a4a am...
Arthur Ishiguro [Wed, 11 Jul 2018 22:07:23 +0000 (15:07 -0700)]
[automerger] Resolve inconsistent parcel read in NanoAppFilter am: abe5a73a4a am: 2895b320b4 am: 77e6e34644 am: 49e97ea1dc am: c2cfe453f2 am: cab2fa779e am: bf8733b162 am: e9b67d2b22
am: 267b960dab

Change-Id: I78fff5a76a8e1215e3a4235cbe65cc95d0fb8653

5 years agoMerge "Add Channel 50 (area update info) support for LAM market"
Treehugger Robot [Wed, 11 Jul 2018 21:52:01 +0000 (21:52 +0000)]
Merge "Add Channel 50 (area update info) support for LAM market"

5 years agoMerge "Disable LTO on -eng"
John Reck [Wed, 11 Jul 2018 21:48:50 +0000 (14:48 -0700)]
Merge "Disable LTO on -eng"
am: 1918b39942

Change-Id: I925182b722d7bf6b1bb63c298a8ec9e345f0c4ac

5 years ago[automerger] Resolve inconsistent parcel read in NanoAppFilter am: abe5a73a4a am...
Arthur Ishiguro [Wed, 11 Jul 2018 21:40:57 +0000 (14:40 -0700)]
[automerger] Resolve inconsistent parcel read in NanoAppFilter am: abe5a73a4a am: 2895b320b4 am: 77e6e34644 am: 49e97ea1dc am: c2cfe453f2 am: cab2fa779e am: bf8733b162
am: e9b67d2b22

Change-Id: Ia3222d7b97b2d1083404d607738fc15d2646999c

5 years ago[automerger] Resolve inconsistent parcel read in NanoAppFilter am: abe5a73a4a am...
Arthur Ishiguro [Wed, 11 Jul 2018 21:27:45 +0000 (14:27 -0700)]
[automerger] Resolve inconsistent parcel read in NanoAppFilter am: abe5a73a4a am: 2895b320b4 am: 77e6e34644 am: 49e97ea1dc am: c2cfe453f2 am: cab2fa779e
am: bf8733b162

Change-Id: I4fe6469031d7ef6fcc6d9b46da4dbc5845ea62d2

5 years ago[automerger] Resolve inconsistent parcel read in NanoAppFilter am: abe5a73a4a am...
Arthur Ishiguro [Wed, 11 Jul 2018 21:13:30 +0000 (14:13 -0700)]
[automerger] Resolve inconsistent parcel read in NanoAppFilter am: abe5a73a4a am: 2895b320b4 am: 77e6e34644 am: 49e97ea1dc am: c2cfe453f2
am: cab2fa779e

Change-Id: Ifdd69396d202951f8b9ed5fe6e5766133955a5e5

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 11 Jul 2018 20:47:39 +0000 (20:47 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoUtility methods useful for working with files.
Jeff Sharkey [Mon, 9 Jul 2018 22:38:20 +0000 (16:38 -0600)]
Utility methods useful for working with files.

Part of getting DocumentsUI ready for building against public API.

Test: builds
Bug: 110959821
Change-Id: I7cc0acd5ac3bcc89790cb49f34291ae523e44019

5 years agoMerge "Correct buildReportAudioStatus()"
TreeHugger Robot [Wed, 11 Jul 2018 20:30:44 +0000 (20:30 +0000)]
Merge "Correct buildReportAudioStatus()"

5 years agoMerge "Reordered the params for network registration"
TreeHugger Robot [Wed, 11 Jul 2018 20:24:22 +0000 (20:24 +0000)]
Merge "Reordered the params for network registration"

5 years agoMerge "Disable LTO on -eng"
Treehugger Robot [Wed, 11 Jul 2018 20:21:19 +0000 (20:21 +0000)]
Merge "Disable LTO on -eng"

5 years agoMerge "Add STREAM_VOICE_CALL to MUTE_STREAMS_AFFECTED on upgrade"
Nadav Bar [Wed, 11 Jul 2018 20:13:13 +0000 (20:13 +0000)]
Merge "Add STREAM_VOICE_CALL to MUTE_STREAMS_AFFECTED on upgrade"

5 years agoHide wallpaper when backdrop arrives
Lucas Dupin [Mon, 9 Jul 2018 21:32:53 +0000 (14:32 -0700)]
Hide wallpaper when backdrop arrives

Some apps may set a backdrop image after the device enters doze,
causing the artwork to be visible in AOD. Let's draw black.

Test: manual
Test: packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Change-Id: Ib13e14f285594349c1df263f713883449884ff00
Bug: 110959983

5 years agoRe-evaluate scrim color on keyguard vis event
Lucas Dupin [Tue, 10 Jul 2018 22:28:57 +0000 (15:28 -0700)]
Re-evaluate scrim color on keyguard vis event

The color of the scrims depends on the keyguard visibility.
This CL fixes a race condition where the keyguard state would be
delayed causing the scrim color to be wrong.

Test: unlock device with fp multiple times (unlock to activity)
Fixes: 110994792
Change-Id: I4715159b961fa7c989bfdca9088229bff40054aa

5 years agoMerge "Replace SkDrawFilter with PaintFilter."
Ben Wagner [Wed, 11 Jul 2018 19:36:52 +0000 (19:36 +0000)]
Merge "Replace SkDrawFilter with PaintFilter."

5 years ago[automerger skipped] Merge "Update Wcdma and Tdscdma CellInfo for HAL 1.2" am: c1e5c3...
Nathan Harold [Wed, 11 Jul 2018 19:32:16 +0000 (12:32 -0700)]
[automerger skipped] Merge "Update Wcdma and Tdscdma CellInfo for HAL 1.2" am: c1e5c3ea82 am: 22590b06e8  -s ours
am: a35f24bc96  -s ours

Change-Id: Iac671407a301c933ab1bda0dadafcaa1573cc7d0

5 years ago[automerger skipped] Merge "Update Wcdma and Tdscdma CellInfo for HAL 1.2" am: c1e5c3ea82
Nathan Harold [Wed, 11 Jul 2018 19:19:19 +0000 (12:19 -0700)]
[automerger skipped] Merge "Update Wcdma and Tdscdma CellInfo for HAL 1.2" am: c1e5c3ea82
am: 22590b06e8  -s ours

Change-Id: Id9ad6c651594b9ed1306657ab3bcb53278a566e1

5 years agoSuggest smart actions in ExtServices
Tony Mak [Wed, 27 Jun 2018 17:12:48 +0000 (18:12 +0100)]
Suggest smart actions in ExtServices

By using text textclassifier API, we classify entities like
email, phone, address in the notification and suggest the corresponding
actions.

Test: Manual test for now. Sideload GoogleExtServices. Write a sample app
to generate notification with phone number / address, etc, and finally
observe the smart actions.

BUG: 110527159

Change-Id: I02740cb07fa25a588d9e864990f95332d6830f12

5 years agoMerge "Update Wcdma and Tdscdma CellInfo for HAL 1.2"
Nathan Harold [Wed, 11 Jul 2018 19:09:10 +0000 (12:09 -0700)]
Merge "Update Wcdma and Tdscdma CellInfo for HAL 1.2"
am: c1e5c3ea82

Change-Id: I4bbedcc3f47706d677a1c66273bf1643c8f21be5

5 years agoReordered the params for network registration
Jack Yu [Sat, 9 Jun 2018 00:27:05 +0000 (17:27 -0700)]
Reordered the params for network registration

Test: Build
Bug: 73659459
Change-Id: I1af2c49a937177173b760d30b030da20f03c01d7
(cherry picked from commit 7928c4d1c370a67be81ccb5b70696b8ef9db48ba)

5 years agoDisable LTO on -eng
John Reck [Wed, 11 Jul 2018 18:21:09 +0000 (11:21 -0700)]
Disable LTO on -eng

Speeds up incremental compile of one cpp file change
from over a minute to around 15 seconds

Bug: 111277863
Test: touch a .cpp file in hwui & mmm
Change-Id: I946ecad411a7a59f87ed9e1eeb146d6f57bd038a

5 years agoAdded documentation for network registration state
Jack Yu [Wed, 6 Jun 2018 00:38:56 +0000 (17:38 -0700)]
Added documentation for network registration state

Also renamed denial reason to reject cause to match
the 3GPP spec.

Bug: 73659459
Test: Build
Change-Id: Ia7b4a53070c06edd98ae767fd6f56c4000d8e4d0

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: b9ed29...
Bill Yi [Wed, 11 Jul 2018 18:00:28 +0000 (11:00 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: b9ed290b01  -s ours
am: d54b4b0a4f  -s ours

Change-Id: Idf454d7e6c0bb2b1c5e5d91620f8bfc5c5c3f114

5 years agoMerge "Update Wcdma and Tdscdma CellInfo for HAL 1.2"
Nathan Harold [Wed, 11 Jul 2018 17:58:50 +0000 (17:58 +0000)]
Merge "Update Wcdma and Tdscdma CellInfo for HAL 1.2"

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Wed, 11 Jul 2018 17:53:56 +0000 (10:53 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: b9ed290b01  -s ours

Change-Id: I2f6671ada5f0758346cd006dd9f2404b3f4a0a63

5 years agoMerge "MediaPlayer2: clean up setDataSource"
TreeHugger Robot [Wed, 11 Jul 2018 17:52:31 +0000 (17:52 +0000)]
Merge "MediaPlayer2: clean up setDataSource"

5 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 11 Jul 2018 17:47:36 +0000 (17:47 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

5 years agoMerge "Allow NotificationAssistantService to suggest smart actions"
Tony Mak [Wed, 11 Jul 2018 17:32:39 +0000 (17:32 +0000)]
Merge "Allow NotificationAssistantService to suggest smart actions"

5 years agoUse minimumHeight in QS header
Evan Laird [Mon, 2 Jul 2018 21:43:59 +0000 (17:43 -0400)]
Use minimumHeight in QS header

Allow QuickStatusBarHeader to use a minimum hieight so that it doesn't
draw underneath of a notch when display densities are low.

Bug: 78110564
Test: visual
Change-Id: I44df89c3b98dc0bdb8455b36e7ad023b92676c9d

5 years agoCorrect buildReportAudioStatus()
Shubang [Fri, 8 Jun 2018 01:30:07 +0000 (18:30 -0700)]
Correct buildReportAudioStatus()

The format doesn't match the spec (see CEC table 29) or
HdmiUtils.isAudioStatusMute() / HdmiUtils.getAudioStatusVolume()

Bug: 80297383
Test: make;
Change-Id: Ia064fa013cbc2acafe3847151b02d42a79e89388
(cherry picked from commit c2830d1317d0b312809d74a617aae8755d0b6b87)

5 years agoReplace SkDrawFilter with PaintFilter.
Ben Wagner [Thu, 28 Jun 2018 21:08:16 +0000 (17:08 -0400)]
Replace SkDrawFilter with PaintFilter.

Skia is removing SkDrawFilter.

Test: refactoring CL. Existing unit tests still pass.
Change-Id: If81c1a2feabf7d377ae1d7bcb3e8cf0f599ad3ce

5 years agoMerge "Factor our theme of permission grant dialog"
Philip P. Moltmann [Wed, 11 Jul 2018 15:58:14 +0000 (15:58 +0000)]
Merge "Factor our theme of permission grant dialog"

5 years agocamera2: Treat face detect mode larger than FULL as FULL
Donghui Han [Tue, 10 Jul 2018 23:32:39 +0000 (16:32 -0700)]
camera2: Treat face detect mode larger than FULL as FULL

This change treats any face detect mode larger than FULL mode
in the capture result as FULL mode. So in case the face detect
mode is larger than FULL, it is assumed that the FULL mode
STATISTICS_FACE is supported in the capture result.

Bug: 111131913
Test: CTS, GCA
Change-Id: I3a6a29ce8d9d8ab66918baaea3162797e18276d2

5 years agoMerge "Refactor RankingHelper to separate out PreferencesHelper."
Aaron Heuckroth [Wed, 11 Jul 2018 15:10:04 +0000 (15:10 +0000)]
Merge "Refactor RankingHelper to separate out PreferencesHelper."

5 years agoMerge "Clean up sync manager and fix the lock screen blocked sync issue."
Makoto Onuki [Wed, 11 Jul 2018 14:47:21 +0000 (14:47 +0000)]
Merge "Clean up sync manager and fix the lock screen blocked sync issue."

5 years agoMove XML object factory logic to libcore
Neil Fuller [Tue, 10 Jul 2018 17:41:19 +0000 (18:41 +0100)]
Move XML object factory logic to libcore

It makes sense to hide the details of the parser implementation
(and other similar objects) in libcore so it could be changed.

This change removes the "ExpatPerformanceTest" which appears not to have
been maintained and was comparing KxmlParser with itself. It is assumed
that android.util.Xml used to return the expat parser.

Test: build
Bug: 111055375
Merged-In: Ibad247323ba90cd949aecb2bd92f2f73306a4327
Change-Id: Ibad247323ba90cd949aecb2bd92f2f73306a4327

5 years agoMove XML object factory logic to libcore
Neil Fuller [Tue, 10 Jul 2018 17:41:19 +0000 (18:41 +0100)]
Move XML object factory logic to libcore

It makes sense to hide the details of the parser implementation
(and other similar objects) in libcore so it could be changed.

This change removes the "ExpatPerformanceTest" which appears not to have
been maintained and was comparing KxmlParser with itself. It is assumed
that android.util.Xml used to return the expat parser.

Test: build
Bug: 111055375
Change-Id: Ibad247323ba90cd949aecb2bd92f2f73306a4327

5 years agoresolve merge conflicts of 6e3c86c8ed7a1bcfcbc63bbded0043d4b4efbe10 to stage-aosp...
David Brazdil [Wed, 11 Jul 2018 12:41:55 +0000 (05:41 -0700)]
resolve merge conflicts of 6e3c86c8ed7a1bcfcbc63bbded0043d4b4efbe10 to stage-aosp-master am: f8d22dec87
am: 1efb9d2ec3

Change-Id: I284d7c4bf7aad7c50afa714be2178d678af03f92

5 years agoresolve merge conflicts of 6e3c86c8ed7a1bcfcbc63bbded0043d4b4efbe10 to stage-aosp...
David Brazdil [Wed, 11 Jul 2018 12:33:38 +0000 (05:33 -0700)]
resolve merge conflicts of 6e3c86c8ed7a1bcfcbc63bbded0043d4b4efbe10 to stage-aosp-master
am: f8d22dec87

Change-Id: Ia11c6556d55a1eab3552edcd8665969001cfb9e7

5 years agoMerge "Send interaction hint when starting window animation" into pi-dev am: 3f4232a801
Jorim Jaggi [Wed, 11 Jul 2018 12:31:55 +0000 (05:31 -0700)]
Merge "Send interaction hint when starting window animation" into pi-dev am: 3f4232a801
am: d6f00d8511

Change-Id: Iac81ceec8470a57daf9f1e29b8d75b1e68d5a2fa

5 years agoMerge "Send interaction hint when starting window animation" into pi-dev
Jorim Jaggi [Wed, 11 Jul 2018 12:22:34 +0000 (05:22 -0700)]
Merge "Send interaction hint when starting window animation" into pi-dev
am: 3f4232a801

Change-Id: Ie39b514828d7b751d4d9356e1cde32ad44485e68

5 years agoMerge "Send interaction hint when starting window animation" into pi-dev
Jorim Jaggi [Wed, 11 Jul 2018 12:10:29 +0000 (12:10 +0000)]
Merge "Send interaction hint when starting window animation" into pi-dev

5 years agoresolve merge conflicts of 6e3c86c8ed7a1bcfcbc63bbded0043d4b4efbe10 to stage-aosp...
David Brazdil [Wed, 11 Jul 2018 10:56:34 +0000 (11:56 +0100)]
resolve merge conflicts of 6e3c86c8ed7a1bcfcbc63bbded0043d4b4efbe10 to stage-aosp-master

BUG: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ide3c4e229b47e4242cacafc04b70d8b392712cc8

5 years agoAllow NotificationAssistantService to suggest smart actions
Tony Mak [Tue, 19 Jun 2018 17:30:41 +0000 (18:30 +0100)]
Allow NotificationAssistantService to suggest smart actions

Here is the flow:
NAS generates Adjustment -> NMS convert this to RankingUpdate ->
SystemUI.NotificationListener receives the RankingUpdate in either
onNotificationPosted / onNotificationRankingUpdate (Depend on does NAS
provides the adjustment before the notification is en-queued) ->
NotificationEntryManager determines the need of reinflation ->
NotificationInflater inflates / reinflates the view with these
extra bits like smart actions.

Note: We do re-inflation here as simply adding a button to the existing
notification view seems problematic. For example, if the original
notification does not have any action, we will need to inflate the
template with the action container.

Screenshot:
https://hsv.googleplex.com/5731489463402496

Test: atest SystemUITests
Test: atest com.android.server.notification.NotificationAdjustmentExtractorTest
Test: Modify ExtServices to provide adjustment in
      createEnqueuedNotificationAdjustment, post a notification with
      a entity in a sample app, observed the notification is updated.
      (Testing the onNotificationPosted flow)
Test: Modify ExtServices to provide adjustment in onNotificationPosted
      by calling adjustNotification. Post a notification with
      a entity in a sample app, observed the notification is updated.
      (Testing the onRankingUpdated flow)
Test: Repeat the above test, but explicitly make the RowInflaterTask
      slow by inserting Thread.sleep. This can test the onRankingUpdated
      flow when the row is not yet inflated.

BUG: 110527159

Change-Id: I98aee3ac62f60b189ea92ac9fc000127325dfead

5 years agoCollects binder call stats data through WestWorld.
Olivier Gaillard [Tue, 10 Jul 2018 10:25:09 +0000 (11:25 +0100)]
Collects binder call stats data through WestWorld.

We require binder calls detailed tracking to be enabled to collect the
stats (in addition to enabling it in WestWorld).

Test: unit test + manual

adb shell cmd stats pull-source 10022
Pull from 10022: { 1531240941000000000 25807560798 (10022)0x10000->0[I]
0x20000->com.android.server.StorageManagerService$3[S]
0x30000->onVolumePathChanged[S] 0x40000->1[L] 0x50000->0[L]
0x60000->18490[L] 0x70000->18490[L] 0x80000->2611[L] 0x90000->2611[L]
0xa0000->0[L]  } ...

Change-Id: I07cad5d8678426cdac45872cda028ea7a85d7d81

5 years agoMerge "Compile android.test.*.stubs into dex"
David Brazdil [Wed, 11 Jul 2018 09:18:15 +0000 (09:18 +0000)]
Merge "Compile android.test.*.stubs into dex"

5 years agoAdd STREAM_VOICE_CALL to MUTE_STREAMS_AFFECTED on upgrade
Nadav Bar [Sun, 24 Jun 2018 07:06:50 +0000 (10:06 +0300)]
Add STREAM_VOICE_CALL to MUTE_STREAMS_AFFECTED on upgrade

Update the system setting MUTE_STREAMS_AFFECTED to indicate that
STREAM_VOICE_CALL is affected by mute, as starting from P, phone apps can
mute the voice call stream as well.

Test: Tested manually that after upgrade stream can be muted.
Bug: 110398177
Change-Id: Ia20aa87525296bbf33e3f5234681427a47caaabe

5 years agoAdd Channel 50 (area update info) support for LAM market
Arun Rathi [Wed, 27 Jun 2018 12:04:41 +0000 (14:04 +0200)]
Add Channel 50 (area update info) support for LAM market

Add Channel 50 (area update info) support for LAM market.
Below is the list of MCC MNC:
MCC MNC 334 030 /334 03 (Movistar MX)
MCC MNC 722 07 (Movistar AR)
MCC MNC 732 123 (Movistar CO)
MCC MNC 740 00 (Movistar EC)
MCC MNC 712 04 (Movistar CR)
MCC MNC 706 04 (Movistar SV)
MCC MNC 704 03 (Movistar GT)
MCC MNC 716 17 (Entel PE)
MCC MNC 716 06 (Movistar PE)
MCC MNC 716 10 (Claro PE)

Bug: 111260033
Test: Manual
Change-Id: I2fe53cbfd103140125422e28723280ada7522cd1

5 years agoMerge changes from topic "face-settings"
Kevin Chyn [Wed, 11 Jul 2018 03:27:02 +0000 (03:27 +0000)]
Merge changes from topic "face-settings"

* changes:
  Remove unused parameter in FaceManager
  Add face metrics constants

5 years agoMerge "cleanup: correct typos and fix some warnings"
TreeHugger Robot [Wed, 11 Jul 2018 02:52:19 +0000 (02:52 +0000)]
Merge "cleanup: correct typos and fix some warnings"