OSDN Git Service
Neil Fuller [Thu, 12 Jul 2018 07:33:30 +0000 (07:33 +0000)]
Merge "Remove unnecessary libcore includes"
TreeHugger Robot [Thu, 12 Jul 2018 07:01:19 +0000 (07:01 +0000)]
Merge "Settings Frament Migration"
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
Wale Ogunwale [Thu, 12 Jul 2018 03:30:20 +0000 (03:30 +0000)]
Merge "Acquire service lock in AppTaskImpl.moveToFront()"
TreeHugger Robot [Thu, 12 Jul 2018 02:33:30 +0000 (02:33 +0000)]
Merge "Make sure checking for accessibility pane is consistent"
TreeHugger Robot [Thu, 12 Jul 2018 01:39:06 +0000 (01:39 +0000)]
Merge "Add stub implementation of HdmiCecLocalDeviceAudioSystem"
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
Jeff Sharkey [Thu, 12 Jul 2018 01:19:39 +0000 (01:19 +0000)]
Merge "Utility methods useful for working with files."
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)
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
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
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
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
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
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
TreeHugger Robot [Wed, 11 Jul 2018 22:21:38 +0000 (22:21 +0000)]
Merge "Suggest smart actions in ExtServices"
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
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
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
Treehugger Robot [Wed, 11 Jul 2018 21:52:01 +0000 (21:52 +0000)]
Merge "Add Channel 50 (area update info) support for LAM market"
John Reck [Wed, 11 Jul 2018 21:48:50 +0000 (14:48 -0700)]
Merge "Disable LTO on -eng"
am:
1918b39942
Change-Id: I925182b722d7bf6b1bb63c298a8ec9e345f0c4ac
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
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
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
TreeHugger Robot [Wed, 11 Jul 2018 20:47:39 +0000 (20:47 +0000)]
Merge "Import translations. DO NOT MERGE"
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
TreeHugger Robot [Wed, 11 Jul 2018 20:30:44 +0000 (20:30 +0000)]
Merge "Correct buildReportAudioStatus()"
TreeHugger Robot [Wed, 11 Jul 2018 20:24:22 +0000 (20:24 +0000)]
Merge "Reordered the params for network registration"
Treehugger Robot [Wed, 11 Jul 2018 20:21:19 +0000 (20:21 +0000)]
Merge "Disable LTO on -eng"
Nadav Bar [Wed, 11 Jul 2018 20:13:13 +0000 (20:13 +0000)]
Merge "Add STREAM_VOICE_CALL to MUTE_STREAMS_AFFECTED on upgrade"
Ben Wagner [Wed, 11 Jul 2018 19:36:52 +0000 (19:36 +0000)]
Merge "Replace SkDrawFilter with PaintFilter."
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
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
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
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
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)
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
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
Nathan Harold [Wed, 11 Jul 2018 17:58:50 +0000 (17:58 +0000)]
Merge "Update Wcdma and Tdscdma CellInfo for HAL 1.2"
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
TreeHugger Robot [Wed, 11 Jul 2018 17:52:31 +0000 (17:52 +0000)]
Merge "MediaPlayer2: clean up setDataSource"
TreeHugger Robot [Wed, 11 Jul 2018 17:47:36 +0000 (17:47 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Tony Mak [Wed, 11 Jul 2018 17:32:39 +0000 (17:32 +0000)]
Merge "Allow NotificationAssistantService to suggest smart actions"
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)
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
Philip P. Moltmann [Wed, 11 Jul 2018 15:58:14 +0000 (15:58 +0000)]
Merge "Factor our theme of permission grant dialog"
Aaron Heuckroth [Wed, 11 Jul 2018 15:10:04 +0000 (15:10 +0000)]
Merge "Refactor RankingHelper to separate out PreferencesHelper."
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."
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
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
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
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
Jorim Jaggi [Wed, 11 Jul 2018 12:10:29 +0000 (12:10 +0000)]
Merge "Send interaction hint when starting window animation" into pi-dev
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
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
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
David Brazdil [Wed, 11 Jul 2018 09:18:15 +0000 (09:18 +0000)]
Merge "Compile android.test.*.stubs into dex"
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
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
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
TreeHugger Robot [Wed, 11 Jul 2018 02:52:19 +0000 (02:52 +0000)]
Merge "cleanup: correct typos and fix some warnings"
Salvador Martinez [Wed, 11 Jul 2018 02:23:35 +0000 (19:23 -0700)]
Merge "Only query for estimate on battery level change" into pi-dev am:
729bfdf9a8
am:
953cfa401d
Change-Id: I1ec5976be4407cd7a605691758d00dea4f1c5422
Android Build Merger (Role) [Wed, 11 Jul 2018 02:16:09 +0000 (02:16 +0000)]
Merge "Mark installable jars with installable: true am:
d7647c1b66 am:
f367f909bb"
Colin Cross [Wed, 11 Jul 2018 02:15:42 +0000 (19:15 -0700)]
Mark installable jars with installable: true am:
d7647c1b66
am:
f367f909bb
Change-Id: Iad200867b7b73b3e9e5e6c0011ef9cea3cccfdde
TreeHugger Robot [Wed, 11 Jul 2018 02:14:59 +0000 (02:14 +0000)]
Merge "Fix for incorrect cycle evaluation in computeOomAdj"
Salvador Martinez [Wed, 11 Jul 2018 01:40:02 +0000 (18:40 -0700)]
Merge "Only query for estimate on battery level change" into pi-dev
am:
729bfdf9a8
Change-Id: I7a7ec3965bc19f1f62428ea0737b6263d079dd02
TreeHugger Robot [Wed, 11 Jul 2018 01:14:33 +0000 (01:14 +0000)]
Merge "Minor logging improvement."
Siyamed Sinir [Wed, 11 Jul 2018 01:11:23 +0000 (01:11 +0000)]
Merge "Remove equal sign and comma from some text perf tests"
Colin Cross [Wed, 11 Jul 2018 01:10:57 +0000 (18:10 -0700)]
Mark installable jars with installable: true
am:
d7647c1b66
Change-Id: If2f6daf0457bae822d88a762ef79f0162ded6ebe
TreeHugger Robot [Wed, 11 Jul 2018 00:43:02 +0000 (00:43 +0000)]
Merge "Only query for estimate on battery level change" into pi-dev
Bill Yi [Wed, 11 Jul 2018 00:34:55 +0000 (17:34 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ice16b70aac3532e8a2ba725315868dc6d60c4fde
Bill Yi [Wed, 11 Jul 2018 00:14:47 +0000 (17:14 -0700)]
Import translations. DO NOT MERGE
Change-Id: I366d9514a271ae7e6be787df9347dee0b3a56d46
Auto-generated-cl: translation import
TreeHugger Robot [Tue, 10 Jul 2018 23:58:57 +0000 (23:58 +0000)]
Merge "Add nullability annotations to lifecycle callbacks"
Felipe Leme [Tue, 10 Jul 2018 22:45:43 +0000 (15:45 -0700)]
Minor logging improvement.
Bug:
77271640
Test: adb logcat
Change-Id: I66de01ebe3b5c09e7ca0e6f07b962e9beeeae1f5
Salvador Martinez [Wed, 4 Jul 2018 01:07:07 +0000 (18:07 -0700)]
Only query for estimate on battery level change
SysUI is querying for an estimate too much, this change gates
it on being the first estimate or the battery level having
changed so that we don't waste system resources.
Test: atest PowerUITest
Bug:
110259498
Change-Id: I6fb5c08d6388e463d6216de41b3fd49bbc489b81
Siyamed Sinir [Tue, 10 Jul 2018 23:32:27 +0000 (23:32 +0000)]
Merge "Add UrlSpanFactory to Linkify"
Siyamed Sinir [Tue, 10 Jul 2018 23:26:07 +0000 (16:26 -0700)]
Remove equal sign and comma from some text perf tests
Test: atest android.text.BoringLayoutCreateDrawPerfTest
Test: android.text.BoringLayoutIsBoringPerfTest
Test: android.text.StaticLayoutCreateDrawPerfTest
Test: android.text.TextViewSetTextMeasurePerfTest
Test: android.text.PaintMeasureDrawPerfTest
Bug:
111319857
Change-Id: Idb9f24cef0c829e0d7d239554463d92fe8093004
Shubang [Tue, 5 Jun 2018 23:32:53 +0000 (16:32 -0700)]
cleanup: correct typos and fix some warnings
Test: make
Change-Id: I33e4872bd91c023dd1268ad8e2972c6096348979
(cherry picked from commit
f28eede4989199d41ec780147cd50d166ab7793b)
TreeHugger Robot [Tue, 10 Jul 2018 22:18:07 +0000 (22:18 +0000)]
Merge "Adding more cec commands builder methods."
TreeHugger Robot [Tue, 10 Jul 2018 21:51:44 +0000 (21:51 +0000)]
Merge "Use app ops string string when checking ops."
Colin Cross [Tue, 10 Jul 2018 21:24:31 +0000 (14:24 -0700)]
Mark installable jars with installable: true
Most jars don't need to be installed on the device. Instead of
using java_library and java_library_static to distinguish between
them make java_library and java_library_static identical and use
installable: true to identify the few jars that need to be dexed
and installed on the device.
Bug:
110885583
Test: m checkbuild
Change-Id: I19c0e723285c7088700f50567b9c2140289f9edf
Wei Jia [Tue, 10 Jul 2018 01:39:16 +0000 (18:39 -0700)]
MediaPlayer2: clean up setDataSource
Test: cts
Bug:
109928575
Change-Id: Ib50e99599e8c27c9d9c9340e0517bd81a4e6b2d2
TreeHugger Robot [Tue, 10 Jul 2018 21:23:12 +0000 (21:23 +0000)]
Merge "Add nullability annotations to state save/restoration"
Makoto Onuki [Mon, 9 Jul 2018 21:29:33 +0000 (14:29 -0700)]
Clean up sync manager and fix the lock screen blocked sync issue.
- Fix the issue where when a sync starts when the user is locked, the sync
is enqueued and waits for the 10 minute timeout, which drains the battery.
Now, in this case, we finished the job right away, and if it's a non-periodic
sync, we ask the job scheduler to reschedule.
- Clean up all the mess and unnecessary code.
Fixes:
79433653
Test: manual: Add an account, remove it, make sure all the sync operations are
gone from dumpsys content.
Test: manual: Use the requestsync command while the user is locked and
make sure the sync won't stuck.
Change-Id: I8cfd6a80715336ebea3793b2ed10b59d90cd8e52
Amy [Mon, 4 Jun 2018 18:42:08 +0000 (11:42 -0700)]
Adding more cec commands builder methods.
Test: make -j18.
Change-Id: Ifa2dbbdc04938d39fdb6fcd6c0fd3465a6d218d3
(cherry picked from commit
3ff06428fb25a4ea78bf9d3893e8f9851c5270d2)
TreeHugger Robot [Tue, 10 Jul 2018 20:55:05 +0000 (20:55 +0000)]
Merge "Do not commit session twice"
Nathan Harold [Wed, 28 Mar 2018 15:39:43 +0000 (08:39 -0700)]
Update Wcdma and Tdscdma CellInfo for HAL 1.2
In HAL 1.2 WCDMA and TDSCMA were updated to bring
them in line with the other CellInfo types. WCDMA
was missing support for Rscp and Ec/No; the former
being the primary measurement used for WCDMA signal
strength. TDSCDMA was missing support for RSSI, and
the definition for RSCP was incorrect, so it was fixed
to use the PCCPH RSCP.
Furthermore, TDSCDMA support was unavailable except
in the CellIdentity. This patch pipes support from the
HAL to the framework, adding CellInfoTdscdma, which is
primarily for Asia.
-Add RSCP and Ec/No fields to CellSignalStrengthWcdma
-Add CellInfoTdscdma and CellSignalStrengthTdscdma
-Add UARFCN and Alphas support for CellIdentityTdscdma
-Fix a bug in the equals() check for CellIdentity
-Update documentation for CellInfo<RAT> classes and
the getLevel() methods of CellSignalStrength<RAT>
Bug:
76153768
Test: RILTests added for TDSCDMA
Merged-In: I71e0998f1a9bd7656d495003a8ee5ef616ca4f43
Change-Id: I71e0998f1a9bd7656d495003a8ee5ef616ca4f43
(cherry picked from commit
88f44024bb068829358d66107360223dc73131f7)
Nathan Harold [Tue, 10 Jul 2018 20:13:09 +0000 (13:13 -0700)]
Merge "Update Wcdma and Tdscdma CellInfo for HAL 1.2" into pi-dev-plus-aosp
am:
2ac4249f8c
Change-Id: I95fb510bcb881f52dc20ff567f3e51f93b0b7290
Nathan Harold [Tue, 10 Jul 2018 19:57:15 +0000 (19:57 +0000)]
Merge "Update Wcdma and Tdscdma CellInfo for HAL 1.2" into pi-dev-plus-aosp
Christopher Morin [Tue, 10 Jul 2018 19:23:19 +0000 (19:23 +0000)]
Merge "Revert "OOM score management""
TreeHugger Robot [Tue, 10 Jul 2018 19:08:20 +0000 (19:08 +0000)]
Merge "Use light theme for printSpooler"
Mathew Inwood [Tue, 10 Jul 2018 19:02:21 +0000 (12:02 -0700)]
Merge "Add build rule for API->source mapping." am:
b4919259ab am:
4500790a81
am:
c47c718a3b
Change-Id: I7d35a2de0b5fe8c4fe9e4994de910b64c63da2b8
Mathew Inwood [Tue, 10 Jul 2018 18:51:02 +0000 (11:51 -0700)]
Merge "Add build rule for API->source mapping." am:
b4919259ab
am:
4500790a81
Change-Id: Idc214d73fcf555ac15f865cc9be60909399170f8
Mathew Inwood [Tue, 10 Jul 2018 18:41:48 +0000 (11:41 -0700)]
Merge "Add build rule for API->source mapping."
am:
b4919259ab
Change-Id: I616da3024e5d310ae6993b4437611cb188c8145a
Aaron Heuckroth [Mon, 9 Jul 2018 20:26:09 +0000 (16:26 -0400)]
Refactor RankingHelper to separate out PreferencesHelper.
Test: Unit tests, manual.
Change-Id: If3d9e2a114268bd49654c271170aafb943369684
Aaron Heuckroth [Tue, 10 Jul 2018 18:05:34 +0000 (18:05 +0000)]
Merge "Move channel logging to dump method and redact name."
Winson Chung [Tue, 10 Jul 2018 18:04:39 +0000 (18:04 +0000)]
Merge "Ensure the ActionProxyReceiver runs as the system user"
Michael Wachenschwanz [Tue, 10 Jul 2018 18:01:34 +0000 (11:01 -0700)]
[automerger skipped] Merge "Java side setup and access to Binder Proxy Tracking" am:
62d5e041a2 -s ours am:
ccee79d9ce -s ours
am:
0da8f4070f -s ours
Change-Id: I2a88beff7e14d05a1a7041c415a5863337e916ca
Michael Wachenschwanz [Tue, 10 Jul 2018 17:48:55 +0000 (10:48 -0700)]
[automerger skipped] Merge "Java side setup and access to Binder Proxy Tracking" am:
62d5e041a2 -s ours
am:
ccee79d9ce -s ours
Change-Id: Ic27debc1b021a77de57e384df7dba0f1d9209df8
Michael Wachenschwanz [Tue, 10 Jul 2018 17:36:25 +0000 (10:36 -0700)]
[automerger skipped] Merge "Java side setup and access to Binder Proxy Tracking"
am:
62d5e041a2 -s ours
Change-Id: Ic9cbde38cded481a75ce772f91c741f39de0360f