OSDN Git Service
TreeHugger Robot [Sun, 6 Oct 2019 05:53:16 +0000 (05:53 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Sun, 6 Oct 2019 00:27:08 +0000 (17:27 -0700)]
Import translations. DO NOT MERGE
Change-Id: I995c79defa649cee05b3c78398c329876f5bc98e
Auto-generated-cl: translation import
Bill Yi [Sat, 5 Oct 2019 14:08:42 +0000 (07:08 -0700)]
Import translations. DO NOT MERGE
Change-Id: I9f9de2b8c2eba8c43c8f99ff2ad24a2af42609d7
Auto-generated-cl: translation import
Mingguang Xu [Fri, 4 Oct 2019 23:27:38 +0000 (23:27 +0000)]
Merge "Revert "Wifi usability: Change the unit of the threshold for tx/rx throughput from Mbps to Kbps"" into qt-qpr1-dev
Mingguang Xu [Thu, 3 Oct 2019 17:36:42 +0000 (17:36 +0000)]
Revert "Wifi usability: Change the unit of the threshold for tx/rx throughput from Mbps to Kbps"
This reverts commit
078fe45552425c18aa8052da0ae3c9205fa5c309.
Reason for revert: This change introduced a bug and it completely changed the functionality of WiFi data stall detection, e.g., high Tx link speed can easily trigger data stall. We would like to roll back them to restore the normal functionality of Wifi data stall detection.
Bug:
141995185
Change-Id: I024808b580955545b084112c4b14921f038b595f
Merged-In: I078d28ed81a84e32aaece839a51590364a974481
Philip P. Moltmann [Fri, 4 Oct 2019 19:05:17 +0000 (12:05 -0700)]
Merge "Update PermissionChecker usages to avoid unnecessary attribution." into qt-dev am:
0a71df1f7e
am:
43f6144e21
Change-Id: Ib8548cbfc7531a5f5e9100ae26cf9b6c8f97760f
Philip P. Moltmann [Fri, 4 Oct 2019 18:43:06 +0000 (11:43 -0700)]
Merge "Update PermissionChecker usages to avoid unnecessary attribution." into qt-dev
am:
0a71df1f7e
Change-Id: I658626de14fa325e08db3aead53707d8d3e00d3b
Philip P. Moltmann [Fri, 4 Oct 2019 18:23:30 +0000 (18:23 +0000)]
Merge "Update PermissionChecker usages to avoid unnecessary attribution." into qt-dev
Bryan Ferris [Fri, 4 Oct 2019 18:05:20 +0000 (11:05 -0700)]
Merge "Only allow INSTALL_ALLOW_TEST from shell or root" into qt-dev am:
06684aed55
am:
b2450ab526
Change-Id: I468c17380579d2caad0991e55043f68e10eb5a1a
Bryan Ferris [Fri, 4 Oct 2019 17:57:23 +0000 (10:57 -0700)]
Merge "Only allow INSTALL_ALLOW_TEST from shell or root" into qt-dev
am:
06684aed55
Change-Id: I166f54becf2d4fa99939c1d9b5e9c335f70e8a69
Bryan Ferris [Fri, 4 Oct 2019 17:42:36 +0000 (17:42 +0000)]
Merge "Only allow INSTALL_ALLOW_TEST from shell or root" into qt-dev
Svet Ganov [Tue, 24 Sep 2019 04:32:08 +0000 (21:32 -0700)]
Update PermissionChecker usages to avoid unnecessary attribution.
We had accidental usages of the PermissionChecker for cases where no
private data was provided to the app but the checkPermission API on
the latter also did blame data access on the app. The PermissionChecker
was designed to handle IPC calls and not for generic API checks.
To avoid future accidental incorrect PermissionChecker usages this
change renames the existing APIs of the latter to clearly indicate
that they should be used for data delivery and also adds sibling
methods for doing the same permission checks for preflight purposes.
Also the documentation is improved to furhter assist developers.
In addition, this change fixes accidental permission checker usages
that blame when they should not by using the new preflight flavor
of the permission check APIs.
Test:
atest com.android.settingslib.location.RecentLocationAppsTest
atest CtsPermissionTestCases
added: LocationAccessCheckTest#notificationOnlyForAccessesSinceFeatureWasEnabled
added: LocationAccessCheckTest#noNotificationIfFeatureDisabled
added: LocationAccessCheckTest#noNotificationIfBlamerNotSystemOrLocationProvider
added: LocationAccessCheckTest#testOpeningLocationSettingsDoesNotTriggerAccess
bug:
141028068
Merged-In: I65c71569d0dd8a40bc6fecabb22c5373dd6e806e
Change-Id: I65c71569d0dd8a40bc6fecabb22c5373dd6e806e
Bill Yi [Thu, 3 Oct 2019 00:45:56 +0000 (17:45 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ide61c9ab75cc7c5a906a9313a0686d082f796804
Auto-generated-cl: translation import
Seigo Nonaka [Wed, 2 Oct 2019 17:44:31 +0000 (10:44 -0700)]
[automerger skipped] RESTRICT AUTOMERGE Do not compute outside given range in TextLine am:
4ce901e405 am:
b51c7bb175 am:
af62f3a7b3 -s ours am:
86ddd9eb6a -s ours am:
eab868fa63
am:
59bfe5d653
Change-Id: Ie4856b8d5ef454e47f336b681af0a899c96dcb33
Seigo Nonaka [Wed, 2 Oct 2019 17:38:35 +0000 (10:38 -0700)]
[automerger skipped] RESTRICT AUTOMERGE Do not compute outside given range in TextLine am:
4ce901e405 am:
b51c7bb175 am:
af62f3a7b3 -s ours am:
86ddd9eb6a -s ours
am:
eab868fa63
Change-Id: I2f88eecd916f2642cc3cb0c8ba91ed6348247900
Seigo Nonaka [Wed, 2 Oct 2019 17:30:08 +0000 (10:30 -0700)]
[automerger skipped] RESTRICT AUTOMERGE Do not compute outside given range in TextLine am:
4ce901e405 am:
b51c7bb175 am:
af62f3a7b3 -s ours
am:
86ddd9eb6a -s ours
am skip reason: subject contains skip directive
Change-Id: Ie6db3a3499cb02ef1bd34232a4ca8fb362b18e7d
Sterling Huber [Wed, 2 Oct 2019 17:23:46 +0000 (10:23 -0700)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Do not compute outside given range in TextLine" into pi-dev am:
e352c1f2bc -s ours am:
66e93df90a
am:
43a23b721a
Change-Id: Ie3ebb87b2a80189b7e06b93630898f5bb39715b6
Seigo Nonaka [Wed, 2 Oct 2019 17:10:34 +0000 (10:10 -0700)]
[automerger skipped] RESTRICT AUTOMERGE Do not compute outside given range in TextLine am:
4ce901e405 am:
b51c7bb175
am:
af62f3a7b3 -s ours
am skip reason: subject contains skip directive
Change-Id: Ifb67887f4b1a5860dca2569e57a74911efde801d
Sterling Huber [Wed, 2 Oct 2019 16:59:45 +0000 (09:59 -0700)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Do not compute outside given range in TextLine" into pi-dev am:
e352c1f2bc -s ours
am:
66e93df90a
Change-Id: I1c8d52d8db52e53f15095d43e9744ece11f9c900
Seigo Nonaka [Wed, 2 Oct 2019 16:59:45 +0000 (09:59 -0700)]
RESTRICT AUTOMERGE Do not compute outside given range in TextLine am:
4ce901e405
am:
b51c7bb175
Change-Id: I6770f4b1a884020c374a75f67eb762b2c2bfd538
Sterling Huber [Wed, 2 Oct 2019 16:33:57 +0000 (09:33 -0700)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Do not compute outside given range in TextLine" into pi-dev
am:
e352c1f2bc -s ours
am skip reason: subject contains skip directive
Change-Id: Id51032f27a8325444290483a9a30da49da8ac2e2
Seigo Nonaka [Wed, 2 Oct 2019 16:33:53 +0000 (09:33 -0700)]
RESTRICT AUTOMERGE Do not compute outside given range in TextLine
am:
4ce901e405
Change-Id: I739746d80a8dd29998a67c1d9aaa2d3f804ac57c
Sterling Huber [Wed, 2 Oct 2019 15:51:19 +0000 (15:51 +0000)]
Merge "RESTRICT AUTOMERGE Do not compute outside given range in TextLine" into pi-dev
Bill Yi [Tue, 1 Oct 2019 20:26:31 +0000 (13:26 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am:
bfb7a7227c -s ours
am skip reason: subject contains skip directive
Change-Id: I0cd9a23fc9d8dc550921d4406e77485dd5a56582
Bill Yi [Tue, 1 Oct 2019 18:19:50 +0000 (11:19 -0700)]
Import translations. DO NOT MERGE
BUG:
138175268
Change-Id: I4e6ca4ed7c7ba4a39a15988100fad60dafd79c02
Auto-generated-cl: translation import
TreeHugger Robot [Mon, 30 Sep 2019 22:47:26 +0000 (22:47 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Mon, 30 Sep 2019 20:27:32 +0000 (13:27 -0700)]
Import translations. DO NOT MERGE
Change-Id: I7f20d57db33a6376230cb2b28d5f82a21b12c1ce
Auto-generated-cl: translation import
Selim Cinek [Mon, 30 Sep 2019 20:12:54 +0000 (20:12 +0000)]
Merge "Only calling finishedwhen all the animations have finished" into qt-qpr1-dev
Jungshik Shin [Mon, 30 Sep 2019 17:40:07 +0000 (10:40 -0700)]
Merge "Use NotoSansMyanmar (pure Unicode) fonts" into qt-dev am:
e31854028e
am:
b5c745e1ae
Change-Id: I344ffbb14c21d230d1089488e05f3f5c58653deb
Seigo Nonaka [Mon, 16 Sep 2019 21:49:49 +0000 (14:49 -0700)]
RESTRICT AUTOMERGE
Do not compute outside given range in TextLine
This is second attempt of I646851973b3816bf9ba32dfe26748c0345a5a081
which breaks various layout test on application.
The empty string must be also handled by the TextLine since it
retrieves the default line height from the empty string.
Bug:
140632678
Test: StaticLayoutTest
Test: Manually done
Change-Id: I7089ed9b711dddd7de2b27c9c2fa0fb4cb53a735
Seigo Nonaka [Mon, 16 Sep 2019 21:49:49 +0000 (14:49 -0700)]
RESTRICT AUTOMERGE
Do not compute outside given range in TextLine
This is second attempt of I646851973b3816bf9ba32dfe26748c0345a5a081
which breaks various layout test on application.
The empty string must be also handled by the TextLine since it
retrieves the default line height from the empty string.
Bug:
140632678
Test: StaticLayoutTest
Test: Manually done
Change-Id: I7089ed9b711dddd7de2b27c9c2fa0fb4cb53a735
Jungshik Shin [Mon, 30 Sep 2019 17:27:18 +0000 (10:27 -0700)]
Merge "Use NotoSansMyanmar (pure Unicode) fonts" into qt-dev
am:
e31854028e
Change-Id: I5337ac53b41fc00b87e6c74604900764d28359fa
TreeHugger Robot [Mon, 30 Sep 2019 17:09:15 +0000 (17:09 +0000)]
Merge "Use NotoSansMyanmar (pure Unicode) fonts" into qt-dev
Selim Cinek [Thu, 26 Sep 2019 23:53:31 +0000 (16:53 -0700)]
Only calling finishedwhen all the animations have finished
Previously we would finish way too early if any of the scrims
finished animation. Since some scrims almost never change, we
would have animations being terminated early.
Fixes:
141649119
Test: unlock with bypass, observe no lock icon change
Change-Id: I6aefd6a27ef315995d8e1ae62c27a5f33cc9e160
Kevin Hufnagle [Mon, 30 Sep 2019 16:29:21 +0000 (09:29 -0700)]
Merge "docs: Added link to multi-window drag how-to guide" into qt-dev am:
667b944522
am:
52145e2481
Change-Id: Ide5e154813dce831fb117a7d23e85737088b63bb
Kevin Hufnagle [Mon, 30 Sep 2019 16:23:00 +0000 (09:23 -0700)]
Merge "docs: Added link to multi-window drag how-to guide" into qt-dev
am:
667b944522
Change-Id: Ic5039fb781c73c2e1691c4c32afc7e35a9713683
Kevin Hufnagle [Mon, 30 Sep 2019 16:10:39 +0000 (16:10 +0000)]
Merge "docs: Added link to multi-window drag how-to guide" into qt-dev
Bernardo Rufino [Mon, 30 Sep 2019 11:25:00 +0000 (04:25 -0700)]
Merge "Don't consider tasks with INITIALIZING top activity as visible" into qt-dev am:
0a252361dd
am:
48c2a0f493
Change-Id: I58ac53455d40a3c96a738dd29e7e90b9e99a8af3
Anna Malova [Mon, 30 Sep 2019 11:21:53 +0000 (04:21 -0700)]
Merge "[WebView] Minor javadoc fix for WebSettings." into qt-dev am:
63c65616ae
am:
e4cbd008c0
Change-Id: I723bd55fbf1e525876290436deb8acf7ae337b22
Bernardo Rufino [Mon, 30 Sep 2019 11:12:52 +0000 (04:12 -0700)]
Merge "Don't consider tasks with INITIALIZING top activity as visible" into qt-dev
am:
0a252361dd
Change-Id: I077cf0c3e82ddcec213b50b5efdba97699a7ed0d
Anna Malova [Mon, 30 Sep 2019 11:08:44 +0000 (04:08 -0700)]
Merge "[WebView] Minor javadoc fix for WebSettings." into qt-dev
am:
63c65616ae
Change-Id: I3ee0487212dfb139da111e9a7314dc781db66b63
Bernardo Rufino [Mon, 30 Sep 2019 11:00:13 +0000 (11:00 +0000)]
Merge "Don't consider tasks with INITIALIZING top activity as visible" into qt-dev
Anna Malova [Mon, 30 Sep 2019 10:54:16 +0000 (10:54 +0000)]
Merge "[WebView] Minor javadoc fix for WebSettings." into qt-dev
TreeHugger Robot [Sat, 28 Sep 2019 21:16:43 +0000 (21:16 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Sat, 28 Sep 2019 08:44:58 +0000 (01:44 -0700)]
Import translations. DO NOT MERGE
Change-Id: I356d3d006e0ddd620d8b7e85fec872a05684c198
Auto-generated-cl: translation import
TreeHugger Robot [Sat, 28 Sep 2019 02:54:40 +0000 (02:54 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Suprabh Shukla [Sat, 28 Sep 2019 02:51:31 +0000 (19:51 -0700)]
[automerger skipped] Merge "DO NOT MERGE revoke certain app-ops on suspend" into pi-dev am:
0e8f1fa5e9 -s ours am:
c6a2982b86 -s ours
am:
2fa2bae0fe -s ours
am skip reason: change_id Ie95555856afdd56728125f7e60b6a78cf9fc0e58 with SHA1
873e19f63f is in history
Change-Id: I19af5ee7f83feb9790ecff4a65972432248e390e
Suprabh Shukla [Sat, 28 Sep 2019 02:49:03 +0000 (19:49 -0700)]
Merge "DO NOT MERGE revoke certain app-ops on suspend" into qt-dev am:
b036952896
am:
1e7e924881
Change-Id: I7ba614a192b4aaaa36cc5cd7153cd654c1161505
Suprabh Shukla [Sat, 28 Sep 2019 02:44:44 +0000 (19:44 -0700)]
DO NOT MERGE revoke certain app-ops on suspend am:
873e19f63f
am:
53ca466732
Change-Id: I5f7456bc746affacbb949a9883484dfb8aaf7234
Suprabh Shukla [Sat, 28 Sep 2019 02:38:34 +0000 (19:38 -0700)]
[automerger skipped] Merge "DO NOT MERGE revoke certain app-ops on suspend" into pi-dev am:
0e8f1fa5e9 -s ours
am:
c6a2982b86 -s ours
am skip reason: change_id Ie95555856afdd56728125f7e60b6a78cf9fc0e58 with SHA1
873e19f63f is in history
Change-Id: I8c9e309eae92633cb6193f147f81d109cc812d7c
Suprabh Shukla [Sat, 28 Sep 2019 02:31:55 +0000 (19:31 -0700)]
Merge "DO NOT MERGE revoke certain app-ops on suspend" into qt-dev
am:
b036952896
Change-Id: Ieb5d9cc6e8aee976069c7ebd0b8d01db9982d886
Suprabh Shukla [Sat, 28 Sep 2019 02:31:51 +0000 (19:31 -0700)]
DO NOT MERGE revoke certain app-ops on suspend
am:
873e19f63f
Change-Id: I2447a90e4935e53fc0d55510bb50938fdaea23fa
Suprabh Shukla [Sat, 28 Sep 2019 02:31:47 +0000 (19:31 -0700)]
[automerger skipped] Merge "DO NOT MERGE revoke certain app-ops on suspend" into pi-dev
am:
0e8f1fa5e9 -s ours
am skip reason: subject contains skip directive
Change-Id: I53678027aa329651d6d6c9652aee847ee36b9b30
TreeHugger Robot [Sat, 28 Sep 2019 02:15:10 +0000 (02:15 +0000)]
Merge "DO NOT MERGE revoke certain app-ops on suspend" into pi-dev
TreeHugger Robot [Sat, 28 Sep 2019 02:08:05 +0000 (02:08 +0000)]
Merge "DO NOT MERGE revoke certain app-ops on suspend" into qt-dev
Kevin Hufnagle [Fri, 27 Sep 2019 23:51:27 +0000 (23:51 +0000)]
docs: Added link to multi-window drag how-to guide
Test: make ds-docs -j32
Bug:
71008103
Change-Id: Ifcc50920cf3828697add018d1d3a6a827c7c9f98
Bill Yi [Fri, 27 Sep 2019 22:42:49 +0000 (15:42 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ifa63cc635ba88e89cb4d2e12b8615c986d274cd1
Auto-generated-cl: translation import
Bill Yi [Fri, 27 Sep 2019 13:06:13 +0000 (06:06 -0700)]
Import translations. DO NOT MERGE
Change-Id: I93db9fc6d1c2fb642f0c72006e21414aaa2b5293
Auto-generated-cl: translation import
Kevin Chyn [Fri, 27 Sep 2019 02:53:34 +0000 (02:53 +0000)]
Merge changes from topic "face_slice_update-qt-qpr1-dev" into qt-qpr1-dev
* changes:
Clear face re-enroll setting when all faces removed
Added secure setting for face re enrollment.
TreeHugger Robot [Fri, 27 Sep 2019 00:21:54 +0000 (00:21 +0000)]
Merge "Revert "Import translations. DO NOT MERGE"" into qt-qpr1-dev
Curtis Belmonte [Thu, 26 Sep 2019 23:02:41 +0000 (16:02 -0700)]
Clear face re-enroll setting when all faces removed
Test: manual
Bug:
141254937
Change-Id: Ib6d23a39ac3d5a8251c3752d6d8b5e698a3069bb
Bill Yi [Thu, 26 Sep 2019 23:10:40 +0000 (23:10 +0000)]
Revert "Import translations. DO NOT MERGE"
This reverts commit
0b874d5344aa0c1488fd82604ab4e15f8e22fc91.
Reason for revert: this might have caused performance regression
Change-Id: Ic1927292fb13a3acfb6c6e8d069f689e426f5a8b
BUG:
141561372
joshmccloskey [Fri, 20 Sep 2019 23:43:27 +0000 (16:43 -0700)]
Added secure setting for face re enrollment.
Test: Verified that the flag could be modified with
adb shell settings put secure...
Bug:
141380252
Change-Id: Ifa24b688a487482e5b02689c1046d85423f73280
TreeHugger Robot [Thu, 26 Sep 2019 00:42:31 +0000 (00:42 +0000)]
Merge "Fix Password entry won't enable when lockout finished in screen-off" into qt-qpr1-dev
TreeHugger Robot [Wed, 25 Sep 2019 22:35:36 +0000 (22:35 +0000)]
Merge "Fix wrong Notification refactor" into qt-qpr1-dev
Evan Laird [Wed, 25 Sep 2019 20:51:40 +0000 (13:51 -0700)]
[automerger skipped] DO NOT MERGE Allow for HTML styling in mobile data type content descriptions
am:
a3b5dd1b89 -s ours
am skip reason: change_id Idf387111b0cdc34ad3762eac0ec6c2b484b393e3 with SHA1
83c87e50b1 is in history
Change-Id: Ieaa24de8d2c65314e146ae9b447731db61d44020
Philip P. Moltmann [Wed, 25 Sep 2019 18:02:16 +0000 (18:02 +0000)]
Merge "Put package name in extra not data" into qt-qpr1-dev
TreeHugger Robot [Wed, 25 Sep 2019 17:57:10 +0000 (17:57 +0000)]
Merge "DO NOT MERGE Allow for HTML styling in mobile data type content descriptions" into qt-qpr1-dev
Anna Malova [Wed, 25 Sep 2019 11:19:27 +0000 (12:19 +0100)]
[WebView] Minor javadoc fix for WebSettings.
No change to logic.
Test: N/A
Bug:
132394762
Change-Id: I957b0d8a03cd937b38611e32f6c012b01a6ad7da
Evan Laird [Tue, 24 Sep 2019 23:14:05 +0000 (19:14 -0400)]
DO NOT MERGE Allow for HTML styling in mobile data type content descriptions
This CL implements a (somewhat hacky) way to enable HTML attributes in
the mobile data type content description strings. This way we can use
some basic styling in the Quick Settings cellular data tile which uses
it in a TextView.
We do this by assuming that the content description is valid, escaped
HTML, and send two separate CharSequences to all of the listeners, all
of which can then decide if they need the regular content description or
the prettified version.
Test: atest SystemUITests; system ui demo mode
Bug:
141177147
Change-Id: Idf387111b0cdc34ad3762eac0ec6c2b484b393e3
Merged-In: Idf387111b0cdc34ad3762eac0ec6c2b484b393e3
Evan Laird [Tue, 24 Sep 2019 23:14:05 +0000 (19:14 -0400)]
DO NOT MERGE Allow for HTML styling in mobile data type content descriptions
This CL implements a (somewhat hacky) way to enable HTML attributes in
the mobile data type content description strings. This way we can use
some basic styling in the Quick Settings cellular data tile which uses
it in a TextView.
We do this by assuming that the content description is valid, escaped
HTML, and send two separate CharSequences to all of the listeners, all
of which can then decide if they need the regular content description or
the prettified version.
Test: atest SystemUITests; system ui demo mode
Bug:
141177147
Change-Id: Idf387111b0cdc34ad3762eac0ec6c2b484b393e3
Lucas Dupin [Tue, 24 Sep 2019 00:07:35 +0000 (17:07 -0700)]
Fix wrong Notification refactor
We're wrongly showing the BigText content after ag/
5928752
Fixes:
141446552
Test: post big text notification, look at lock screen
Change-Id: I02506a160afefb457f86eb00adccdaff44ddbd29
Kevin Hufnagle [Tue, 24 Sep 2019 22:14:14 +0000 (15:14 -0700)]
Merge "docs: Modernized AccessibilityNodeProvider example" into qt-dev am:
e49cbb3a5d
am:
786e8a2849
Change-Id: I71ff61397d44812647124042e73a655a6710ff01
Kevin Hufnagle [Tue, 24 Sep 2019 22:06:18 +0000 (15:06 -0700)]
Merge "docs: Modernized AccessibilityNodeProvider example" into qt-dev
am:
e49cbb3a5d
Change-Id: I24a281dd7194ea5c731ecc02371734fe1fa315f8
Todd Kennedy [Fri, 20 Sep 2019 20:45:15 +0000 (13:45 -0700)]
Only allow INSTALL_ALLOW_TEST from shell or root
Bug:
141169173
Test: Manual. App can't be installed as test-only
Change-Id: Ib6dcca7901aa549d620448c0165c22270a3042be
Kevin Hufnagle [Tue, 24 Sep 2019 21:18:39 +0000 (21:18 +0000)]
Merge "docs: Modernized AccessibilityNodeProvider example" into qt-dev
Philip P. Moltmann [Tue, 24 Sep 2019 19:33:46 +0000 (12:33 -0700)]
Put package name in extra not data
as broadcast receivers filter on data, not on extras. Hence changing
data changes the API.
Fixes:
141452043
Test: Uninstalled updates from system app and saw correct app-ops method
to be called
atest CtsHostsideNetworkTests:com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testDataSaverMode_reinstall
Change-Id: Icab1fcea6153d5bbf0bf2af51e71d7fd6b5cb3e5
lumark [Tue, 24 Sep 2019 09:13:35 +0000 (17:13 +0800)]
Fix Password entry won't enable when lockout finished in screen-off
CL [1] introduced a check to see if password entry need to show
soft-keyboard for fixing keyboard popup unexpected issue.
But it shouldn't need to block the password entry re-enable when
lockout finished in screen-off state.
Move the original check right before the showSoftInput to fix the case.
[1]: I3c43d09d4206c48f1afcd8dad79e7978337f1b7d
Fix:
128563724
Bug:
112811602
Test: manual as issue steps:
1). Set up Password as screen lock.
2). Enter lock screen.
3). Input wrong password 5 times, and it will show "Try again in 30 seconds" message.
4). Wait device screen off auto, and then wait 30 seconds.
5). Screen on device.
6). Swipe up and then try to input password to unlock, expected password entry
should enabled and can invoke soft-keyboard.
Change-Id: I3e0eeffdb3536588c0e039c8fbeaf8833e7af06e
Kevin Hufnagle [Mon, 23 Sep 2019 23:19:39 +0000 (16:19 -0700)]
Merge "docs: List BIOMETRIC_WEAK in setPasswordQuality()" into qt-dev am:
2a082b1e9e
am:
096ece8f53
Change-Id: I03b4f71aaa643e08a661fe383f2cff91c7a136f9
Kevin Hufnagle [Mon, 23 Sep 2019 23:08:03 +0000 (16:08 -0700)]
Merge "docs: List BIOMETRIC_WEAK in setPasswordQuality()" into qt-dev
am:
2a082b1e9e
Change-Id: I74d42b68ebed97c2db3a179e92ba3196ffc7a04f
Kevin Hufnagle [Mon, 23 Sep 2019 22:45:45 +0000 (22:45 +0000)]
Merge "docs: List BIOMETRIC_WEAK in setPasswordQuality()" into qt-dev
TreeHugger Robot [Sun, 22 Sep 2019 02:06:50 +0000 (02:06 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Sat, 21 Sep 2019 13:37:27 +0000 (06:37 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia8bfd64c60f7bfec74773ad3ec13a60040e9eb65
Auto-generated-cl: translation import
Edgar Wang [Sat, 21 Sep 2019 08:54:47 +0000 (08:54 +0000)]
Merge "Add log metrics for Aware Display Settings" into qt-qpr1-dev
TreeHugger Robot [Sat, 21 Sep 2019 01:14:13 +0000 (01:14 +0000)]
Merge "Revert "Fixed default angle to be Orientation.LEFT_RIGHT"" into qt-qpr1-dev
Lorenzo Colitti [Sat, 21 Sep 2019 01:00:55 +0000 (01:00 +0000)]
Merge "notify netd about uid internet permission changes when package replaced" into qt-qpr1-dev
TreeHugger Robot [Sat, 21 Sep 2019 00:59:16 +0000 (00:59 +0000)]
Merge "Apply front scrim to doze pulsing" into qt-qpr1-dev
Nader Jawad [Thu, 19 Sep 2019 22:04:13 +0000 (22:04 +0000)]
Revert "Fixed default angle to be Orientation.LEFT_RIGHT"
This reverts commit
d31d0967209775ae352092d3125adfd59c8040d0.
Reason for revert: Although this change fixed the behavior change for for creation of
GradientDrawables defined in xml, the default value for GradientDrawables defined
programmatically is different. The default orientation for GradientDrawables defined
in xml is LEFT_RIGHT, however, the default orientation for GradientDrawables defined
programmatically is TOP_BOTTOM. Since a fix for AAPT has been made to automatically
insert an angle measurement of 0 if one is not defined, we can revert this CL and target
a proper fix in master.
Change-Id: Ib8983386832fb25f53b5e68e76e9d41d9d26fec9
Merged-In: Ib8983386832fb25f53b5e68e76e9d41d9d26fec9
Philip P. Moltmann [Fri, 20 Sep 2019 23:09:43 +0000 (23:09 +0000)]
Merge "[DO NOT MERGE] Split access-media-storage from read-external-storage" into qt-qpr1-dev
Kevin Hufnagle [Fri, 20 Sep 2019 22:47:23 +0000 (15:47 -0700)]
Merge "docs: Fixed link to material design for ScrollView" into qt-dev am:
80b543b45a
am:
71f8040c3b
Change-Id: I317e75554f4741551e8221bfacb447ad0e914f4e
Kevin Hufnagle [Fri, 20 Sep 2019 22:39:50 +0000 (15:39 -0700)]
Merge "docs: Fixed link to material design for ScrollView" into qt-dev
am:
80b543b45a
Change-Id: Ic7cc4494a88e6feaedf85626270ed1e8057189f5
Kevin Hufnagle [Fri, 20 Sep 2019 22:14:46 +0000 (22:14 +0000)]
Merge "docs: Fixed link to material design for ScrollView" into qt-dev
Philip P. Moltmann [Fri, 20 Sep 2019 20:33:48 +0000 (20:33 +0000)]
Merge "Fix dumpsys for appops proxy field" into qt-qpr1-dev
TreeHugger Robot [Fri, 20 Sep 2019 20:22:59 +0000 (20:22 +0000)]
Merge "Remove 'x' policy for non-default DSDS SIM" into qt-qpr1-dev
TreeHugger Robot [Fri, 20 Sep 2019 19:38:21 +0000 (19:38 +0000)]
Merge "Fixed an issue where the notification icons could overlap the clock" into qt-qpr1-dev
TreeHugger Robot [Fri, 20 Sep 2019 18:58:38 +0000 (18:58 +0000)]
Merge "Fix strings for ConfirmUserCreationActivity." into qt-qpr1-dev
TreeHugger Robot [Fri, 20 Sep 2019 17:49:55 +0000 (17:49 +0000)]
Merge "Hold Display Suspend blocker when going to Doze" into qt-qpr1-dev
TreeHugger Robot [Fri, 20 Sep 2019 17:27:27 +0000 (17:27 +0000)]
Merge "Ensure that handles are hidden and stay hidden when not fully awake" into qt-qpr1-dev
Jason Parks [Wed, 21 Aug 2019 15:18:37 +0000 (10:18 -0500)]
Fix strings for ConfirmUserCreationActivity.
Bug: b/
139790551
Test: Manual
Change-Id: I11eedfca8e5d88c821640b9001099f3392d0a35c
Philip P. Moltmann [Fri, 13 Sep 2019 22:12:34 +0000 (15:12 -0700)]
[DO NOT MERGE] Split access-media-storage from read-external-storage
And also pre-grant it to all apps that currently get any storage
permission pre-granted
Test: atest SplitPermissionTest
m -j gts && gts-tradefed run commandAndExit gts-dev -m GtsPermissionTestCases --test=com.google.android.permission.gts.DefaultPermissionGrantPolicyTest#testDefaultGrantsWithRemoteExceptions
Manual testing:
All combinations of
- App targetSdk = 28 and 29 (and 22 for extra credit)
- App having the <uses-permission> tag for
ACCESS_MEDIA_LOCATION or not
- Upgrade from P->Q-QPR and from vanilla Q->Q-QPR
Further upgrade of targetSdk from 28->29 while on Q-QPR
==> All permission behavior should make sense. Sometimes there
are weird, but expected behaviors. Hence we need to
collect the results and then look at the unexpected ones.
See SplitPermissionTest for some tests I added for the
location-background permission which was split from
the fine/coarse-location permissions
Fixes:
141048840,
140961754
Change-Id: Ib9f50d25c002036f13cf2d42fc4d1b214f20920c