Commit Graph

454437 Commits

Author SHA1 Message Date
Yan Yan
cbe46f687e Merge "Fix and suppress API lint warning" am: bba4e2721b am: 276c583af6
am: e55180d5e0

Change-Id: Id6b7a059cb66941e9bed4fda60c950f1b31d0f3f
2019-12-06 00:09:27 -08:00
TreeHugger Robot
ceba54efaa Merge "Clean up resources before detaching the task from hierarchy" 2019-12-06 07:35:42 +00:00
Peter Wang
5b0ee657e0 Merge "[Telephony Mainline] Refactored grantDefaultPermissionsToActiveLuiApp and revokeDefaultPermissionsFromLuiApps from PermissionManagerService to Permmission Manager" 2019-12-06 05:32:51 +00:00
Louis Chang
8bda232355 Clean up resources before detaching the task from hierarchy
Bug: 145780344
Test: atest DisplayTests#testNonDefaultDisplayResourcesConfiguration

Change-Id: Ida82f8f6db94b50ac71fe0dea55edc730c5886c8
2019-12-06 12:15:00 +08:00
TreeHugger Robot
14ec7e5938 Merge "StatsManager uses private object for synchronizing" 2019-12-06 04:01:35 +00:00
TreeHugger Robot
921b6080c9 Merge "Fix error handling in StatsEvent" 2019-12-06 03:31:13 +00:00
Tej Singh
2cf3ae3f06 StatsManager uses private object for synchronizing
StatsManager used to synchronize on "this", which is dangerous because
an app can get StatsManager and also sychronize on it, which would block
all calls. We now lock on a private final object.

Test: make
Bug: 144315658
Fixes: 144315658
Change-Id: Ia34b1c586b09a48b244cc16dba77fe54e81f62cf
2019-12-05 18:42:30 -08:00
Andrew Chant
0cb0315c9d Merge "Revert "Window with FLAG_NOT_FOCUSABLE cant be IME target."" 2019-12-06 02:22:45 +00:00
Hall Liu
3469cb09a1 Merge "Remove telephony hidden api usages from commands" 2019-12-06 02:21:00 +00:00
Muhammad Qureshi
d265088259 Fix error handling in StatsEvent
Bug: 143286399
Test: bit FrameworksCoreTests:android.util.StatsEventTest
Change-Id: I2159bf138a307e45c44102a8feb7a69d0c793843
2019-12-05 18:07:12 -08:00
TreeHugger Robot
cf87cafa19 Merge "Bug report handler app via Bug Report Shortcut" 2019-12-06 01:45:31 +00:00
Peter Wang
0bab2ddd91 Merge "[automerger skipped] Merge "[Telephony Mainline] Exposed sendOrderedBroadcast" am: 471b839d02 am: 80a5a3db13 am: ed6d7e8b6e -s ours am skip reason: change_id I60e21c7202d1bc7c5d28dfad2e2edde902f28a15 with SHA1 7701f57250 is in history" 2019-12-06 01:31:28 +00:00
Hall Liu
751de25d45 Remove telephony hidden api usages from commands
Remove usages of Telephony hidden APIs from Telecom's debugging commands

Fixes: 141576016
Test: manual
Change-Id: Ia1184f804b3b03104dd5c911b15c8c28190b2395
2019-12-05 16:47:38 -08:00
TreeHugger Robot
654dc43370 Merge "Don't require resizable check for experimental bubbles" 2019-12-06 00:33:36 +00:00
Jing Ji
17f25028e7 Merge "OomAdjuster: Don't reset raw adj if it has been evaluated" 2019-12-06 00:09:48 +00:00
Mady Mellor
3067294171 Don't require resizable check for experimental bubbles
Test: manual - 1) adb shell settings put secure allow_any_notif_to_bubble 1
               2) get an notification for an activity that isn't resizable
               3) longpress on the notif, note the bubble menu is there
               4) select bubble
               => the notification becomes a bubble
Bug: 143173197

Change-Id: Ie0b91971a969203000d9cfa19b50e44fd4c9c490
2019-12-05 15:56:40 -08:00
Alex Lin
a1248d313c Merge "Add country blacklist support" 2019-12-05 23:37:04 +00:00
TreeHugger Robot
182f21798f Merge "Turn bubble any message on by default" 2019-12-05 23:36:31 +00:00
TreeHugger Robot
9bd71189b7 Merge "Check if the surface control is released before setting metadata on it" 2019-12-05 23:33:04 +00:00
TreeHugger Robot
ca07451b9e Merge "Prevent Insets side visibility change during animation" 2019-12-05 23:07:57 +00:00
Eric Berglund
4eb4a57122 [automerger skipped] Merge "DO NOT MERGE Adding additional null checks for BubbleController." into qt-qpr1-dev am: 297a84231f
am: 3ef3661221 -s ours
am skip reason: subject contains skip directive

Change-Id: Id0817609c91ddb905dac4caad01dd1c0615f12c0
2019-12-05 15:06:19 -08:00
Eric Berglund
e5c8eb636b [automerger skipped] DO NOT MERGE Adding additional null checks for BubbleController. am: b7fc7fd466
am: 2466763f7c -s ours
am skip reason: subject contains skip directive

Change-Id: Ia4ee8e3083821bb0b4b2254fa8dc10bb44de02d7
2019-12-05 15:06:16 -08:00
Lucas Dupin
a3fe5342ba Merge "Fix black image wallpaper issue" into qt-qpr1-dev am: 0f57fd1559
am: 33d4c46858

Change-Id: I3a08a12217e09c4624683747cc1af0fb45ced711
2019-12-05 15:05:37 -08:00
TreeHugger Robot
faf22d2c2a Merge "Update read contacts permission to mention account info also included" 2019-12-05 22:39:22 +00:00
Andrew Chant
17c896e69b Revert "Window with FLAG_NOT_FOCUSABLE cant be IME target."
This reverts commit 0ffa15ab5f.

Reason for revert: Checking treehugger to see if this fixes instagram
input handling.

Bug: 144619551
Change-Id: I606c651f7ec1ea8c26ecc92fc5e94994a480950b
2019-12-05 22:39:02 +00:00
Mady Mellor
6ad8628392 Turn bubble any message on by default
Flipping this on by default means that MessageStyle notifs with enough
info to bubble will show a "bubble" option in the notif longpress menu.

Bug: 145763712
Test: manual - get a hangouts message, longpress on it, see bubble option
Change-Id: Ied9e5dba58b2d717a43a687a3900391dd8fc1646
2019-12-05 14:33:42 -08:00
Jeff Sharkey
5c1bc257c0 Merge "Add statistics logging for MediaProvider." 2019-12-05 22:25:21 +00:00
TreeHugger Robot
57bb01c720 Merge "Set accessibility ID to window surface" 2019-12-05 22:22:58 +00:00
Jeff Sharkey
6697c2fe1c Merge changes from topic "matchz"
* changes:
  Add QUERY_ARG_RELATED_URI to aid media placement.
  Introduce QUERY_ARG_MATCH_* values for filtering.
2019-12-05 22:07:57 +00:00
TreeHugger Robot
24f041c849 Merge "Revert submission" 2019-12-05 21:55:40 +00:00
Paul Chang
c40f578d02 Bug report handler app via Bug Report Shortcut
- Send intent (android.internal.intent.action.BUGREPORT_REQUESTED) to bug report handler app after pressing Bug Report Shortcut
- Add config "config_bugReportHandlerEnabled" to enable this feature
- Add config "config_defaultBugReportHandlerApp" to get the package of default bugreport handler app
- Add settings CUSTOM_BUGREPORT_HANDLER_APP to get the package of custom bugreport handler app
- Add settings CUSTOM_BUGREPORT_HANDLER_USER to get the user id of custom bugreport handler app

BUG:142921485
Test: After pressing Bug Report Shortcut in manual local test:
- the intent can be sent to bugreport handler app.
- the intent can be sent to Shell if the chosen and the default bugreport handler app can't handle it.
- the intent can be sent to system user profile's default bugreport handler app if the custom profile(like work profile) is removed.
Change-Id: Idc33b47f0cc65b90cbf648bda54a1d900fef007a
2019-12-06 05:52:09 +08:00
Peter Wang
56dec3f134 [Telephony Mainline] Refactored grantDefaultPermissionsToActiveLuiApp
and revokeDefaultPermissionsFromLuiApps from PermissionManagerService to
Permmission Manager

Bug: 142019744
Test: Build
Change-Id: Ic39e1a66b650e7969242eb2116f342de488b1ca6
2019-12-05 13:23:02 -08:00
TreeHugger Robot
dd07c25872 Merge "Fixing window dump timing out on wallpaper service" 2019-12-05 21:15:42 +00:00
Heemin Seog
39b3d14816 Merge "Move isOccluded out of ShadeController" 2019-12-05 21:15:03 +00:00
TreeHugger Robot
43c56ce786 Merge "invalidate NotifFilter onStrongAuthStateChanged" 2019-12-05 21:04:43 +00:00
Songchun Fan
4e19d8fda3 Merge "[incremental/installation] new API to add file to session" 2019-12-05 20:56:03 +00:00
Songchun Fan
b7c6d8d861 Merge "[incremental] data loader manager interface" 2019-12-05 20:55:50 +00:00
Alexander Dorokhine
d379a20b09 Merge "Switch FakeIcing to return a SearchResults proto instead of a List<Document>" 2019-12-05 20:38:26 +00:00
TreeHugger Robot
6703d39a51 Merge "Added tracing to multi-user operations on WallpaperManagerService." 2019-12-05 19:58:43 +00:00
Beverly
c29b969fe3 invalidate NotifFilter onStrongAuthStateChanged
When strong auth changes, the lockdown mode could change which
changes whether we show certain notifications so we must invalidate
the KeyguardCoordinator's NotifFilter to prevent b/78020486.

Test: manual
Bug: 145659174
Bug: 145134683
Change-Id: I5e7ad481fad1323943ac7bfe6d858efd0b8a0b32
2019-12-05 19:58:11 +00:00
TreeHugger Robot
6a06d9f864 Merge "New Executor implementaiton for SystemUI." 2019-12-05 19:48:41 +00:00
Yan Yan
e55180d5e0 Merge "Fix and suppress API lint warning" am: bba4e2721b
am: 276c583af6

Change-Id: I76bf47dcfe861787dff9ed3f4708e2e1723db04c
2019-12-05 11:47:48 -08:00
Santiago Seifert
6b65b40d0b Merge "Add initial implementation of MediaParser" 2019-12-05 19:40:45 +00:00
Yan Yan
276c583af6 Merge "Fix and suppress API lint warning"
am: bba4e2721b

Change-Id: Ibb1bf33927f8ed452250e3a91ed77c60ca18da09
2019-12-05 11:40:29 -08:00
Hongming Jin
92b57232e2 Merge "SystemActionPerformer implementation for new API." 2019-12-05 19:38:04 +00:00
Yan Yan
bba4e2721b Merge "Fix and suppress API lint warning" 2019-12-05 19:24:36 +00:00
Winson Chung
69015a2111 Merge "Setting initial state when docking task" 2019-12-05 19:17:23 +00:00
Winson Chung
3825985502 Merge "Always inset by nav bar frame when IME is visible" 2019-12-05 19:17:08 +00:00
Ahmed ElArabawy
aeabd3d378 Merge "Wifi: Add minRssi and bandBonus for 6GHz band" 2019-12-05 19:09:15 +00:00
Jeff Sharkey
6bd2157b55 Add statistics logging for MediaProvider.
As part of becoming a Mainline module, we need to understand basic
information about the health of our module in the wild.  For the
MediaProvider module, we're interested in identifying these cases:

-- When scan operations result in an unexpectedly large number of
inserts, updates, or deletes in proportion to the total number of
files indexed.  This typically indicates user data loss or a missing
database upgrade step.

-- When the overall duration of scan operations becomes significantly
slower in relation to the number of files indexed.  This typically
indicates an indexing performance regression.

-- When a scan operation skips over an entire directory tree.  This
can indicate an app placing ".nomedia" files in unexpected locations.

-- When a large number of media files are deleted by a specific
app.  This can help identify data loss bugs caused by MediaProvider
directly, or attribute data loss bugs in other apps.

-- When database upgrade/downgrade operations take a substantial
amount of time in proportion to the total number of files.  This
typically indicates a performance regression.

-- When performing idle maintenance, a large number of stale or
expiring media can indicate an invalidation bug.

Bug: 143723019
Test: manual
Change-Id: I89c5b5b51a843a67348a7bb4b8e6ac01fb2b15b9
2019-12-05 11:36:58 -07:00