summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-16Merge cherrypicks of [9558384, 9558404] into qt-qpr1-b-releaseandroid-10.0.0_r19android-10.0.0_r18android10-qpr1-b-s1-releaseandroid-build-team Robot
Change-Id: Ia6f948a6987f68c27f9c2721f82f08a1920b3cf0
2019-10-16Fixed a bug where the statusbar wasn't interactiveSelim Cinek
Our restriction if it has finished was too strict before, let's loosen it to call whenever the animation has actually finished not when it reached the final value Fixes: 142189043 Test: atest SystemUITests Change-Id: Ic8a252316346782b485b25d0f5d5458b30511f09 (cherry picked from commit 9449cfc4a608e7d801da642958249a16c536411b)
2019-10-15Merge cherrypicks of [9551688, 9551401] into qt-qpr1-b-releaseandroid-build-team Robot
Change-Id: I8dbd80e24166d45512b42c41ad5e924ca64be8ac
2019-10-15Add ImsReasonInfo constant for retrying without RTTHall Liu
Add CODE_RETRY_ON_IMS_WITHOUT_RTT for the IMS stack to indicate to Telephony that a call should be retried without RTT enabled. Bug: 141963475 Test: manual Change-Id: Ic3aa8856e98d8c34fd98462d71834e69b857eda4 (cherry picked from commit 6652a265c73d0edc5625ea434c35b9d8f39aed78)
2019-10-11Merge cherrypicks of [9540994, 9540080, 9540966, 9540888, 9540238, 9540889, ↵android-build-team Robot
9540890, 9540891, 9540562, 9540996, 9540997, 9540998, 9540999, 9541000, 9540968, 9540969, 9540081, 9541003, 9539963, 9541104, 9541105, 9541144, 9541145, 9541146, 9541147, 9541148, 9541149, 9540970, 9541150, 9541152] into qt-qpr1-b-release Change-Id: I23a68d0ff9600d7bb79f0d73a0cfab770434663f
2019-10-11Keep interrupts on when in battery saver modeLucas Dupin
Battery saver was completely aborting the doze service, disabling all interrupts. This is not ideal since it impacts the user journey, especially when using face auth. From now on the screen will still be off, but DozeService will be retained, in order to receive sensor events. Test: w/ battery saver: lift, tap, and observe aod being off Test: w/ battery saver: receive notification, no HUN. Test: w/o battery saver: lift, tap, and observe aod being on Test: w/o battery saver: receive notification, HUN is received. Fixes: 134157254 Change-Id: I9b713c78857c4e4c22d8d9bfff165b1b51dfd804 Merged-In: I9b713c78857c4e4c22d8d9bfff165b1b51dfd804 (cherry picked from commit 6edeb187015a04e7ff6a8f06275336b7e4ac82e7)
2019-10-11DO NOT MERGE Update setting to be bubbles not badgingMady Mellor
Test: atest NotificationMangerTest NotificationManagerServiceTest Fixes: 142166809 Change-Id: I3ac5410a5185ef78cb0f90d05738191efca02de8 (cherry picked from commit 8527dcb20bce188766985cedfd5553e22808ff17)
2019-10-11Force FGS notifications to show for a minimum timeEvan Laird
It's possible for a service to do a start/stop foreground and cause a couple of things to happen: NotificationManagerService will enqueue a EnqueueNotificationRunnable, post a PostNotificationRunnable (for the startForeground), and then also enqueue a CancelNotificationRunnable. There is some racy behavior here in that the cancel runnable can get triggered in between enqueue and post runnables. If the cancel happens first, then NotificationListenerServices will never get the message. This behavior is technically allowed, however for foreground services we want to ensure that there is a minmum amount of time that notification listeners are aware of the foreground service so that (for instance) the FGS notification can be shown. This CL does two things to mitigate this problem: 1. Introduce checking in the CancelNotificationRunnable such that it will not cancel until after PostNotificationRunnable has finished executing. 2. Introduce a NotificationLifetimeExtender method that will allow a lifetime extender to manage the lifetime of a notification that has been enqueued but not inflated yet. Bug: 119041698 Test: atest NotificationManagerServiceTest Test: atest ForegroundServiceNotificationListenerTest Change-Id: I0680034ed9315aa2c05282524d48faaed066ebd0 Merged-In: I0680034ed9315aa2c05282524d48faaed066ebd0 (cherry picked from commit 5136eefeb3e343ad2a487296063d19e01ea554e0)
2019-10-11Update PermissionChecker usages to avoid unnecessary attribution.Svet Ganov
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 (cherry picked from commit 7fe065eb660cfe8ae54f8cd1e1e615f47d7b311c)
2019-10-11Only allow INSTALL_ALLOW_TEST from shell or rootTodd Kennedy
Bug: 141169173 Test: Manual. App can't be installed as test-only Change-Id: Ib6dcca7901aa549d620448c0165c22270a3042be (cherry picked from commit b5afc874838857bac783555bd665ac3bdd7966f9)
2019-10-06Merge cherrypicks of [9513175, 9513021, 9513295] into qt-qpr1-releaseandroid-build-team Robot
Change-Id: Ib86b158e0d92dd8298439ec849c442ac79494d88
2019-10-06Revert "Wifi usability: Change the unit of the threshold for tx/rx ↵Mingguang Xu
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 (cherry picked from commit 038345da61cb9d560486386a1c46c18c870e597c)
2019-10-03Snap for 5915132 from e548ea7764636378f2970282043868033ec45b47 to ↵android-build-team Robot
qt-qpr1-release Change-Id: I864a35bb2c3d18dee6962fa46a8321cc33511aeb
2019-10-02[automerger skipped] RESTRICT AUTOMERGE Do not compute outside given range ↵Seigo Nonaka
in TextLine am: 4ce901e405 am: b51c7bb175 am: af62f3a7b3 -s ours am: 86ddd9eb6a -s ours am: eab868fa63 am: 59bfe5d653 Change-Id: Ie4856b8d5ef454e47f336b681af0a899c96dcb33
2019-10-02[automerger skipped] RESTRICT AUTOMERGE Do not compute outside given range ↵Seigo Nonaka
in TextLine am: 4ce901e405 am: b51c7bb175 am: af62f3a7b3 -s ours am: 86ddd9eb6a -s ours am: eab868fa63 Change-Id: I2f88eecd916f2642cc3cb0c8ba91ed6348247900
2019-10-02[automerger skipped] RESTRICT AUTOMERGE Do not compute outside given range ↵Seigo Nonaka
in TextLine am: 4ce901e405 am: b51c7bb175 am: af62f3a7b3 -s ours am: 86ddd9eb6a -s ours am skip reason: subject contains skip directive Change-Id: Ie6db3a3499cb02ef1bd34232a4ca8fb362b18e7d
2019-10-02[automerger skipped] Merge "RESTRICT AUTOMERGE Do not compute outside given ↵Sterling Huber
range in TextLine" into pi-dev am: e352c1f2bc -s ours am: 66e93df90a am: 43a23b721a Change-Id: Ie3ebb87b2a80189b7e06b93630898f5bb39715b6
2019-10-02[automerger skipped] RESTRICT AUTOMERGE Do not compute outside given range ↵Seigo Nonaka
in TextLine am: 4ce901e405 am: b51c7bb175 am: af62f3a7b3 -s ours am skip reason: subject contains skip directive Change-Id: Ifb67887f4b1a5860dca2569e57a74911efde801d
2019-10-02[automerger skipped] Merge "RESTRICT AUTOMERGE Do not compute outside given ↵Sterling Huber
range in TextLine" into pi-dev am: e352c1f2bc -s ours am: 66e93df90a Change-Id: I1c8d52d8db52e53f15095d43e9744ece11f9c900
2019-10-02RESTRICT AUTOMERGE Do not compute outside given range in TextLine am: 4ce901e405Seigo Nonaka
am: b51c7bb175 Change-Id: I6770f4b1a884020c374a75f67eb762b2c2bfd538
2019-10-02[automerger skipped] Merge "RESTRICT AUTOMERGE Do not compute outside given ↵Sterling Huber
range in TextLine" into pi-dev am: e352c1f2bc -s ours am skip reason: subject contains skip directive Change-Id: Id51032f27a8325444290483a9a30da49da8ac2e2
2019-10-02RESTRICT AUTOMERGE Do not compute outside given range in TextLineSeigo Nonaka
am: 4ce901e405 Change-Id: I739746d80a8dd29998a67c1d9aaa2d3f804ac57c
2019-10-02Merge "RESTRICT AUTOMERGE Do not compute outside given range in TextLine" ↵Sterling Huber
into pi-dev
2019-10-02Snap for 5911975 from f5b1101af91690d700a68eaae964c6be24a33210 to ↵android-build-team Robot
qt-qpr1-release Change-Id: Ib20bdd507878a85385521d0f3a57afbd018b7a9f
2019-10-01[automerger skipped] Import translations. DO NOT MERGEBill Yi
am: bfb7a7227c -s ours am skip reason: subject contains skip directive Change-Id: I0cd9a23fc9d8dc550921d4406e77485dd5a56582
2019-10-01Import translations. DO NOT MERGEBill Yi
BUG:138175268 Change-Id: I4e6ca4ed7c7ba4a39a15988100fad60dafd79c02 Auto-generated-cl: translation import
2019-10-01Snap for 5909972 from 29b8d32f0d14edb642e1570c35648e337bc5a28d to ↵android-build-team Robot
qt-qpr1-release Change-Id: If81796adbe5a6a1811cb289ed1029f73c1b5a96a
2019-09-30Merge "Import translations. DO NOT MERGE" into qt-qpr1-devTreeHugger Robot
2019-09-30Import translations. DO NOT MERGEBill Yi
Change-Id: I7f20d57db33a6376230cb2b28d5f82a21b12c1ce Auto-generated-cl: translation import
2019-09-30Merge "Only calling finishedwhen all the animations have finished" into ↵Selim Cinek
qt-qpr1-dev
2019-09-30Merge "Use NotoSansMyanmar (pure Unicode) fonts" into qt-dev am: e31854028eJungshik Shin
am: b5c745e1ae Change-Id: I344ffbb14c21d230d1089488e05f3f5c58653deb
2019-09-30RESTRICT AUTOMERGESeigo Nonaka
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
2019-09-30RESTRICT AUTOMERGESeigo Nonaka
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
2019-09-30Merge "Use NotoSansMyanmar (pure Unicode) fonts" into qt-devJungshik Shin
am: e31854028e Change-Id: I5337ac53b41fc00b87e6c74604900764d28359fa
2019-09-30Merge "Use NotoSansMyanmar (pure Unicode) fonts" into qt-devTreeHugger Robot
2019-09-30Only calling finishedwhen all the animations have finishedSelim Cinek
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
2019-09-30Merge "docs: Added link to multi-window drag how-to guide" into qt-dev am: ↵Kevin Hufnagle
667b944522 am: 52145e2481 Change-Id: Ide5e154813dce831fb117a7d23e85737088b63bb
2019-09-30Merge "docs: Added link to multi-window drag how-to guide" into qt-devKevin Hufnagle
am: 667b944522 Change-Id: Ic5039fb781c73c2e1691c4c32afc7e35a9713683
2019-09-30Merge "docs: Added link to multi-window drag how-to guide" into qt-devKevin Hufnagle
2019-09-30Merge "Don't consider tasks with INITIALIZING top activity as visible" into ↵Bernardo Rufino
qt-dev am: 0a252361dd am: 48c2a0f493 Change-Id: I58ac53455d40a3c96a738dd29e7e90b9e99a8af3
2019-09-30Merge "[WebView] Minor javadoc fix for WebSettings." into qt-dev am: 63c65616aeAnna Malova
am: e4cbd008c0 Change-Id: I723bd55fbf1e525876290436deb8acf7ae337b22
2019-09-30Merge "Don't consider tasks with INITIALIZING top activity as visible" into ↵Bernardo Rufino
qt-dev am: 0a252361dd Change-Id: I077cf0c3e82ddcec213b50b5efdba97699a7ed0d
2019-09-30Merge "[WebView] Minor javadoc fix for WebSettings." into qt-devAnna Malova
am: 63c65616ae Change-Id: I3ee0487212dfb139da111e9a7314dc781db66b63
2019-09-30Merge "Don't consider tasks with INITIALIZING top activity as visible" into ↵Bernardo Rufino
qt-dev
2019-09-30Merge "[WebView] Minor javadoc fix for WebSettings." into qt-devAnna Malova
2019-09-29Snap for 5907634 from 86dcc8c18ed81e27d0aa624fbc08e89961bb9bae to ↵android-build-team Robot
qt-qpr1-release Change-Id: I14363d33272d0488efe5089179f2524a670aa06f
2019-09-28Snap for 5907400 from e4227efa1700f542e1197013626db5b5085f34ff to ↵android-build-team Robot
qt-qpr1-release Change-Id: Id5b6c3849685ee25fb7d4ac7991d7428a49a247f
2019-09-28Merge "Import translations. DO NOT MERGE" into qt-qpr1-devTreeHugger Robot
2019-09-28Import translations. DO NOT MERGEBill Yi
Change-Id: I356d3d006e0ddd620d8b7e85fec872a05684c198 Auto-generated-cl: translation import
2019-09-28Merge "Import translations. DO NOT MERGE" into qt-qpr1-devTreeHugger Robot