Commit Graph

400529 Commits

Author SHA1 Message Date
TreeHugger Robot
61217232ad Merge "API Compatibility: Fix incompatible abstract methods on Context" 2019-01-22 20:41:00 +00:00
Lucas Dupin
a47310fde0 Merge "Fix StatusBarWindowController initialization NPE" 2019-01-22 20:34:12 +00:00
TreeHugger Robot
236b572a5b Merge "Update AttentionManagerService" 2019-01-22 20:33:19 +00:00
TreeHugger Robot
6f19cbdd2f Merge "Migrate frameworks/base/lowpan/tests to androidx.test" 2019-01-22 19:56:17 +00:00
TreeHugger Robot
a1824a2700 Merge "Switch to new CPU UID time readers" 2019-01-22 19:53:12 +00:00
TreeHugger Robot
810d940769 Merge "Log broadcast dispatch latency during BOOT_COMPLETED" 2019-01-22 19:51:41 +00:00
TreeHugger Robot
59ec2ab4d5 Merge "Remove libmedia2_jni from /system/lib." 2019-01-22 19:47:17 +00:00
Jack Yu
15dcf00071 Merge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause" am: 3788e9147d am: c5e86971c1
am: ea5d6e1bb3

Change-Id: Iac650af7ba8ffd0d16c9718b7bf39cedd2697ccb
2019-01-22 11:45:46 -08:00
TreeHugger Robot
cc249beb0d Merge "Add notification location to onNotificationExpansionChanged." 2019-01-22 19:15:01 +00:00
Daniel Solomon
6d6c5dac85 Merge "Clear display white balance transform when disabled" 2019-01-22 18:59:29 +00:00
Jack Yu
ea5d6e1bb3 Merge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause" am: 3788e9147d
am: c5e86971c1

Change-Id: Ie453f40d946ec9f512bd6ee09ce37aef4813be54
2019-01-22 10:57:43 -08:00
Mady Mellor
9c79041cc6 Merge "Fix layout crash & bubble anything with valid bubble metadata intent" 2019-01-22 18:44:38 +00:00
Alex Salo
cde84302d6 Update AttentionManagerService
1. Change from onStopUser to onSwitchUser since onStopUser will actually
never be called.
2. Add some checks in the cancelAttentionCheck()

Bug: 111939367
Test: manually
Change-Id: I155a3acb20ef7fcad693a0a319b097cf50a474d1
2019-01-22 10:40:20 -08:00
Jack Yu
c5e86971c1 Merge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause"
am: 3788e9147d

Change-Id: I01620d1fa5bc8417ba154b76ad854fa64d6d042f
2019-01-22 10:31:11 -08:00
TreeHugger Robot
065aac1a1e Merge "Support for multi-package apex sessions." 2019-01-22 18:21:07 +00:00
TreeHugger Robot
a7b0f93991 Merge "Fix the xml parsing of multi-package sessions." 2019-01-22 18:21:07 +00:00
TreeHugger Robot
a0602f3eba Merge "Move plugin and settings logic out of KeyguardClockSwitch." 2019-01-22 18:21:01 +00:00
Jack Yu
3788e9147d Merge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause" 2019-01-22 18:18:20 +00:00
Yohei Yukawa
46d74762f3 Simplify IMMS#calledFromValidUserLocked()
With my previous CL [1], IMMS#calledFromValidUserLocked() now always
gets called with the same parameter.  Let's simplify it.

This is a mechanical refactoring.  There should be no behavior change.

 [1]: Ieb94ed14698ee2669adc5fb2ea0e93c7d0e09e8b
      716897ce2e

Bug: 34886274
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: I571db5a648ddf8b35caad3d3b64549b7cc067d14
2019-01-22 10:17:22 -08:00
Alex Salo
1e84afbac2 Merge "Add ADAPTIVE_SLEEP setting" 2019-01-22 18:10:44 +00:00
TreeHugger Robot
9e10c87914 Merge "passpoint-r2: change the name for OSU_FAILURE_INVALID_SERVER_URL." 2019-01-22 18:07:23 +00:00
TreeHugger Robot
839ee8df87 Merge "meminfo: Debug: Use libmeminfo to read process maps" 2019-01-22 18:00:42 +00:00
TreeHugger Robot
aa7fab9483 Merge "statsd: Add BatteryCycleCount atom" 2019-01-22 17:56:55 +00:00
Lucas Dupin
42ebe5486f Fix StatusBarWindowController initialization NPE
Plugins might be initialized before the StatusBar service is ready.
This means that #setForcePluginOpen might be called before #add.

Test: atest StatusBarWindowControllerTest
Change-Id: I99a220521272a2348ecece4c4581e7c82fa79490
Fixes: 123051520
2019-01-22 09:49:03 -08:00
Amy Zhang
b17eb4a72c Merge "Use SystemProperties set and getBoolean for Constants property" 2019-01-22 17:47:25 +00:00
Tobias Thierer
3985258afd Merge "Deprecate SSLCertificateSocketFactory" am: f86156158c am: 6804819923
am: 37db9722a6

Change-Id: I8e716337b30fa802a5b07f8f16421ad3a499720e
2019-01-22 09:32:14 -08:00
Tobias Thierer
37db9722a6 Merge "Deprecate SSLCertificateSocketFactory" am: f86156158c
am: 6804819923

Change-Id: Ib92af4ccfb66dc2bf261eb474d54e913bbcd96d8
2019-01-22 09:22:30 -08:00
TreeHugger Robot
04780a12cc Merge "Fix changing package installer after rollback" 2019-01-22 17:19:24 +00:00
Dongwon Kang
6dbbbe804d Remove libmedia2_jni from /system/lib.
libmedia2_jni.so was kept in /system/lib to make MediaPlayer2
work before we have native_loader change. Now, it is not needed
anymore since we use the libmedia2_jni.so in media apex.

Test: build & boot & atest MediaPlayer2Test
Bug: 112766913
Change-Id: I305bd4a4fad4b9528d22bc180ebcf3a9725840f0
2019-01-22 09:14:38 -08:00
Tobias Thierer
6804819923 Merge "Deprecate SSLCertificateSocketFactory"
am: f86156158c

Change-Id: I30dafbd9577dbaced7712b7497ecb0e0324c75f5
2019-01-22 09:13:20 -08:00
Gustav Sennton
a8e38aa5d0 Add notification location to onNotificationExpansionChanged.
To know from what UI location a notification was expanded we here pass
the location of the notification through
onNotificationExpansionChanged().

Bug: 120767764
Test: atest SystemUITests
Test: atest NotificationManagerServiceTest
Change-Id: I20612f5a88cf987f434392ae7a004d3ee3098998
2019-01-22 17:12:22 +00:00
Christine Franks
158600f6ca Merge "Add supported color transform capabilities" 2019-01-22 17:05:02 +00:00
Lucas Dupin
a54251feab Merge "Do double tap detection to wake up device while docked." 2019-01-22 17:04:27 +00:00
Tobias Thierer
f86156158c Merge "Deprecate SSLCertificateSocketFactory" 2019-01-22 16:57:50 +00:00
TreeHugger Robot
b2b7220ed5 Merge "Scale task snapshots to very small on low RAM." 2019-01-22 16:56:18 +00:00
Ng Zhi An
7ff7fdb76f Log broadcast dispatch latency during BOOT_COMPLETED
From device boot until BOOT_COMPLETED, log the dispatch latency of a
broadcast, which is the duration between it being enqueued and it being
dispatched, to get an idea of how long the queue is blocked for.

Each time a broadcast is dispatched, we check mLogLatencyMetrics, which
defaults to true when the queue is initialized, and log to statsd.

When the queue is empty, we check if BOOT_COMPLETED is done. If it is,
we stop logging by setting mLogLatencyMetrics to false, since it means
that we have finished all broadcasts that
would have been blocked by BOOT_COMPLETED.

Bug: 120794810
Test: flash, reboot, use stasd_testdrive to verify logging
Change-Id: I40c14744e5247412c0a03032fd5621706758a324
2019-01-22 08:48:33 -08:00
Robert Snoeberger
15b4af1943 Move plugin and settings logic out of KeyguardClockSwitch.
This is in preparation for adding more logic related to docked state.

Bug: 122301289
Test: Used adb to switch between custom clock faces.
Change-Id: I0a13ef4e5894df1280a04c5a9df8bbed8054557b
2019-01-22 11:32:40 -05:00
Dario Freni
015f935191 Support for multi-package apex sessions.
If we have multi-package sessions, we check whether they contain APEX
packages and proceed with the pre-reboot verification of the whole
session. Session is then applied by apexd on reboot, and the state is
recovered and updated by StagingManager as soon as the sessions are
restored.

Bug: 118865310
Test: adb install-multi-package file1.apex file2.apex; verified sessions
are written correctly, restored correctly on stop/start, applied
correctly at reboot and their state is updated.
Test: atest apex_e2e_tests (to make sure we didn't regress)
Change-Id: Ia31d5badace016074d158e31c574fbad81576984
2019-01-22 16:22:23 +00:00
Adrian Roos
fe6aeaf2a3 API Compatibility: Fix incompatible abstract methods on Context
Bug: 123221743
Test: m api-stubs-docs-check-last-released-api
Change-Id: I6d34c86582633d696464c8207a7d631be6d31693
2019-01-22 16:58:56 +01:00
Dario Freni
a6f1128e09 Fix the xml parsing of multi-package sessions.
The existing code didn't restore the child sessions, since the
XmlPullParser object was advanced within the
PackageInstallerSession#readFromXml code (in order to read grant
permissions).

Slightly refactor the code to make it more self-contained and testable,
and adding a test to make sure that the most important bits of a
session, or of a group of sessions, are dumped and restored properly.

Bug: 118865310
Bug: 109941548
Test: atest FrameworksServicesTests:PackageInstallerSessionTest;
verified that install_sessions.xml is correctly written and restored in
presence of multi-group sessions.
Change-Id: I5aef61f64e7223844f11661ee068dd3c1e112611
2019-01-22 15:58:42 +00:00
Lorenzo Colitti
c2888cbc48 Merge "Migrate ICaptivePortal to stable AIDL" 2019-01-22 15:38:07 +00:00
Tyler Gunn
7b31759f0d Merge "Support for treating single party IMS conference as a standalone call." am: 89e53d81ce am: 955c9adb36
am: 4fd8e1b376

Change-Id: I7ab00c1b82858014fb3135474a64a9fa44d8283b
2019-01-22 07:31:55 -08:00
Tyler Gunn
4fd8e1b376 Merge "Support for treating single party IMS conference as a standalone call." am: 89e53d81ce
am: 955c9adb36

Change-Id: I5af4c4591cd825adfeab8be56d7c60d29905f1c4
2019-01-22 07:20:11 -08:00
Pavel Grafov
18d0de7ecc Merge "Add API for VPN apps to query always-on and lockdown." am: 479c0769f1 am: 5fb1be5c0b
am: 43c0ffc1b1

Change-Id: Ied8e5a01cdf76d8da02d2dc292943e6a559cc84e
2019-01-22 07:19:18 -08:00
Pavel Grafov
43c0ffc1b1 Merge "Add API for VPN apps to query always-on and lockdown." am: 479c0769f1
am: 5fb1be5c0b

Change-Id: I48f3441f06af2a69776eacc5ee52463873739bdb
2019-01-22 07:09:43 -08:00
Tyler Gunn
955c9adb36 Merge "Support for treating single party IMS conference as a standalone call."
am: 89e53d81ce

Change-Id: Ic9de1989c156a1dd111465c20d84bd1c7c37e69f
2019-01-22 07:09:11 -08:00
Richard Uhler
6afb4045c8 Merge changes If3a6eeb3,I2a29dc60
* changes:
  Factor out code for loading and saving rollback data.
  Store meta data for a rollback in a single file.
2019-01-22 15:03:44 +00:00
Pavel Grafov
5fb1be5c0b Merge "Add API for VPN apps to query always-on and lockdown."
am: 479c0769f1

Change-Id: Icb11cdd5c7384eacf1df9b7a0c42e451641f0e04
2019-01-22 07:00:53 -08:00
Tyler Gunn
89e53d81ce Merge "Support for treating single party IMS conference as a standalone call." 2019-01-22 14:57:10 +00:00
Zimuzo
87698d8e11 Fix changing package installer after rollback
When executing rollbacks, we now set the SessionParams installerPackageName
to the targetPackage installer instead of using the default which is the
calling package.

Test: atest RollbackTest with Ic85464583f7c6b0778d853a87670d250a42c33de in
succession works.
Bug: 112431924

Change-Id: Id115c2c0d6838d81213dfc0d186ef30e13d6f879
2019-01-22 14:53:43 +00:00