Commit Graph

530366 Commits

Author SHA1 Message Date
Nicolas Geoffray
1c3e4e38df Merge "Move jniGetReferent to its only user (framework)." am: a1cf11bf2c am: ef69882388
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1437075

Change-Id: I9903a214196bbfc89fb9c5bbd78c784d0fb2d870
2020-09-28 17:17:59 +00:00
Gavin Corkery
aa1539ec35 Merge "Mark boot completion via apexservice" am: c1cef10d58 am: 1ae3832f56
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1432831

Change-Id: I3c74e6443f1589610ec5a38ee747c8949b06bd4c
2020-09-28 17:17:27 +00:00
wilsonshih
178da54fc9 Make WallpaperMS bind wallpaper component PendingIntent immutable.
Require that the PendingIntent be immutable so that a malicious app is
not able to hijack and mutate any of the details.

Fixes: 154915372
Test: build & flash, change wallpaper manually.
Change-Id: I59b48811b26736bf0575769107dd940ca33ccf8d
(cherry picked from commit d4bd69cef0)
2020-09-28 17:10:04 +00:00
Kevin Chyn
b0db693fb2 Merge "Add biometrics owners" am: ecea8deae9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440471

Change-Id: I675741da428fea0f0d801d6bbd22de1b509de69b
2020-09-28 17:06:15 +00:00
Mohammad Islam
91dd1ab89b Merge "Replace broken --wait flag with --wait-for-staged-ready flag" am: 5dba5ca4af
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1433436

Change-Id: I2ecc6d14a99c9099d4dd76936d3d3c086b8784fd
2020-09-28 17:03:25 +00:00
Nicolas Geoffray
ef69882388 Merge "Move jniGetReferent to its only user (framework)." am: a1cf11bf2c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1437075

Change-Id: I4cdd07b387f19ac6b1777194767e68123c362bef
2020-09-28 16:58:19 +00:00
wilsonshih
b392903052 Make WallpaperMS bind wallpaper component PendingIntent immutable.
Require that the PendingIntent be immutable so that a malicious app is
not able to hijack and mutate any of the details.

Fixes: 154915372
Test: build & flash, change wallpaper manually.
Change-Id: I59b48811b26736bf0575769107dd940ca33ccf8d
(cherry picked from commit d4bd69cef0)
2020-09-28 16:56:57 +00:00
Gavin Corkery
1ae3832f56 Merge "Mark boot completion via apexservice" am: c1cef10d58
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1432831

Change-Id: I908d5f5cf70c8fd7c16708aa68b4bdadee8980e3
2020-09-28 16:49:35 +00:00
Kevin Chyn
ecea8deae9 Merge "Add biometrics owners" 2020-09-28 16:47:07 +00:00
Mohammad Islam
5dba5ca4af Merge "Replace broken --wait flag with --wait-for-staged-ready flag" 2020-09-28 16:41:18 +00:00
Nicolas Geoffray
a1cf11bf2c Merge "Move jniGetReferent to its only user (framework)." 2020-09-28 16:39:03 +00:00
Gavin Corkery
c1cef10d58 Merge "Mark boot completion via apexservice" 2020-09-28 16:33:16 +00:00
Treehugger Robot
91d640572f Merge "Update language to comply with Android's inclusive language guidance" am: 986e49df72 am: 21e5a00fb3 am: bc3cef1dce
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382481

Change-Id: I35743b9cc28f5f4b734a1f230f7ed4febba18ff8
2020-09-28 15:30:37 +00:00
Treehugger Robot
bc3cef1dce Merge "Update language to comply with Android's inclusive language guidance" am: 986e49df72 am: 21e5a00fb3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382481

Change-Id: Ia71942419b1b736f06875ff87a348d952f74dd7b
2020-09-28 15:15:40 +00:00
Treehugger Robot
21e5a00fb3 Merge "Update language to comply with Android's inclusive language guidance" am: 986e49df72
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382481

Change-Id: Iefde894b6c5a39f775001d78e1d6909033926b31
2020-09-28 14:46:39 +00:00
Treehugger Robot
986e49df72 Merge "Update language to comply with Android's inclusive language guidance" 2020-09-28 14:11:49 +00:00
JW Wang
f2f0910077 Abandon sessions before/after running tests
See b/160281947#comment2 for the analysis.

Let's clean up staged sessions to improve test isolation.

Bug: 160281947
Test: atest StagedRollbackTest
Change-Id: I3ad6317eaee3ffb4c6351c630460dd8f1d27e644
Merged-In: I3ad6317eaee3ffb4c6351c630460dd8f1d27e644
(cherry picked from commit be2c3fc558)
2020-09-28 12:16:35 +01:00
Treehugger Robot
15ed18ed7e Merge "Fix TetheredClient callback fail in InProcessTethering" am: 3ed624fb2e am: 3b5d49b7bb am: 4ac111af72
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1435273

Change-Id: I324a11ae925a120ad19d841fd7e136aa07607cd5
2020-09-28 10:07:50 +00:00
Treehugger Robot
4ac111af72 Merge "Fix TetheredClient callback fail in InProcessTethering" am: 3ed624fb2e am: 3b5d49b7bb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1435273

Change-Id: I8faacd26cc6f3e940af3a0147b84b693cb93503c
2020-09-28 09:50:14 +00:00
Gavin Corkery
0037e9c816 Mark boot completion via apexservice
Use the StagingManager lifecycle class to call into ApexManager
when the boot completed broadcast is received. ApexManager will
then call into apexservice to inform apexd of the boot completion,
instead of apexd relying on the sys.boot_completed property.

Test: atest StagedInstallTest
Test: atest ApexRollbackTests
Bug: 158467962
Change-Id: Ibcb4cb784243530eb2cf8c2633651342e8115d14
Merged-In: Ibcb4cb784243530eb2cf8c2633651342e8115d14
(cherry picked from commit 221f3ec59c)
2020-09-28 09:45:58 +00:00
Treehugger Robot
3b5d49b7bb Merge "Fix TetheredClient callback fail in InProcessTethering" am: 3ed624fb2e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1435273

Change-Id: Ibb30260e9bc558ab0aa6dd8277dfd50efd14258f
2020-09-28 09:25:59 +00:00
markchien
097b4bfea2 Make PrivateAddressCoordinator ignore vpn network
If vpn app make its netmask as 0, PrivateAddressCoordinator
would not able to find suitable address for tethering downstream.
Since tethering do not support vpn as upstream, just ignore vpn
in PrivateAddressCoordinator.

Bug: 166365863
Test: atest TetheringTests
      atest CtsTetheringTest
Change-Id: Iabe265467044fea9fa437674ca29ffc7bcdefe3b
2020-09-28 17:22:19 +08:00
Treehugger Robot
3ed624fb2e Merge "Fix TetheredClient callback fail in InProcessTethering" 2020-09-28 08:53:53 +00:00
Treehugger Robot
676fa106c9 Merge "Remove double check interface by NetworkInterface" am: 79ce290397 am: e788bd3bf0 am: ab364519ad
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440032

Change-Id: Icaa939614857ff4adba9181b45480adb44b74fcf
2020-09-28 05:49:42 +00:00
Treehugger Robot
ab364519ad Merge "Remove double check interface by NetworkInterface" am: 79ce290397 am: e788bd3bf0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440032

Change-Id: Idf1d18261c954e22989774ae97a12261551b31f6
2020-09-28 05:35:36 +00:00
Treehugger Robot
e788bd3bf0 Merge "Remove double check interface by NetworkInterface" am: 79ce290397
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440032

Change-Id: Id8904075001709f2c62a55293f835c5a73ad9d79
2020-09-28 04:54:39 +00:00
Treehugger Robot
79ce290397 Merge "Remove double check interface by NetworkInterface" 2020-09-28 04:21:28 +00:00
Treehugger Robot
dc16f770d3 Merge "[DO NOT MERGE] fingerprint: handle PerformanceStats NULL pointers" am: e5af1e1400 am: 8f1c91dae7 am: f3ec478e0a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1439198

Change-Id: Ia70f372e103260a663a58f0939d0caea37ff36c5
2020-09-28 02:04:06 +00:00
Ícaro Hoff
42d8fb924c [DO NOT MERGE] fingerprint: handle PerformanceStats NULL pointers am: 3615be74c1 am: eea53b512c am: 3f78dbf336
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1439198

Change-Id: Ie6a99f4a026e972aaf1036cf44edaf52a0510220
2020-09-28 02:03:58 +00:00
Treehugger Robot
f3ec478e0a Merge "[DO NOT MERGE] fingerprint: handle PerformanceStats NULL pointers" am: e5af1e1400 am: 8f1c91dae7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1439198

Change-Id: I5521f7c895118de06022767a063fed6ea9105144
2020-09-28 01:31:42 +00:00
Ícaro Hoff
3f78dbf336 [DO NOT MERGE] fingerprint: handle PerformanceStats NULL pointers am: 3615be74c1 am: eea53b512c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1439198

Change-Id: I20ee6d4a1e32fcde27a495c8064d1895eeeb5e8d
2020-09-28 01:31:36 +00:00
Kevin Chyn
bb47cdba7b Add biometrics owners
Test: Builds
Bug: 169459906
Change-Id: I45a1e2211477aa52c02cf884f38d09a1ab8494c5
2020-09-27 18:26:53 -07:00
Treehugger Robot
8f1c91dae7 Merge "[DO NOT MERGE] fingerprint: handle PerformanceStats NULL pointers" am: e5af1e1400
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1439198

Change-Id: I84ebfb827559573f709ed2dfec625d00b4882f82
2020-09-28 01:05:29 +00:00
Ícaro Hoff
eea53b512c [DO NOT MERGE] fingerprint: handle PerformanceStats NULL pointers am: 3615be74c1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1439198

Change-Id: I57e2b436909bf4302fec7fc3f1de11097a047011
2020-09-28 01:02:58 +00:00
Treehugger Robot
e5af1e1400 Merge "[DO NOT MERGE] fingerprint: handle PerformanceStats NULL pointers" 2020-09-28 00:47:03 +00:00
Ícaro Hoff
3615be74c1 [DO NOT MERGE] fingerprint: handle PerformanceStats NULL pointers
bcc100a has added support for this feature, but the NULL checks
weren't complete, only "handleAcquired" was checking if PerformanceStats
was supported before calling the API.
Extend the NULL checks to "handleAuthenticated" and "handleFailedAttempt"
calls as well.

Change-Id: I3cc9b35ea6b81dc0c503b9feab940873b344323e
Signed-off-by: Ícaro Hoff <icarohoff@gmail.com>
2020-09-27 21:42:31 +00:00
markchien
fbade325c0 Remove double check interface by NetworkInterface
NetworkInterface#getByName can not get the interface without IP addresses.
When setIncludeTestInterfaces(true) is called, the interface will be
placed in client mode, which will delete the link-local address. So calling
NetworkInterface#getByName to get test interface may not work before
switching to server mode.

Bug: 168215721
Test: atest CtsTethering
Change-Id: Ice8adcce1c4b2c86bd219c701b2afa9ba2339f24
2020-09-27 17:11:20 +08:00
Rick Yiu
e5ae45f7b0 Revert "Implement the ThreadPrioritySetter interface"
Revert submission 1202786-setpriority

Reason for revert: will cause lock contention

Bug: 139521784
Test: build pass
Change-Id: I863fd0c1623ad7fe73a192400389d25bf9e75e90
2020-09-27 03:13:13 +00:00
Rick Yiu
b551e63ea7 Revert "Refine documentation for Process.setThreadPriority"
This reverts commit c3648a82f1.

Reason for revert: will cause lock contention

Bug: 139521784
Test: build pass
Change-Id: Ic10951493ec8dda4e5a5adcbd1c3cb3be3b64782
2020-09-27 03:09:54 +00:00
Jakub Pawlowski
41e6915dcd Merge "Make BluetoothGattCallback.onServiceChanged public" am: 802503736d am: 531993dca1 am: 23c923d197
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1439193

Change-Id: Ie2a9777fbc9a4c5861e07748dfb7596bc547c931
2020-09-26 16:59:18 +00:00
Jakub Pawlowski
23c923d197 Merge "Make BluetoothGattCallback.onServiceChanged public" am: 802503736d am: 531993dca1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1439193

Change-Id: Id069612174a151f39e154b63f4af116f9722dd7c
2020-09-26 16:40:13 +00:00
Jakub Pawlowski
531993dca1 Merge "Make BluetoothGattCallback.onServiceChanged public" am: 802503736d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1439193

Change-Id: I3ee8e82aa0461d410febdb8d328eaf582d9a57f0
2020-09-26 16:07:44 +00:00
Jakub Pawlowski
802503736d Merge "Make BluetoothGattCallback.onServiceChanged public" 2020-09-26 15:51:01 +00:00
Jakub Pawlowski
2c1d2c21cf Make BluetoothGattCallback.onServiceChanged public
Bug: 154056389
Test: proper CTS test will be provided
Change-Id: I2c9264910b65d62124c75c3ee3fd0b5bd18a2006
2020-09-26 15:50:37 +00:00
Sarah Chin
9a11a4c5a3 Merge "Add config to use lower of IPv4/IPv6 MTU values" am: f29902285a am: 5d8f4ce92a am: c6fce99ab5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1401805

Change-Id: I76da55ac994f143a699540896a3b7b19c10e9e53
2020-09-26 02:24:31 +00:00
Sarah Chin
c6fce99ab5 Merge "Add config to use lower of IPv4/IPv6 MTU values" am: f29902285a am: 5d8f4ce92a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1401805

Change-Id: Ief7929253c9851f8ec047f5c5e173518d9c3dea9
2020-09-26 02:05:18 +00:00
Sarah Chin
5d8f4ce92a Merge "Add config to use lower of IPv4/IPv6 MTU values" am: f29902285a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1401805

Change-Id: I411cfda096f4a30ebd180e1209be2f5d55020863
2020-09-26 01:25:58 +00:00
Sarah Chin
f29902285a Merge "Add config to use lower of IPv4/IPv6 MTU values" 2020-09-26 00:59:45 +00:00
Sarah Chin
f9864551c5 Merge "Add ncid to CellLocation in CellIdentityNr" am: c02910f164 am: c4a8dba971 am: 99f82fcc31
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1438914

Change-Id: I58bf98e5c30f826698a8057f41c6f5fbbccb60d1
2020-09-25 23:34:14 +00:00
Sarah Chin
99f82fcc31 Merge "Add ncid to CellLocation in CellIdentityNr" am: c02910f164 am: c4a8dba971
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1438914

Change-Id: Ia6fd2c693905ecda65c88305c4f71d2d5fd567bd
2020-09-25 23:19:25 +00:00