Commit Graph

413115 Commits

Author SHA1 Message Date
Android Build Merger (Role)
46a1d47f5b Merge "Merge "Add dependency on libdl_android" am: fb4396b6bd am: 09ff0f7a9b" into qt-dev-plus-aosp 2019-04-08 17:35:47 +00:00
Roshan Pius
3862860765 Merge changes Ic4eb56fc,I7ba66213,I4b4dba44 into qt-dev
am: 15777f204d

Change-Id: Icb6149d09019e6ca64ced27f5dbbed74ef301021
2019-04-08 10:30:25 -07:00
dimitry
55be1f60c3 Merge "Add dependency on libdl_android" am: fb4396b6bd
am: 09ff0f7a9b

Change-Id: Ie88f4b4136276f1627b5114311cc3fffc4f5d3c3
2019-04-08 10:27:28 -07:00
Android Build Merger (Role)
69ef8a6063 Merge "Merge "Track ErrnoException API changes in libcore" am: 8ca1a0530f am: ca237545f4" into qt-dev-plus-aosp 2019-04-08 17:21:57 +00:00
Neil Fuller
90075d9bf2 Merge "Track ErrnoException API changes in libcore" am: 8ca1a0530f
am: ca237545f4

Change-Id: Ia5ff263bf04f73d70334031991bc230e5dfec14b
2019-04-08 10:20:32 -07:00
Oscar Shu
cc9e39df25 Merge "wifi proto change for some legacy API usage metrics" into qt-dev
am: a39c85fc2b

Change-Id: I855be3eea19730a80bedde4181846bd1892b8aa1
2019-04-08 10:19:07 -07:00
TreeHugger Robot
15777f204d Merge changes Ic4eb56fc,I7ba66213,I4b4dba44 into qt-dev
* changes:
  WifiScannerTest: More unit tests
  WifiScannerTest: Add unit tests
  WifiManagerTest: Add unit tests
2019-04-08 17:08:54 +00:00
Oscar Shu
a39c85fc2b Merge "wifi proto change for some legacy API usage metrics" into qt-dev 2019-04-08 17:07:11 +00:00
Steven Moreland
4f25051222 Merge "ApplicationLoaders: hard failures & tests" into qt-dev
am: 623b90d65e

Change-Id: I971bf52d6f3852b43da50c9ec073d1db6c4dc9f6
2019-04-08 09:42:51 -07:00
Steven Moreland
623b90d65e Merge "ApplicationLoaders: hard failures & tests" into qt-dev 2019-04-08 16:27:21 +00:00
Justin Klaassen
e55057016c Merge "Grant sound recorder microphone permissions" into qt-dev
am: c57062f763

Change-Id: I1965366dbc8c730a1dd04112eb26e6d468740b03
2019-04-08 08:55:03 -07:00
Matt Pietal
7e2a320d2b Merge "Sharesheet - Fix scroll behavior moving past bounds" into qt-dev
am: 658312b51c

Change-Id: I794417b7ae2d623ecd9a94d35ea16c96a2a4d9c8
2019-04-08 08:44:37 -07:00
TreeHugger Robot
c57062f763 Merge "Grant sound recorder microphone permissions" into qt-dev 2019-04-08 15:33:22 +00:00
Rubin Xu
d537b9cee7 Merge "Remove DELEGATION_PACKAGE_INSTALLATION" into qt-dev
am: e9d146ec9a

Change-Id: I4d838d6bb9013e5c500f08e22ad4c24122a7054d
2019-04-08 08:31:26 -07:00
TreeHugger Robot
658312b51c Merge "Sharesheet - Fix scroll behavior moving past bounds" into qt-dev 2019-04-08 15:27:12 +00:00
Svetoslav Ganov
3d47c34546 Merge "Restricted permission mechanism - framework" into qt-dev
am: 9dfc48d06e

Change-Id: I2c4a8f7f9275ad2be25c203831c273f23a5c0930
2019-04-08 08:18:59 -07:00
TreeHugger Robot
e9d146ec9a Merge "Remove DELEGATION_PACKAGE_INSTALLATION" into qt-dev 2019-04-08 15:10:59 +00:00
Svetoslav Ganov
9dfc48d06e Merge "Restricted permission mechanism - framework" into qt-dev 2019-04-08 14:54:03 +00:00
Aaron Heuckroth
8db4e30cf1 Merge "Use marquee in Global Actions menu. Fix centering on classic Global Actions menu." into qt-dev
am: cb15368628

Change-Id: I8f1a6f7c8120022df6db7e5e2d7a84cf4cccba7a
2019-04-08 07:43:31 -07:00
Anthony Tripaldi
3ba95b4279 Merge "Remove OPTED_OUT Secure Setting based on API Council feedback." into qt-dev
am: 06db71ad7c

Change-Id: I15942f125e71e70316c1e4dd4ebcb31afd22bae7
2019-04-08 07:36:04 -07:00
Aaron Heuckroth
cb15368628 Merge "Use marquee in Global Actions menu. Fix centering on classic Global Actions menu." into qt-dev 2019-04-08 14:20:58 +00:00
Anthony Tripaldi
06db71ad7c Merge "Remove OPTED_OUT Secure Setting based on API Council feedback." into qt-dev 2019-04-08 14:15:46 +00:00
Mark Renouf
b8aca4b8b8 Merge "BubbleData [1/n]: remove unused parameter" into qt-dev
am: c4a1f88951

Change-Id: I537020d8bee1f3b0863c1e9876809da616c63add
2019-04-08 07:15:11 -07:00
Mark Renouf
c4a1f88951 Merge "BubbleData [1/n]: remove unused parameter" into qt-dev 2019-04-08 13:58:33 +00:00
Matt Pietal
d568294c1a Sharesheet - Fix scroll behavior moving past bounds
ResolverDrawerLayout is tracking fractions of pixels, but just drops
these fractions when offsetting the child views. When scrolling up and
down continuously, this can lead to the view scrolling past the window
bounds. Do not discard these fractions. Track the remainders and add
them in when the sum to >= 1px.

Bug: 129979914
Test: Manual scrolling test
Change-Id: I0e8ea04baca341c6b6e0573e086f3f2f8c2b39b5
2019-04-08 09:57:07 -04:00
Justin Klaassen
d1410c013d Grant sound recorder microphone permissions
Bug: 128599472
Test: DefaultPermissionGrantPolicyTest#testDefaultGrant
Change-Id: I3016a13ca36fec0cc8c2ecbb2f11a4dcf17c63c1
2019-04-08 13:49:04 +00:00
Zimuzo Ezeozue
088afefcb5 Merge "Allow different explicit health and package expiry timeouts" into qt-dev
am: 0a94974b67

Change-Id: I16ebf4a0e917a2c66a6202a95ab875e38c3dda39
2019-04-08 06:22:49 -07:00
Zimuzo Ezeozue
0a94974b67 Merge "Allow different explicit health and package expiry timeouts" into qt-dev 2019-04-08 13:05:15 +00:00
Lorenzo Colitti
ad85847666 Merge "Prevent SIGN_IN notification pop up several times" into qt-dev
am: 462864489a

Change-Id: I19bc873221e1200fd935d7759aa76ec113de4325
2019-04-08 05:15:50 -07:00
Lorenzo Colitti
462864489a Merge "Prevent SIGN_IN notification pop up several times" into qt-dev 2019-04-08 12:03:10 +00:00
Zimuzo
7c6c28f18b Allow different explicit health and package expiry timeouts
We have always evaluated the explicit health check results on package
expiry. Since I29e2d619a5296716c29893ab3aa2f35f69bfb4d7 we now receive
explicit health check timeouts from ExtServices. This cl doesn't yet
use the timeout but it treats explicit health check timeouts as
different events from package expiry. This is in preparation to use
the timeouts from the cl mentioned above.

Improved readability: Logging, comments, variable and function names

Bug: 120598832
Test: atest PackageWatchdogTest
Change-Id: I8030dae1fef5b8fee42095c1eaf16861cc33ac59
2019-04-08 11:33:14 +01:00
Jack Yu
12ae30d843 Merge "Fixed incorrect service state populated" into qt-dev
am: 9f0eb916f3

Change-Id: Ieb6b57e801061463c70d4b2ccdbfe7ff2dae2f5e
2019-04-08 03:24:17 -07:00
TreeHugger Robot
9f0eb916f3 Merge "Fixed incorrect service state populated" into qt-dev 2019-04-08 10:09:27 +00:00
Robert Berry
acdb0e3e19 Merge "Add system captions manager service" into qt-dev
am: e29637d8dc

Change-Id: I96e8ee7ad96aea67d3c669a0e229f7c968087b04
2019-04-08 02:15:29 -07:00
TreeHugger Robot
e29637d8dc Merge "Add system captions manager service" into qt-dev 2019-04-08 08:57:44 +00:00
Remi NGUYEN VAN
76a7fd2f62 Merge "Remove SocketUtils#setSocketTimeValueOption" into qt-dev
am: 28fd318974

Change-Id: Ifd5a6190001c9242bdf98173217a176eb22559dc
2019-04-08 01:51:52 -07:00
Remi NGUYEN VAN
533f171501 Merge "Move attach*Filter() and addArpEntry() methods to NetworkStack" into qt-dev
am: 7d4a9b5b26

Change-Id: I2ba0d7efdce68bea09e877827573cfcb13334b6e
2019-04-08 01:46:02 -07:00
Qasid Ahmad Sadiq
f60ec82632 Merge "Revert "Depecrate flags, and try to match them to actions"" into qt-dev
am: aaae9b2426

Change-Id: Id7e68afdd276724518f830c9d0699e0e235ed45f
2019-04-08 01:36:06 -07:00
Anthony Tripaldi
8c1ebec4f1 Remove OPTED_OUT Secure Setting based on API Council feedback.
Bug:129768185
Test: manual
Change-Id: I51d47142cfb2abeb17d6ad5e99b8f7d1ea585fc7
2019-04-08 08:35:38 +00:00
Remi NGUYEN VAN
28fd318974 Merge "Remove SocketUtils#setSocketTimeValueOption" into qt-dev 2019-04-08 08:27:49 +00:00
Remi NGUYEN VAN
7d4a9b5b26 Merge "Move attach*Filter() and addArpEntry() methods to NetworkStack" into qt-dev 2019-04-08 08:27:19 +00:00
TreeHugger Robot
aaae9b2426 Merge "Revert "Depecrate flags, and try to match them to actions"" into qt-dev 2019-04-08 08:15:12 +00:00
Jack Yu
9302618da6 Fixed incorrect service state populated
ServiceState.setStateOutOfService does not correctly
clean up the information so the old WLAN registration info
got populated for the next time use.

Bug: 130048577
Test: Telephony sanity tests
Change-Id: I7fab7090c22390914af024c44bffd643c13f33e5
2019-04-08 01:10:27 -07:00
lucaslin
2b14c799b8 Prevent SIGN_IN notification pop up several times
SIGN_IN notification may pop up several times before user
logged in the network if someone trigger
ConnectivityService#reportNetworkConnectivity().
Add a boolean to make sure SIGN_IN notification will only pop up
once to user before user logged in.

Bug: b/122164725
Test: Build pass.
Change-Id: I9c7f1d47fde8e5dfadd6646497023b05f3b0ed88
Merged-In: I9c7f1d47fde8e5dfadd6646497023b05f3b0ed88
2019-04-08 15:47:25 +08:00
Svet Ganov
d8eb8b2690 Restricted permission mechanism - framework
This change adds a mechanism for restricting permissions (only runtime
for now), so that an app cannot hold the permission if it is not white
listed. The whitelisting can happen at install or at any later point.

There are three whitelists: system: OS managed with default grants
and role holders being on it; upgrade: only OS puts on this list
apps when upgrading from a pre to post restriction permission database
version and OS and installer on record can remove; installer: only
the installer on record can add and remove (and the system of course).

Added a permission policy service that sits on top of permissions
and app ops and is responsible to sync between permissions and app
ops when there is an interdependecy in any direction.

Added versioning to the runtime permissions database to allow operations
that need to be done once on upgrade such as adding all permissions held
by apps pre upgrade to the upgrade whitelist if the new permisison version
inctroduces a new restricted permission. The upgrade logic is in the
permission controller and we will eventually put the default grants there.

NOTE: This change is reacting to a VP feedback for how we would handle
SMS/CallLog restriction as we pivoted from role based approach to roles
for things the user would understand plus whitelist for everything else.
This would also help us roll out softly the storage permisison as there
is too much churm coming from developer feedback.

Exempt-From-Owner-Approval: trivial change due to APi adjustment

Test: atest CtsAppSecurityHostTestCases:android.appsecurity.cts.PermissionsHostTest
Test: atest CtsPermissionTestCases
Test: atest CtsPermission2TestCases
Test: atest RoleManagerTestCases

bug:124769181

Change-Id: Ic48e3c728387ecf02f89d517ba1fe785ab9c75fd
2019-04-07 22:39:54 -07:00
Remi NGUYEN VAN
909dfd1352 Remove SocketUtils#setSocketTimeValueOption
This API was added in Q but is not necessary anymore as
Os#setsockoptTimeval was exposed as public API.

Test: m
Fixes: 129433363
Merged-In: If4a75f23c6c0589c23cadce3b088966649062463
(cherry picked from commit 77f9d85f12)

Change-Id: I4669eb2f9fa073d765be6bcb5863a5887eaf1ab5
2019-04-08 04:38:37 +00:00
Remi NGUYEN VAN
995aada788 Move attach*Filter() and addArpEntry() methods to NetworkStack
The SocketUtils.attach*Filter and SocketUtils.addArpEntry methods
were added there because they could not be added as JNI inside
the NetworkStack. This was not possible because on Go devices,
the NetworkStack was a jar library. But now, Go also uses an APK.
Hence, move these methods to the NetworkStack.

Fixes: 129433183
Merged-In: I66d7b3e4fbfa32bb0bc853e8cf9399031daff8a9
(cherry picked from commit fe71be2b04)

Change-Id: Ice433a41469e784385f19498c154345d7b9c69b5
2019-04-08 01:41:39 +00:00
Bill Yi
e9af9acf79 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 835f260d60 -s ours
am skip reason: subject contains skip directive

Change-Id: I7198df57477c246db6ad226f2ca7c0b54a15e6f5
2019-04-07 17:50:31 -07:00
TreeHugger Robot
835f260d60 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-08 00:35:13 +00:00
David James
8b1112c589 Merge "Revert "Fix lifecycle issue in CommonPool"" into qt-dev
am: da4d6e86a3

Change-Id: Iacf47b544c4e0c71a3d75dadd885e62420a533f9
2019-04-07 15:40:20 -07:00