OSDN Git Service
TreeHugger Robot [Tue, 30 Jul 2019 20:06:47 +0000 (20:06 +0000)]
Merge "Send ChannelDialogController finish message on dismiss" into qt-r1-dev
Selim Cinek [Tue, 30 Jul 2019 19:44:03 +0000 (19:44 +0000)]
Merge "Only clipping heads up that are not the first ones" into qt-r1-dev
Selim Cinek [Tue, 30 Jul 2019 19:42:11 +0000 (19:42 +0000)]
Merge "Unset the notification expansion state when fully hidden" into qt-r1-dev
Bill Yi [Tue, 30 Jul 2019 18:45:52 +0000 (11:45 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am:
8292b6bb44 -s ours
am skip reason: subject contains skip directive
Change-Id: I60ed49dd67f2d8964530d2960865c5e0503bb95c
TreeHugger Robot [Tue, 30 Jul 2019 18:26:30 +0000 (18:26 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Tue, 30 Jul 2019 18:08:35 +0000 (18:08 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Hongwei Wang [Tue, 30 Jul 2019 16:07:13 +0000 (16:07 +0000)]
Merge "Allow resume of parent activity that launches PiP" into qt-r1-dev
Bill Yi [Tue, 30 Jul 2019 12:58:52 +0000 (05:58 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Icf5704a7dc24d1d608128f21d0e4aeb8fb1ccc73
Bill Yi [Tue, 30 Jul 2019 12:27:50 +0000 (05:27 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ibf6c04dc31f46bff1ad2077478de96bcdd2f7440
Selim Cinek [Tue, 30 Jul 2019 01:38:12 +0000 (18:38 -0700)]
Unset the notification expansion state when fully hidden
If the bouncer is showing after dragging down with locked
notifications and the screen locked, the visibleForExpansion
state wasn't properly reset. Even though we don't ask for
the bouncer when bypassing anymore, we're adding a
safeguard in case we change out minds. Whenever the notifications
are fully hidden, we unset the visibleForExpansion state.
Fixes:
138261144
Test: drag down with bypass on, redaction and enforcing bouncer, turn off, then reach. No shelf should be visible
Change-Id: I2d237ce67da0e8fd3bf9e8d40e146f3a478ac5ce
Winson Chung [Mon, 29 Jul 2019 23:41:33 +0000 (23:41 +0000)]
Merge "Also apply freeze-task-list when starting an activity" into qt-r1-dev
Winson Chung [Mon, 29 Jul 2019 23:37:00 +0000 (23:37 +0000)]
Merge "Tweak home handle animation" into qt-r1-dev
Selim Cinek [Mon, 29 Jul 2019 23:33:48 +0000 (16:33 -0700)]
Only clipping heads up that are not the first ones
Previously we would clip even the first heads up
notification which would lead to the notification being
clipped. This would happen if a notification would be
before the first heads up which could happen temporarily.
Fixes:
138467810
Test: Add 2 heads up notifications that are not dismissable, swipe away the first, observe no clipping
Change-Id: I13f681a0a09a9de8e948fb666ee99718df3bae02
John Reck [Mon, 29 Jul 2019 21:23:57 +0000 (21:23 +0000)]
Merge "Fix regression in PFD#fromData" into qt-r1-dev
TreeHugger Robot [Mon, 29 Jul 2019 21:22:30 +0000 (21:22 +0000)]
Merge "Fixed the shadows on the lockscreen for bypass" into qt-r1-dev
Selim Cinek [Mon, 29 Jul 2019 21:21:22 +0000 (14:21 -0700)]
Merge "Fixed an issue where the notification wouldn't collapse" into qt-dev
am:
8ba52400f5
Change-Id: I635e6725083529cf6ae24d29e9c35f388afa379f
Selim Cinek [Mon, 29 Jul 2019 21:17:38 +0000 (14:17 -0700)]
[automerger skipped] Merge "Showing the notification icon properly now when the pulse is suppressed" into qt-dev
am:
bb94263ca2 -s ours
am skip reason: change_id I8f7bd7a6a0562942ed3e12f28705043722d177e8 with SHA1
65c96f2fd4 is in history
Change-Id: If8cd296781afafedeb4910fe87a83889a6ba2ec5
Beth Thibodeau [Mon, 29 Jul 2019 21:13:58 +0000 (14:13 -0700)]
Merge "Stop timer when notification isn't visible" into qt-dev
am:
7256c379df
Change-Id: If8705c20723e5ee725399e9377f0c6e33e997429
TreeHugger Robot [Mon, 29 Jul 2019 21:11:07 +0000 (21:11 +0000)]
Merge "Made sure the the lock icon hides again when dragging down" into qt-r1-dev
Selim Cinek [Mon, 29 Jul 2019 20:35:36 +0000 (20:35 +0000)]
Merge "Fixed an issue where the notification wouldn't collapse" into qt-dev
TreeHugger Robot [Mon, 29 Jul 2019 20:33:42 +0000 (20:33 +0000)]
Merge "Showing the notification icon properly now when the pulse is suppressed" into qt-dev
TreeHugger Robot [Mon, 29 Jul 2019 20:30:46 +0000 (20:30 +0000)]
Merge "Stop timer when notification isn't visible" into qt-dev
Miranda Kephart [Mon, 29 Jul 2019 19:46:21 +0000 (19:46 +0000)]
Merge "Add phenotype flags for transcription speed" into qt-r1-dev
James O'Leary [Mon, 29 Jul 2019 19:09:25 +0000 (19:09 +0000)]
Merge "Fix handles redrawing when not visible" into qt-r1-dev
Selim Cinek [Mon, 29 Jul 2019 19:00:59 +0000 (19:00 +0000)]
Merge "Fixed some issues when expanding from the launcher" into qt-r1-dev
Chen Xu [Mon, 29 Jul 2019 18:22:56 +0000 (18:22 +0000)]
Merge "support limited sim function notification under dsds" into qt-r1-dev
Winson Chung [Mon, 22 Jul 2019 23:25:43 +0000 (16:25 -0700)]
Tweak home handle animation
Bug:
135948401
Test: Just an interpolator and duration change
Change-Id: Ic12736819995f65c3cc3fba56a9642d02aa3119e
Amit Mahajan [Mon, 29 Jul 2019 17:35:38 +0000 (17:35 +0000)]
Merge "Revert "Do not notify SS change with invalid subId"" into qt-r1-dev
Steven Liu [Mon, 29 Jul 2019 15:25:47 +0000 (15:25 +0000)]
Merge "Add the defination of Intent - WIFI_NETWORK_SETTINGS_RESET_ACTION" into qt-r1-dev
TreeHugger Robot [Mon, 29 Jul 2019 14:20:15 +0000 (14:20 +0000)]
Merge "Use per user method when writing or reading Live Caption secure setting" into qt-r1-dev
Kevin Chyn [Sun, 28 Jul 2019 23:27:56 +0000 (23:27 +0000)]
Merge "ResetLockout should be scheduled on FaceService's handler" into qt-r1-dev
bsears [Sun, 28 Jul 2019 17:49:37 +0000 (10:49 -0700)]
Merge "Only supports ambient mode when necessary." into qt-dev
am:
10a9fde8b5
Change-Id: I730338a57ee3c73f77dc7951ae45d6ad4f6246ee
bsears [Sun, 28 Jul 2019 17:29:03 +0000 (17:29 +0000)]
Merge "Only supports ambient mode when necessary." into qt-dev
TreeHugger Robot [Sun, 28 Jul 2019 08:30:35 +0000 (08:30 +0000)]
Merge "Tweak home handle colors to have some opacity" into qt-r1-dev
Nadav Bar [Sun, 28 Jul 2019 06:17:07 +0000 (09:17 +0300)]
Use per user method when writing or reading Live Caption secure setting
Change-Id: Ib86af1a84f0791b8779dae96afd948eabbcf770e
Bug:
138493870.
Test: Manually.
Winson Chung [Fri, 26 Jul 2019 23:35:35 +0000 (16:35 -0700)]
Tweak home handle colors to have some opacity
Bug:
138145469
Test: Just updating some colors
Change-Id: I20f79c487df86af18d54d232da09af55907a9f1a
Winson Chung [Fri, 26 Jul 2019 23:38:08 +0000 (16:38 -0700)]
Adding quick settings flag to sysui state
- We were previously ignoring the QS state for notifications expanded since
we were only using that flag for gating whether to allow back. But since
we also use the state for gating swipe up, we should be explicit and
check that both notifications are hidden and we are not in QS.
Bug:
135969043
Test: Swipe into QS, ensure the state is set
Change-Id: Ia284938e32f54998bf7aba3a051de2b30cdc0e26
Svet Ganov [Sun, 28 Jul 2019 04:41:55 +0000 (21:41 -0700)]
[DO NOT MERGE] Don't drop restricted permissions on upgrade
am:
0b41c8940a
Change-Id: I717e5aedbc47b010cec5699bf864875aba76a4e7
Kevin Chyn [Sun, 28 Jul 2019 00:50:33 +0000 (17:50 -0700)]
ResetLockout should be scheduled on FaceService's handler
Fixes:
138501368
Test: Reject 5 times and get locked out
Enter password
Go back to lockscreen, no longer locked out
Change-Id: I23e3022bcca533f3cacb03aa79bf0a68a9e01de2
Svet Ganov [Sat, 27 Jul 2019 00:45:56 +0000 (17:45 -0700)]
[DO NOT MERGE] Don't drop restricted permissions on upgrade
Restricted permissions cannot be held until whitelisted. In
a P -> Q upgrade we grandfather all restricted permissions.
However, the whitelisting code runs after the internal update
of permission happens for the first time resulting in a
revocation of the restricted permissions we were about to
grandfather.
The fix is to not deal with restricted permission when updating
the permissions state until the permission controller has run
the grandfathering logic and once the latter happens we do run
the permission update logic again to properly handle the
restricted permissions.
Bug:
138263882
Test: atest CtsPermissionTestCases
atest CtsPermission2TestCases
atest CtsAppSecurityHostTestCases:android.appsecurity.cts.PermissionsHostTest
P -> Q upgrade preserves grandfathered restricted permissions
P -> Bad Q build -> Q fixes up broken fixed restricted permissions
Change-Id: Iaef80426bf50181df93d1380af1d0855340def8e
Winson Chung [Thu, 18 Jul 2019 20:43:23 +0000 (13:43 -0700)]
Also apply freeze-task-list when starting an activity
- We previously only did this for startActivityFromRecents(), but for 3p
launchers, we need to start the RecentsActivity mid-gesture and don't
want to punt the excluded task from the front of the list
Bug:
137199105
Test: Install 3p Launcher, force-enable gesture nav, swipe up from
exclude-from-recents activity
Change-Id: I7881ea103e83d28df1ec94d1874295188bed1064
Dave Mankoff [Sat, 27 Jul 2019 11:45:29 +0000 (04:45 -0700)]
[automerger skipped] Merge "Do not allow the FalsingManager sesion to start when AOD is showing." into qt-dev
am:
000415be6e -s ours
am skip reason: change_id I6d14db66d53a668b7cf8dd15ebb489fb3ebf4c7c with SHA1
622eeaf0d5 is in history
Change-Id: I68e908f8495b1dcaa5a248867b8c059ed0cab4cc
Dave Mankoff [Sat, 27 Jul 2019 11:28:16 +0000 (11:28 +0000)]
Merge "Do not allow the FalsingManager sesion to start when AOD is showing." into qt-dev
Thierry Strudel [Sat, 27 Jul 2019 06:51:00 +0000 (06:51 +0000)]
Merge "oomAdjuster: Change default demotion of renderthreads to default graphics priority" into qt-r1-dev
Selim Cinek [Sat, 27 Jul 2019 05:25:49 +0000 (22:25 -0700)]
Made sure the the lock icon hides again when dragging down
Previously we were requiring a heads up to be present
but that's not necessary and would lead to issues
when dragging down
Fixes:
138469678
Test: get notification / drag down, observe normal lock icon
Change-Id: I1bfa7c1f9fb6b0bb0a76eb1ed15f25be6da2fab3
Selim Cinek [Sat, 27 Jul 2019 04:47:19 +0000 (21:47 -0700)]
Fixed an issue where the notification wouldn't collapse
When clicking on a notification with an activity that
wouldn't start an opening animation, the panel could
remain open. We're now closing it in that case.
Fixes:
138468703
Test: follow test on bug and observe normal closing
Change-Id: I0b867302d616c017d82f944ee983d4ba4356701a
Selim Cinek [Sat, 27 Jul 2019 02:49:08 +0000 (19:49 -0700)]
Fixed the shadows on the lockscreen for bypass
The shadows were clipped before which made them appear
very jarringly. They now appear smoother.
Also, the shelf wasn't actually hidden when it was fully
clipped leading to an ugly remainder on the lockscreen
Fixes:
138258095
Test: atest SystemUITests
Change-Id: I070c307119572aa41423d1370a55010b2f428be4
Dave Mankoff [Fri, 26 Jul 2019 17:50:08 +0000 (13:50 -0400)]
Do not allow the FalsingManager sesion to start when AOD is showing.
Bug:
138220274
Test: manual
Change-Id: I6d14db66d53a668b7cf8dd15ebb489fb3ebf4c7c
Merged-In: I6d14db66d53a668b7cf8dd15ebb489fb3ebf4c7c
TreeHugger Robot [Sat, 27 Jul 2019 01:43:23 +0000 (01:43 +0000)]
Merge "Do not allow the FalsingManager sesion to start when AOD is showing." into qt-r1-dev
Selim Cinek [Fri, 26 Jul 2019 03:41:29 +0000 (20:41 -0700)]
Showing the notification icon properly now when the pulse is suppressed
Previously the notification would be hidden so if the user would pull
out the phone from the pocket, they might not see what notification
actually alerted.
Bug:
138336424
Test: add notification while on AOD, block prox sensor, see icon
Change-Id: I101640c9d0226948e44a4bf36a7ca91dd135fe66
Merged-In: I8f7bd7a6a0562942ed3e12f28705043722d177e8
Kevin Chyn [Sat, 27 Jul 2019 00:33:33 +0000 (00:33 +0000)]
Merge "Do not use canAuthenticate() to check if user can reset lockout" into qt-r1-dev
Amit Mahajan [Sat, 27 Jul 2019 00:15:03 +0000 (00:15 +0000)]
Revert "Do not notify SS change with invalid subId"
This reverts commit
6db77174a2171157bfc93c5836704fd6609c9ae7.
Reason for revert: b/
138357571 (no signal bars even when device is in service)
Change-Id: I98eb708ef4f624bfba541d409837846662255d72
Kevin Hufnagle [Fri, 26 Jul 2019 23:41:40 +0000 (16:41 -0700)]
Merge "docs: Fixed typo in SERVICE_META_DATA" into qt-dev
am:
d2e0e31dbb
Change-Id: I89e312ae7ec294b19ded565e54768e8a290bc4c1
Dave Mankoff [Fri, 26 Jul 2019 17:50:08 +0000 (13:50 -0400)]
Do not allow the FalsingManager sesion to start when AOD is showing.
Bug:
138220274
Test: manual
Change-Id: I6d14db66d53a668b7cf8dd15ebb489fb3ebf4c7c
Merged-In: I6d14db66d53a668b7cf8dd15ebb489fb3ebf4c7c
bsears [Fri, 26 Jul 2019 23:35:31 +0000 (16:35 -0700)]
Merge "Revert "SharedMemory: break Cleaner reference cycle." Bug:
138422309" into qt-dev
am:
d4b0c9348a
Change-Id: Icef464ff04de9d1e300161383251e35d557ca973
bsears [Fri, 26 Jul 2019 23:31:52 +0000 (16:31 -0700)]
Merge "Revert "SharedMemory: clear file descriptor when explicitly closed." Bug:
138422309" into qt-dev
am:
480f1db9bc
Change-Id: Ib346fb19a7be0635fe9e15d0fc6a307a614fb1c5
Kevin Hufnagle [Fri, 26 Jul 2019 23:20:51 +0000 (23:20 +0000)]
Merge "docs: Fixed typo in SERVICE_META_DATA" into qt-dev
John Reck [Fri, 26 Jul 2019 19:19:56 +0000 (12:19 -0700)]
Fix regression in PFD#fromData
Don't rely on the GC to clean up FD resources when they can
just be cleaned up immediately. We know the MemoryFile isn't
going to be used any further, so just close it.
Bug:
138323667
Test: Repro steps in bug. Verified addresses FD leak in system_server from repeatedly opening & closing settings.
Change-Id: Ic82006c9cb48f580aaad942c4679e774186382c9
bsears [Fri, 26 Jul 2019 23:03:15 +0000 (23:03 +0000)]
Merge "Revert "SharedMemory: break Cleaner reference cycle." Bug:
138422309" into qt-dev
bsears [Fri, 26 Jul 2019 23:03:06 +0000 (23:03 +0000)]
Merge "Revert "SharedMemory: clear file descriptor when explicitly closed." Bug:
138422309" into qt-dev
Miranda Kephart [Thu, 25 Jul 2019 17:32:42 +0000 (13:32 -0400)]
Add phenotype flags for transcription speed
Bug:
138305857
Test: manual (tested along with changes to pick up/use the flags)
Change-Id: I9b65079c75e01829a243ffd1286e8c171438cc6f
Kevin Chyn [Fri, 26 Jul 2019 19:41:33 +0000 (12:41 -0700)]
Do not use canAuthenticate() to check if user can reset lockout
canAuthenticate() is meant for apps so it will reflect the
FACE_UNLOCK_APP_ENABLED setting. If disabled, resetLockout will not be
run for that user.
Fixes:
138269776
Test: Disable unlocking for apps, get locked out, enter password.
Lockout is reset now.
Change-Id: I5d7bf3abbac7c8982595d5733464a887ab5184ab
Peiyong Lin [Fri, 26 Jul 2019 20:00:03 +0000 (20:00 +0000)]
Merge "Add proper color management into ColorFade." into qt-r1-dev
Selim Cinek [Fri, 26 Jul 2019 18:37:14 +0000 (11:37 -0700)]
Fixed some issues when expanding from the launcher
We didn't exceed the touchslop automatically when
we got a touch from launcher which may have led us
to not expand when the user flung pretty fast.
Additionally could the velocity be very low if
we only had very few touch events, leading
to the panel also not expanding. We allow the panel
to expand easier in those cases.
This also fixed the vibration and the animation when
the fling happens really fast.
Fixes:
137707746
Test: expand from launcher like crazy and observe that it does
Change-Id: Ie7d739f829a0c81352c86071f0e888ecc6c57108
Miguel de Dios [Tue, 23 Jul 2019 20:50:10 +0000 (13:50 -0700)]
oomAdjuster: Change default demotion of renderthreads to default graphics priority
Bug:
137118936
Test: manual - continuously maximize/minimize app and take traces
Change-Id: I9980d93f18132fa4a5653ceb68a2b482f95a22b1
TreeHugger Robot [Fri, 26 Jul 2019 17:36:38 +0000 (17:36 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Adam Seaton [Fri, 26 Jul 2019 17:13:18 +0000 (17:13 +0000)]
Revert "SharedMemory: break Cleaner reference cycle."
Bug:
138422309
This reverts commit
390d9e6a1806626eb521d55a36b1578d28714cc8.
Reason for revert: crashes documented in b/
138422309
Change-Id: I235f727d0fe87c09f6f05dddcae7759bab64dfd8
Adam Seaton [Fri, 26 Jul 2019 17:14:01 +0000 (17:14 +0000)]
Revert "SharedMemory: clear file descriptor when explicitly closed."
Bug:
138422309
This reverts commit
20ab1e34273aa179053f5dc93e70c0191a39e91b.
Reason for revert: crashes documented in b/
138422309
Change-Id: Ic9e33fdb24bad2b30f0eb357d6752c1834df41d5
Hongwei Wang [Wed, 24 Jul 2019 18:23:57 +0000 (11:23 -0700)]
Allow resume of parent activity that launches PiP
For an application that
- Targets pre-Q
- Launches activity A which goes into PiP mode from activity B
We prevents launching activity B from recents since we only allow
top-most visible activities for pre-Q app.
The restriction is first introduced in ag/
6077827
Bug:
137085496
Test: Launch parent activity of PiP from recents
Test: atest ActivityLifecyclePipTests
Test: atest ActivityLifecycleSplitScreenTests
Test: atest WindowProcessControllerTests
Change-Id: I3a4a2c874e401a6d278d1b1b8b3fb5ee8548b8c7
Selim Cinek [Fri, 26 Jul 2019 16:54:09 +0000 (16:54 +0000)]
Merge "Showing the notification icon properly now when the pulse is suppressed" into qt-r1-dev
Vinit Nayak [Fri, 26 Jul 2019 15:56:23 +0000 (15:56 +0000)]
Merge "Prevent key removal on cache update" into qt-r1-dev
Lucas Dupin [Fri, 26 Jul 2019 15:41:09 +0000 (15:41 +0000)]
Merge "Show bouncer when unlocking and not interactive" into qt-r1-dev
Beth Thibodeau [Thu, 25 Jul 2019 20:42:51 +0000 (16:42 -0400)]
Stop timer when notification isn't visible
Fixes:
138261464
Test: manual, atest com.android.systemui.statusbar.notification.row.wrapper.NotificationMediaTemplateViewWrapperTest
Change-Id: Id7b1b586f3ab258fad8670070240ef951080c969
Ruslan Tkhakokhov [Fri, 26 Jul 2019 14:35:37 +0000 (14:35 +0000)]
Merge "Several preferences lost during P->Q B&R" into qt-r1-dev
Ahan Wu [Tue, 23 Jul 2019 12:41:52 +0000 (20:41 +0800)]
Only supports ambient mode when necessary.
We only need support ambient mode on specified devices but we currently
enable this attribute on all devices, that means we need redraw every
time when ambient mode changes. However, we can just show / hide
wallpaper window on the devices which not support ambient transition.
In addition, always use portrait dimension as scissor area since we only
do transition in portrait.
Bug:
138021396
Bug:
137962047
Test: Manually test on F2, C1, B4, S4 and walleye.
Test: Set an image wallpaper, switch between home, aod and lockscreen.
Test: Also use finger print to unlock from aod to home directly.
Test: Rotate to landscape, set a new image wallpaper.
Test: Switch between home, aod and lockscreen.
Change-Id: I36dd49363e81df5a260b10695d90aa9d8c70a45a
Lucas Dupin [Fri, 26 Jul 2019 03:28:28 +0000 (20:28 -0700)]
Show bouncer when unlocking and not interactive
We cannot dismiss the bouncer when the device cannot be unlocked,
otherwise we'll be stuck looking since gatekeeper is not unlocked.
Test: face auth from AOD2 encrypted
Test: face auth from lock screen encrypted
Test: face auth from AOD2
Test: atest BiometricsUnlockControllerTest
Fixes:
138093575
Change-Id: I5c5b89ee9fa1a10cedceaf1ab227e26910beed2a
Selim Cinek [Fri, 26 Jul 2019 03:09:04 +0000 (20:09 -0700)]
Showing the notification icon properly now when the pulse is suppressed
Previously the notification would be hidden so if the user would pull
out the phone from the pocket, they might not see what notification
actually alerted.
Bug:
138336424
Test: add notification while on AOD, block prox sensor, see icon
Change-Id: I8f7bd7a6a0562942ed3e12f28705043722d177e8
Frank Li [Fri, 26 Jul 2019 03:38:06 +0000 (03:38 +0000)]
Merge changes from topic "DNS telemetry" into qt-r1-dev
* changes:
Add one field(sampling_rate_denom) in NetworkDnsEventReported for recording sample rate.
Add NS_R_INTERNAL_ERROR item into NsRcode
Refine the proto dns_resolver.proto
Vinit Nayak [Wed, 24 Jul 2019 18:40:47 +0000 (11:40 -0700)]
Prevent key removal on cache update
Recent thumbnail cache keys were prematurely
deleted from the TaskKeyCache.
Test: atest SystemUITests:TaskKeyLruCacheTest
fixes:
111077107
Change-Id: I4d38ba1f69b4a4b9898e1951b68181f27f92c116
TreeHugger Robot [Fri, 26 Jul 2019 00:22:01 +0000 (00:22 +0000)]
Merge "Force status bar visible when plugin holds it open" into qt-r1-dev
Josh Gao [Thu, 25 Jul 2019 23:54:20 +0000 (16:54 -0700)]
Merge changes I8bdb4c74,I613a7d03 into qt-dev
am:
a09ee2d39f
Change-Id: I6ae25d6b3aa39ef6f9ed1ffcf6fce6e5920a5578
Jorim Jaggi [Thu, 25 Jul 2019 23:49:40 +0000 (16:49 -0700)]
Merge changes from topic "chromehole" into qt-dev
am:
c76ced397b
Change-Id: I5d77bec31af7f63331ce64e5e906a8df1748d387
TreeHugger Robot [Thu, 25 Jul 2019 23:41:51 +0000 (23:41 +0000)]
Merge changes I8bdb4c74,I613a7d03 into qt-dev
* changes:
SharedMemory: clear file descriptor when explicitly closed.
SharedMemory: break Cleaner reference cycle.
Jorim Jaggi [Thu, 25 Jul 2019 23:07:16 +0000 (23:07 +0000)]
Merge changes from topic "chromehole" into qt-dev
* changes:
Only consider gone for layout if parent is gone for layout
Reland "Prevent dismissing starting window when reopening app"
Bill Yi [Thu, 25 Jul 2019 23:00:04 +0000 (16:00 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I378efe4ecf659edc7846eee5e6bd55416c6c9bf9
Selim Cinek [Thu, 25 Jul 2019 22:59:14 +0000 (22:59 +0000)]
Merge "Fading away the lockscreen wallpaper properly" into qt-r1-dev
Frank Li [Mon, 22 Jul 2019 15:13:03 +0000 (08:13 -0700)]
Add one field(sampling_rate_denom) in NetworkDnsEventReported for recording sample rate.
The sample rate of DNS stats(to statsd) is 1/sampling_rate_denom.
Bug:
119862317
Test: ./out/host/linux-x86/bin/statsd_testdrive 116
Merged-In: Iab542b32a8a18ae0bdbd8e005c430a876f056806
Merged-In: I9d37cac0bca53b3d7c6751ca69c1d304dfe17098
(cherry picked from commit
60d4f1a5bdc2a8412e285baf74e0e9a54b8c42d2)
Change-Id: If380a730942195db91a66944f103674c539ca7ad
Bernie Innocenti [Wed, 26 Jun 2019 08:39:57 +0000 (01:39 -0700)]
Add NS_R_INTERNAL_ERROR item into NsRcode
Bug:
119862317
Test: ./out/host/linux-x86/bin/statsd_testdrive 116
Merged-In: I023ff5dc0ae2efe45f81494929640c9b96821a0d
Merged-In: I0cf28032f8079c64253ed3f90fcf9d4705a5b492
(cherry picked from commit
83ef1697e3fdebf03c0a94fa1c41fa2ca053d669)
Change-Id: I106f73e8b0251bc7a64c68dfb450269ac7cd4feb
Frank Li [Tue, 18 Jun 2019 12:45:25 +0000 (05:45 -0700)]
Refine the proto dns_resolver.proto
1. refine the enum type Transport
The name of 1st enum value is TRANSPORT_UNKNOWN
2. remove the wrong character "CR"
Bug:
119862317
Test: ./out/host/linux-x86/bin/statsd_testdrive 116
Merged-In: Iaf7abac6170d5818a263392731069d7bf021d981
Merged-In: I8f0e7449036062ecc3827e477ced325d84c1bf54
(cherry picked from commit
aee26c026c203a50ffb3b28baaf9aace73f335c7)
Change-Id: Ie33a2ea58d6f39345d0f1d4141eea8b9c458dcfc
TreeHugger Robot [Thu, 25 Jul 2019 21:14:34 +0000 (21:14 +0000)]
Merge "Preventing system crash when pin slice fails" into qt-r1-dev
Josh Gao [Thu, 25 Jul 2019 20:54:23 +0000 (13:54 -0700)]
SharedMemory: clear file descriptor when explicitly closed.
We run the Cleaner in close, but after the fix in commit
6ca916a6, this
no longer clears the value stored in the FileDescriptor, which means
that subsequent operations on an explicitly closed SharedMemory will
operate on a bogus fd number. Clearing the FileDescriptor value in close
is sufficient, because Cleaner.clean is idempotent, and the only other
case where it executes is when the FileDescriptor is phantom reachable,
which means no one can access it to get its integer value.
Bug: http://b/
138392115
Bug: http://b/
138323667
Test: treehugger
Change-Id: I8bdb4c745466532a0712976416184c53fcf0dbf6
(cherry picked from commit
a7641806ddf1099239632d53c629c062ff2168f4)
TreeHugger Robot [Thu, 25 Jul 2019 20:39:19 +0000 (20:39 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Thu, 25 Jul 2019 20:27:41 +0000 (20:27 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Thu, 25 Jul 2019 20:23:24 +0000 (20:23 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Thu, 25 Jul 2019 20:20:33 +0000 (20:20 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Kai Shi [Thu, 25 Jul 2019 20:03:45 +0000 (20:03 +0000)]
Merge "WifiMetrics: add per-band Tx and Rx speed histogram" into qt-r1-dev
Selim Cinek [Wed, 24 Jul 2019 22:32:17 +0000 (15:32 -0700)]
Fading away the lockscreen wallpaper properly
Previously the duration and delay was wrong. This
now properly overrided the fading away duration to
apply everywhere.
Fixes:
138305791
Test: add lockscreen wallpaper observe normal fading
Change-Id: Ib93e6647968047a8690201e01bcb13a3377b110d
Josh Gao [Wed, 24 Jul 2019 22:40:57 +0000 (15:40 -0700)]
SharedMemory: break Cleaner reference cycle.
Previously, the Cleaner we create to close the ashmem file descriptor
used a thunk that held a strong reference to the FileDescriptor we
wanted to clean up, which prevented the Cleaner from ever running.
Break the cycle by storing the integer value of the file descriptor
instead.
Bug: http://b/
138323667
Test: treehugger
Change-Id: I613a7d035892032f9567d59acb04672957c96011
(cherry picked from commit
6ca916a657cd56158212a57601108716ce78cbe8)
Evan Laird [Thu, 25 Jul 2019 19:04:38 +0000 (15:04 -0400)]
Send ChannelDialogController finish message on dismiss
NotificationInfo keeps track of whether or not it's presenting the
channel dialog editor, but was missing messages from the "tap outside"
dismissal of the dialog and would not present the dialog on subesquent
taps. This change makes the controller send the finish message on any
dismiss event
Fixes:
135484257
Test: atest ChannelEditorDialogControllerTest; visual
Change-Id: I25a124e4d875c146024a2051cd7c2e896d801c23
James O'Leary [Thu, 25 Jul 2019 19:00:16 +0000 (15:00 -0400)]
Fix handles redrawing when not visible
Bug:
137877559
Test: Verify CornerHandleView.onDraw() is no longer called when swiping
along navbar
Change-Id: I10b89fc2d88f93bbbb86bf60db15869d6480a3e2