Commit Graph

463626 Commits

Author SHA1 Message Date
Automerger Merge Worker
be1592efda [automerger skipped] Merge "PhoneCapability cleanup" am: b922a13760 am: b2cf59c78c am: 3ea02b9c0a -s ours
am skip reason: Change-Id I2510de0ab1ce40c8d191a17dbae7f4c33418006c with SHA-1 75e6aa2764 is in history

Change-Id: Ib4c8895efc2411d7f744d24ae2ec46667cf85eea
2020-01-29 16:59:49 +00:00
Automerger Merge Worker
474bceb0e7 [automerger skipped] Merge "API changes for IPv6 MTU support" am: 6c1ee55b63 am: 559d10dc25 am: 3939375a3a -s ours
am skip reason: Change-Id I43c7e088e46e40f38d8114548e0fc4e39d7f91cb with SHA-1 77a7ea65fd is in history

Change-Id: Ia8b26d50299dfb07178d0adef52cc422317070e9
2020-01-29 16:59:42 +00:00
Automerger Merge Worker
e4ec044c1e [automerger skipped] Merge changes from topics "multi-plmn", "nr_band" am: 7b2d5183dd am: 5c96a4a2d6 am: 4fa2cd2bf2 -s ours
am skip reason: Change-Id I0fb0e7e466a0188f04db595b8e417870666005ba with SHA-1 7125d3ba10 is in history

Change-Id: If5b0208edcfb7b1a764758282080c1aa5da064d4
2020-01-29 16:59:35 +00:00
Automerger Merge Worker
4d9a575695 [automerger skipped] Multi-Plmn and CSG Support For CellInfo am: 955614761c am: 9e1b398d44 am: 6fc8ead685 -s ours
am skip reason: Change-Id Iffd9351d2170a496639eced2c4618819f522494c with SHA-1 ac37b6344d is in history

Change-Id: I9f23eb07c789feab8674cea9246e76ea8653be73
2020-01-29 16:59:28 +00:00
Sarah Chin
de13132e16 Merge "Added multi-band support"
am: bae34cb9f9

Change-Id: I3e4d86f2e5eb4e17b6c0271c8312d9f3a1f3ce72
2020-01-29 08:52:22 -08:00
TreeHugger Robot
bbc9afbca7 Merge "Remove XML serialization/parsing code from the app integrity component." 2020-01-29 16:50:12 +00:00
Sarah Chin
bae34cb9f9 Merge "Added multi-band support" 2020-01-29 16:45:09 +00:00
Automerger Merge Worker
3ea02b9c0a Merge "PhoneCapability cleanup" am: b922a13760 am: b2cf59c78c
Change-Id: Ibcd39a40b4cd33804112783ecedaf248562f7942
2020-01-29 16:37:43 +00:00
Automerger Merge Worker
3939375a3a Merge "API changes for IPv6 MTU support" am: 6c1ee55b63 am: 559d10dc25
Change-Id: I08a8a0800d11a643281775d2f9dea5d13334c8f7
2020-01-29 16:37:38 +00:00
Automerger Merge Worker
4fa2cd2bf2 Merge changes from topics "multi-plmn", "nr_band" am: 7b2d5183dd am: 5c96a4a2d6
Change-Id: I1f56da2c4cc38a9cacf1af71927903a6c66c5f73
2020-01-29 16:37:34 +00:00
Automerger Merge Worker
6fc8ead685 Multi-Plmn and CSG Support For CellInfo am: 955614761c am: 9e1b398d44
Change-Id: Id7d2af05341e64faf53100741dc300800bb2bfc2
2020-01-29 16:37:28 +00:00
Jorim Jaggi
924ef75039 Temporary bubble hack for new insets
Offset the view instead of using setForwardedInsets which doesn't
work anymore with the new insets system. That should resolve
itself automatically once we migrate Bubbles off VD.

Also, make sure we don't consider a window to be animating when
being insets controlled since it breaks syncInputWindows, for
example.

Bug: 111084606
Test: Open Bubbles test app, open IME.
Change-Id: Idb4d32a77e96924e106688c4e11c63e8cff3ae1f
2020-01-29 17:26:55 +01:00
Sarah Chin
b2cf59c78c Merge "PhoneCapability cleanup"
am: b922a13760

Change-Id: I8c102995c2223e744805ab7e4696013b675acb94
2020-01-29 08:09:07 -08:00
Sarah Chin
559d10dc25 Merge "API changes for IPv6 MTU support"
am: 6c1ee55b63

Change-Id: I80f206245b9340a9df8b65c0e42413617eecadfb
2020-01-29 08:08:45 -08:00
Sarah Chin
5c96a4a2d6 Merge changes from topics "multi-plmn", "nr_band"
am: 7b2d5183dd

Change-Id: I0301f0ad7cadda7c45a39f76fa4693f16f38b298
2020-01-29 08:08:23 -08:00
Nathan Harold
9e1b398d44 Multi-Plmn and CSG Support For CellInfo
am: 955614761c

Change-Id: I29a783212d40f684426b1c70ab31b30ec3e5844e
2020-01-29 08:07:53 -08:00
Sarah Chin
b922a13760 Merge "PhoneCapability cleanup" 2020-01-29 15:56:09 +00:00
Sarah Chin
6c1ee55b63 Merge "API changes for IPv6 MTU support" 2020-01-29 15:56:09 +00:00
Sarah Chin
7b2d5183dd Merge changes from topics "multi-plmn", "nr_band"
* changes:
  Added NR band support
  Multi-Plmn and CSG Support For CellInfo
2020-01-29 15:56:09 +00:00
Automerger Merge Worker
6af94e4159 [automerger skipped] Fix potential double destroy of AssetManager am: 93320661ca am: aefc05c016 am: 8e5d6a25b2 -s ours am: e38a710477 -s ours am: b5357be3a9 -s ours am: 7a091e335c -s ours am: 46a2bb6fac -s ours
am skip reason: Change-Id Ia938502d2443f5a6de6a3cabdb7ce1d41d3ff6d1 with SHA-1 0a8a1e9d40 is in history

Change-Id: I495ade5c369293aab036ef8f4c3697e5c9bfc6f0
2020-01-29 15:55:08 +00:00
Beverly
9753297305 Update mReadOnlyNotifList in ShadeListBuilder
So that mReadOnlyNotifList always tracks mNotifList, even after
switching mNotifList and mNewNotifList

This CL also updates ShadeListBuilderTest to catch bugs like this.
Mockito keeps shallow references when verifying mocks, so we can't rely
on verifying the passed list after the test is run (since the list is
recycled within ShadeListBuilder). Instead, make a deep copy of the list
we receive in the listener and verify this list for equality.

Test: atest ShadeListBuilderTest
Fixes: 148421960
Change-Id: I85eb439f77686c67b365f04585da8fc54cb854ec
2020-01-29 15:54:53 +00:00
Automerger Merge Worker
46a2bb6fac [automerger skipped] Fix potential double destroy of AssetManager am: 93320661ca am: aefc05c016 am: 8e5d6a25b2 -s ours am: e38a710477 -s ours am: b5357be3a9 -s ours am: 7a091e335c -s ours
am skip reason: Change-Id Ia938502d2443f5a6de6a3cabdb7ce1d41d3ff6d1 with SHA-1 0a8a1e9d40 is in history

Change-Id: I74fef17a0cd95ffab64f8e18ef5970d1389bba82
2020-01-29 15:49:36 +00:00
Bernardo Rufino
3c584d624e Surround platform-compat check with Binder.clearCallingIdentity()
Otherwise it fails permission check since it would use the caller's uid.

Bug: 148521528
Test: Post a background custom toast and observe it either posts the
      toast or shows a textual warning toast (before this change,
      neither would happen and we'd see a SE in logcat).

Change-Id: I338846bda08b8a002440dd3b1a43393f2ff25011
2020-01-29 15:45:38 +00:00
Automerger Merge Worker
7a091e335c [automerger skipped] Fix potential double destroy of AssetManager am: 93320661ca am: aefc05c016 am: 8e5d6a25b2 -s ours am: e38a710477 -s ours am: b5357be3a9 -s ours
am skip reason: Change-Id Ia938502d2443f5a6de6a3cabdb7ce1d41d3ff6d1 with SHA-1 0a8a1e9d40 is in history

Change-Id: Ie771ffdfc4cfc2d58d0b74ea29f56655462924ca
2020-01-29 15:39:44 +00:00
Sergey Volnov
439294404f Got rid of cancellation signals in the Content Capture Data Sharing
Motivation: if the Content Capture service want's to end the session, it
can close the read-fd, while not have finished reading, and that would
result in an exception in the system server, that can later be
propagated to the caller as an error.

Similarly, timeout of the sharing session can be reflected as an error
with a specific error code.

Test: built Android locally and perfomed a manual test.
Bug: 145203958
Change-Id: Iaeb45e0ab68da9fe30dce1ae4eab2354ef56d827
2020-01-29 15:31:00 +00:00
TreeHugger Robot
9abb186c1f Merge "Obey setting for hiding silent status bar icons" 2020-01-29 15:30:53 +00:00
Automerger Merge Worker
b5357be3a9 [automerger skipped] Fix potential double destroy of AssetManager am: 93320661ca am: aefc05c016 am: 8e5d6a25b2 -s ours am: e38a710477 -s ours
am skip reason: Change-Id Ia938502d2443f5a6de6a3cabdb7ce1d41d3ff6d1 with SHA-1 0a8a1e9d40 is in history

Change-Id: I8fd65309a87e6f428dd9f7ae8112861b5cc856b6
2020-01-29 15:29:02 +00:00
Patrick Baumann
57556b6573 Simplify feature enablement to a single constant
In an effort to keep CL that enables app enumeration as simple as
possible, this change collapses several inline booleans to a single
constant boolean.

Test: atest AppEnumerationTests
Bug: 136675067
Change-Id: Iac4b2fceb61d5680baf6fac76d58ee4525c615bd
2020-01-29 07:23:39 -08:00
Roshan Pius
c1e0de9740 Settings: Remove unused WIFI_SAVED_STATE
The usage was removed from opt/net/wifi earlier.

Also, cleaned up a bunch of other settings in SettingsProvider
that were previously removed in ag/10080845.

Bug: 141623345
Test: Compiles
Change-Id: I18690ee12d6b701b6f487285e36ca0143244bcfd
2020-01-29 07:19:42 -08:00
Sarah Chin
ade26cd6eb API changes for IPv6 MTU support
Change mtu->mtuV4 and add mtuV6 for DataProfile and DataCallResult
Add mtu to RouteInfo and update test

Test: atest FrameworksTelephonyTests
Bug: 146668814
Change-Id: I43c7e088e46e40f38d8114548e0fc4e39d7f91cb
Merged-In: I43c7e088e46e40f38d8114548e0fc4e39d7f91cb
2020-01-30 00:17:19 +09:00
Roshan Pius
f7006e54eb Merge "WifiManager: Add exemption notes for deprecated APIs" 2020-01-29 15:03:58 +00:00
TreeHugger Robot
9aa3142e8a Merge "Removing the potential null object access." 2020-01-29 15:01:41 +00:00
Zimuzo Ezeozue
e7e55645e1 Merge "Kill app when OP_REQUEST_INSTALL_PACKAGES is changed." 2020-01-29 14:49:31 +00:00
Omer Nebil Yaveroglu
0499283f81 Remove XML serialization/parsing code from the app integrity component.
This code is already out-of-date and unused.

Bug: 148516969
Test: N/A - Code deletion
Change-Id: Ibfca2959cad409592ad5b4fb44c7f21d0b15865d
2020-01-29 14:49:30 +00:00
TreeHugger Robot
e9437d2ee3 Merge "Implement the necessary methods for identifying the DENY / FORCE_ALLOW causes for logging purposes." 2020-01-29 14:36:21 +00:00
Automerger Merge Worker
36a7559516 Merge "Tidy up module-lib API and locks" am: 98ab83c37d am: 779b5c6ee0 am: 1fc568f878
Change-Id: I4c7039b54aa185447108622b0608689ddf45bc2f
2020-01-29 14:33:36 +00:00
Automerger Merge Worker
fdb676b4dd Merge "Rename ZoneInfoDB -> ZoneInfoDb" am: 402674f2a0 am: c3e31d6ac5 am: f8a4287915
Change-Id: I72978765010e3da52bcdf00299f7ba999bc9201b
2020-01-29 14:33:04 +00:00
Automerger Merge Worker
1fc568f878 Merge "Tidy up module-lib API and locks" am: 98ab83c37d am: 779b5c6ee0
Change-Id: If558e1d5f1a438eedefaae4c8b7f8eda7862ee7b
2020-01-29 14:21:29 +00:00
Automerger Merge Worker
f8a4287915 Merge "Rename ZoneInfoDB -> ZoneInfoDb" am: 402674f2a0 am: c3e31d6ac5
Change-Id: Ib094f9f67112998c82642dd4f8688a75f8b8e0ee
2020-01-29 14:21:11 +00:00
Neil Fuller
779b5c6ee0 Merge "Tidy up module-lib API and locks"
am: 98ab83c37d

Change-Id: I0c136617cef0d23e905757a0b6baf2b7e823212d
2020-01-29 06:19:05 -08:00
Gavin Corkery
bb3a5048c9 Return incremented rescue level when bootlooping
The rescue level returned from onBootLoop must be incremented, since
otherwise USER_IMPACT_NONE would be returned to Package Watchdog if
the initial rescue level was 0, and no mitigation would take place.
Add a test to verify this.

Test: atest RescuePartyTest
Bug: 136135457
Change-Id: I27c56d17a6177abdeb3707fda70ca38d4fd4ef2c
2020-01-29 14:16:55 +00:00
Stanislav Zholnin
c872b81243 Merge "Adjust dangerousPermissionSampled atom sampling rate to 1%" 2020-01-29 14:15:49 +00:00
Oli Lan
26fdbb1a29 Add tests for DE_sys and CE apex data rollback.
This adds tests in StagedRollbackTest for apex data directory rollback.

The test performs the following steps:

- Push files into the apex data directory
- Update the APEX with rollback enabled
- Remove files from data directory
- Add new files to data directory
- Roll back the update
- Verify old files are restored

Bug: 141148175
Test: atest StagedRollbackTest#testRollbackApexDataDirectories_DeSys
Test: atest StagedRollbackTest#testRollbackApexDataDirectories_Ce
Change-Id: Ie1e7ed626c0b654c19b23bfcb008ac4d717aafe2
2020-01-29 14:10:41 +00:00
Neil Fuller
98ab83c37d Merge "Tidy up module-lib API and locks" 2020-01-29 14:10:18 +00:00
Automerger Merge Worker
0776d7f426 [automerger skipped] Adding option in global setting to control the display message during user switch am: a9feb4602f am: d29f0a6c64 -s ours
am skip reason: Change-Id I70c72d7d74c72a78d919ae34906b6f7b96466ad1 with SHA-1 e12de0beb4 is in history

Change-Id: Ieaefce68c10856e68d970a834ce7abee05c33fee
2020-01-29 14:08:24 +00:00
Neil Fuller
c3e31d6ac5 Merge "Rename ZoneInfoDB -> ZoneInfoDb"
am: 402674f2a0

Change-Id: I3dca8a93ccbc0f5e6fd4905db82bec6d8e088164
2020-01-29 06:05:50 -08:00
Roshan Pius
3f69afa7d7 WifiManager: Add exemption notes for deprecated APIs
Bug: 148456017
Test: Compiles (m doc-comment-check-docs)
Change-Id: I252a9525c3277ee57f337f2f340ebed3da79c106
2020-01-29 06:01:53 -08:00
Treehugger Robot
402674f2a0 Merge "Rename ZoneInfoDB -> ZoneInfoDb" 2020-01-29 14:00:45 +00:00
Automerger Merge Worker
d29f0a6c64 Adding option in global setting to control the display message during user switch am: a9feb4602f
Change-Id: Ie5774f939a4df6d7de7f4ca885c0c9215e6722a7
2020-01-29 13:59:47 +00:00
Oli Lan
7bbd8b471f Snapshot and restore CE apex data directories.
This change extends the existing mechanisms for snapshotting and
restoring CE data for APKs to also support CE apex data.

StagingManager now calls through to RollbackManager to perform the
snapshot/restore (at the same time as it does for APK-in-APEX,
added recently).

For APEXes, the actual snapshot or restore is performed by apexd instead
of installd. Tracking of pending backups and restores is performed by
RollbackManager in the same way as for APKs.

Bug: 141148175
Test: Manual install/rollback of an APEX with dummy files in CE data directory.
Check that snapshot and restore occur as expected.
Test: atest CtsStagedInstallHostTestCases
Change-Id: I82e1818f927881ea774148d97ca1981a447b598d
2020-01-29 13:53:31 +00:00