Commit Graph

424299 Commits

Author SHA1 Message Date
Bill Yi
efd0057eb1 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
am: 41751064bc -s ours
am skip reason: subject contains skip directive

Change-Id: I9e7640306c9075a248dcb37623d4cf43c684ce4d
2019-09-02 21:17:18 -07:00
Bill Yi
d9dc189fb0 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
am: d3700eff44 -s ours
am skip reason: subject contains skip directive

Change-Id: Id363771ba51fe85114f2d39dc3e3b300e6c0f3af
2019-09-02 21:12:53 -07:00
TreeHugger Robot
41751064bc Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-03 03:57:46 +00:00
TreeHugger Robot
d3700eff44 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-03 03:56:06 +00:00
Bill Yi
053a823bf0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I8f2ee8c1e8d25ff15a019c4d9cf25b0d57dafe23
2019-09-02 19:10:21 -07:00
Bill Yi
66863544c5 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I760f98119d17c977392337c1ac9b81ed67b371c0
2019-09-02 18:38:51 -07:00
Nicholas Sauer
8de81d3fe5 Merge "Remove a break so that FLAG_PERMISSION_REVOKE_WHEN_REQUESTED is applied to permissions in all users." into qt-qpr1-dev
am: 73a2697d84

Change-Id: I300a8b67d2935038a1f91fa70a8ac0d364240c37
2019-09-02 09:44:39 -07:00
Nicholas Sauer
73a2697d84 Merge "Remove a break so that FLAG_PERMISSION_REVOKE_WHEN_REQUESTED is applied to permissions in all users." into qt-qpr1-dev 2019-09-02 16:27:25 +00:00
Bill Yi
4e2b3e3f33 [automerger skipped] Import translations. DO NOT MERGE
am: 298219db1a -s ours
am skip reason: subject contains skip directive

Change-Id: I98b75398b9190678fa3152064fd5329b382e80b7
2019-09-01 23:09:22 -07:00
Bill Yi
298219db1a Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I70a8e55f3094ee1d646c99af9757f3ef726a2bb9
2019-09-01 20:09:13 -07:00
Bill Yi
968df3b2a4 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
am: ed54ec22f2 -s ours
am skip reason: subject contains skip directive

Change-Id: Ide9d81bbe88481a605f0e4885d4cc806e8f3e8a7
2019-09-01 08:33:50 -07:00
TreeHugger Robot
ed54ec22f2 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-01 15:19:24 +00:00
TreeHugger Robot
5c01d4fb3d Merge "Import translations. DO NOT MERGE" into qt-qpr1-sysui-dev 2019-09-01 15:03:49 +00:00
Bill Yi
1ec5982c33 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ide38da2a5b676a9952881e187ef3aeb8b7c9cf55
2019-08-31 23:41:54 -07:00
Bill Yi
a1157524b0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I75ed9ff053eadba00371660dec947d885c742008
2019-08-31 22:58:35 -07:00
TreeHugger Robot
72babaee36 Merge "Import translations. DO NOT MERGE" into qt-r1-dev 2019-08-31 23:09:41 +00:00
Bill Yi
9bfdee765a [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
am: aaea2b588c -s ours
am skip reason: subject contains skip directive

Change-Id: I3cb8649a4a3e6177bbf17fc20faac7b9c018a216
2019-08-31 16:08:52 -07:00
TreeHugger Robot
aaea2b588c Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-08-31 22:47:34 +00:00
TreeHugger Robot
f0ec9c1fb0 Merge "Import translations. DO NOT MERGE" into qt-qpr1-sysui-dev 2019-08-31 22:28:05 +00:00
Bill Yi
24f1c1e09e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I2331aa5ea65fbed2f959a8414cfb199f2e8948e2
2019-08-31 11:04:52 -07:00
Bill Yi
85b1bc4db2 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5fba412c4c47ff9e6c0fe467e75aae10b9a8da49
2019-08-31 10:19:25 -07:00
Bill Yi
82d52a646a Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ia7bda04820c874310de721e717aff0c64bbf4d47
2019-08-31 09:57:02 -07:00
Long Ling
fca755bd46 Merge "[DO NOT MERGE] Check property name before apply high refresh rate black list" into qt-r1-dev 2019-08-30 23:32:14 +00:00
Long Ling
d44f2edc08 Merge "DMD: Support 90hz only in the refresh rate zone" into qt-r1-dev 2019-08-30 23:29:39 +00:00
Blake Kragten
bc75c727b7 Connection change and high tx power Q port
Changed missed Q merge back in April

Cherrypicking change into Q for better metrics.

Batterystats: "none" Data connection state should reflect only out of service

Moved only out of service to unknown type position and added other
network type.

BUG: 128629695
Test: flashed on target and tested in out of service mode. Ran
dumpsys/bugreport. adb shell dumpsys batterystats

Cellular high tx power bug

Previous implementaion was not correctly registering tx high power
sections. To fix this we can send a clear flag after we send a
+cellular_high_tx_power. We need to do this so in the volta historian
data we only see a small segment to where the tx power was at before
this.

This will generate less confusion with the cellular_high_tx_power

Bug: 127640604
Test: Compiled and flashed onto device. Tested uploading long video to
google photos. This created a high tx power use case for me to test that
the feature was reporting correctly.

Bug: 139947280
Merge-Merged-6bf8ef5
Change-Id: I6a438c9fed411a49b1f36a8085863803ff53737b
2019-08-30 15:06:03 -07:00
Nicholas Sauer
932c2ae509 Merge "DO NOT MERGE Update permissions flags for all users before attempting to restore permissions." into qt-qpr1-dev
am: 2048ba8f08

Change-Id: Ifc662ce5825b5c7c1a3cf8533193db1443b2b80b
2019-08-30 14:23:29 -07:00
Nicholas Sauer
6bac486a6b DO NOT MERGE Update permissions flags for all users before attempting to restore permissions.
am: df93293342

Change-Id: I7c6ac5b766519719c099f6141207a98b7d1cdec0
2019-08-30 14:23:27 -07:00
Nicholas Sauer
2048ba8f08 Merge "DO NOT MERGE Update permissions flags for all users before attempting to restore permissions." into qt-qpr1-dev 2019-08-30 21:05:55 +00:00
Nazanin Bakhshi
a7a7386a2a Merge "Fix crashes seen when checking for carrierConfig certificates" into qt-qpr1-dev
am: 848df9895f

Change-Id: If3fb570ad2f25961a059be24d1ac43fbcc6f19d9
2019-08-30 12:43:45 -07:00
Nazanin Bakhshi
848df9895f Merge "Fix crashes seen when checking for carrierConfig certificates" into qt-qpr1-dev 2019-08-30 19:17:57 +00:00
Nazanin Bakhshi
293ecad827 Fix crashes seen when checking for carrierConfig certificates
1. Do not throw exception when packageName is not found
2. Fix NPE caused by null SubscriptionInfo

Bug: 140122832
Test: Utest and manual test
Change-Id: I686647419896a1780f0697b3ed5d319363675f5f
2019-08-30 18:36:27 +00:00
Long Ling
0113bc0c95 [DO NOT MERGE] Check property name before apply high refresh rate black list
Bug: 140233077
Change-Id: Ib2afc54c43ae5a9f3af8a0a0e65bc2c930428152
2019-08-30 10:19:56 -07:00
Long Ling
73936631d5 DMD: Support 90hz only in the refresh rate zone
Also allow DeviceConfig to change the zone behavior
to 60 Hz only.

Change BrightObserver priority to be the lowest so application
request won't be overriden by BrightnessObserver

Bug: 139487676
Change-Id: I959550350c1ea72f764984226350ebc6e7de591c
2019-08-30 10:19:47 -07:00
Richard Uhler
2e26de4b62 Merge "Disable flaky testBadApkOnly test." into qt-r1-dev am: 8e8a2d0cb3
am: c617be6fd6

Change-Id: I93e8dedf7abf570f1dfe3003fceb87aff46e8b90
2019-08-30 02:20:45 -07:00
Richard Uhler
c617be6fd6 Merge "Disable flaky testBadApkOnly test." into qt-r1-dev
am: 8e8a2d0cb3

Change-Id: I67579f545adaf2b045d7512825e4154001202a1c
2019-08-30 02:07:57 -07:00
Richard Uhler
8e8a2d0cb3 Merge "Disable flaky testBadApkOnly test." into qt-r1-dev 2019-08-30 07:58:06 +00:00
Nicholas Sauer
df93293342 DO NOT MERGE Update permissions flags for all users before attempting to
restore permissions.

bug: 140274903
Test: cts-tradefed run cts-dev -m CtsPermissionTestCases -t android.permission.cts.SplitPermissionTest
on both user 0 and user 10.

Also (running on u10):
$ adb install out/.../CtsAppThatRequestsLocationPermission29.apk
$ adb shell pm grant --user 10 android.permission.cts.appthatrequestpermission android.permission.ACCESS_COARSE_LOCATION
$ adb install out/.../CtsAppThatRequestsLocationPermission28.apk
$ adb shell dumpsys package android.permission.cts.appthatrequestpermission

Verify that ACCESS_BACKGROUND_LOCATION is granted to user 10

Change-Id: I3cd4365ca5abce292a190ca7abca4e4e8fbf61c4
2019-08-30 04:54:35 +00:00
Nicholas Sauer
0d9ef26837 Invoke updateSharedUserPermsLPw for all users when a package is
removed.

bug: 140274903
Test: While running under both user 0 and user 10:
$ cts-tradefed run cts-dev -m CtsPermissionTestCases --test android.permission.cts.SharedUidPermissionsTest#sharedUidLoosesRuntimePermissionWhenLastAppDeclaringItGetsUninstalled

Also:
$ adb install out/.../CtsAppWithSharedUidThatRequestsPermissions.apk
$ adb install out/.../CtsAppWithSharedUidThatRequestsNoPermissions.apk
$ adb shell pm grant android.permission.cts.appthatrequestpermission android.permission.READ_CONTACTS
$ adb uninstall android.permission.cts.appthatrequestpermission
$ adb shell dumpsys package android.permission.cts.appthatrequestnopermission

... verify that READ_CONTACT permission is removed from appthatrequestnopermission

Change-Id: Ibbecc0965ae3fe84e0a51c8fa6b9fcc80b6f9640
2019-08-30 04:54:25 +00:00
Nicholas Sauer
76fbeedee4 Remove a break so that FLAG_PERMISSION_REVOKE_WHEN_REQUESTED is applied
to permissions in all users.

This addresses failures in SplitPermissionTest when run on secondary
users.

bug: 140274903
Test: cts-tradefed run cts-dev -m CtsPermissionTestCases -t android.permission.cts.SplitPermissionTest

and...

$ adb install CtsAppThatRequestsLocationPermission28.apk
$ adb shell pm grant --user 10 android.permission.cts.appthatrequestpermission android.permission.ACCESS_COARSE_LOCATION
$ adb shell pm grant --user 10 android.permission.cts.appthatrequestpermission android.permission.ACCESS_BACKGROUND_LOCATION
$ adb install CtsAppThatRequestsLocationAndBackgroundPermission29.apk
$ adb shell dumpsys package android.permission.cts.appthatrequestpermission
and verify: USER_SENSITIVE_WHEN_GRANTED|USER_SENSITIVE_WHEN_DENIED]
        android.permission.ACCESS_BACKGROUND_LOCATION: granted=false

Change-Id: I7191f06ea2e311113e0982d3b0b66aa5b1749ad9
2019-08-30 04:54:20 +00:00
Kevin Hufnagle
69e93be789 Merge "docs: Improved tick/click effect descriptions" into qt-dev am: a7496671da am: 40a40c73d7
am: 13a441d648

Change-Id: Ibf045cc05b6024b62be2a98dbade5e1908cf8add
2019-08-29 19:10:21 -07:00
Nader Jawad
07923cbe31 Merge "Fixed default angle to be Orientation.LEFT_RIGHT" into qt-qpr1-dev
am: 9740b2c3b0

Change-Id: I0a1e04021bb0be047a549818af91266ae7c84a2a
2019-08-29 19:05:53 -07:00
Kevin Hufnagle
13a441d648 Merge "docs: Improved tick/click effect descriptions" into qt-dev am: a7496671da
am: 40a40c73d7

Change-Id: I4227eebb2a74fbcecdc15dff56d26bdbbbaca027
2019-08-29 19:00:15 -07:00
Kevin Hufnagle
40a40c73d7 Merge "docs: Improved tick/click effect descriptions" into qt-dev
am: a7496671da

Change-Id: Id33aa9b90e3a62751a9fa7a4074a44737d7a95e3
2019-08-29 18:52:02 -07:00
TreeHugger Robot
9740b2c3b0 Merge "Fixed default angle to be Orientation.LEFT_RIGHT" into qt-qpr1-dev 2019-08-30 01:42:12 +00:00
Kevin Hufnagle
a7496671da Merge "docs: Improved tick/click effect descriptions" into qt-dev 2019-08-30 01:26:35 +00:00
Lucas Dupin
095d2e7cc4 Do not shake the padlock until there's an error
We were previously shaking it for help messages, that don't
interrupt scanning.
We should only animate the padlock for hard errors.

Fixes: 139838611
Test: try face auth outside of field of view
Test: try face auth outside with face occluded
Change-Id: I699befc0e748fcc057decfda1c8fc58469695ad8
2019-08-29 16:01:25 -07:00
Nikita Ioffe
21e60e0819 Merge "Unset INSTALL_DISABLE_VERIFICATION flag if install is not from system" into qt-dev am: b739b582ad am: fdbc6edec2
am: b71b5035bf

Change-Id: Ib50a248689e32f2667cd8ac40c5192095c1b6b03
2019-08-29 15:27:30 -07:00
Nikita Ioffe
af098fbf31 Merge "Unset INSTALL_DISABLE_VERIFICATION flag if install is not from system" into qt-dev am: b739b582ad
am: fdbc6edec2

Change-Id: I5cf74826f4f38a64fd205af0273143f937c718c8
2019-08-29 15:26:34 -07:00
Nikita Ioffe
b71b5035bf Merge "Unset INSTALL_DISABLE_VERIFICATION flag if install is not from system" into qt-dev am: b739b582ad
am: fdbc6edec2

Change-Id: I77aeb84e445e3e199b1b9d2bd37f8ffa5385e8ea
2019-08-29 15:16:28 -07:00
Nikita Ioffe
fdbc6edec2 Merge "Unset INSTALL_DISABLE_VERIFICATION flag if install is not from system" into qt-dev
am: b739b582ad

Change-Id: I14bc50edcee6bcfe5b8979f0186b37486f2eff3f
2019-08-29 15:09:33 -07:00