OSDN Git Service
Winson Chung [Thu, 31 May 2018 22:51:47 +0000 (15:51 -0700)]
Update the task stack state when resizing the tasks after the PiP animation
- When the animation into PiP ends, we clear the task stack state and
request a layout prior to resizing the the stack to update the task
bounds to the stack bounds. This triggers a relayout from the client,
which fetches the new configuration prior to handling the PiP mode/config
change scheduled as a part of the PiP mode change.
We can instead update the task stack state when we resize the tasks to
ensure that we don't relayout multiple times.
Bug:
75995355
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests
Change-Id: I58a6e30651f16b85ec160e977554b8d091b461ec
TreeHugger Robot [Wed, 30 May 2018 20:26:45 +0000 (20:26 +0000)]
Merge "Fixed an issue where group children had rounded corners" into pi-dev
Robert Shih [Wed, 30 May 2018 17:43:58 +0000 (17:43 +0000)]
Merge "MediaCodec.CryptoInfo: expose subsample encryption pattern" into pi-dev
Selim Cinek [Wed, 30 May 2018 16:55:36 +0000 (09:55 -0700)]
Fixed an issue where group children had rounded corners
Children that were close to the clipping boundary before
were not being reset when they were added as a child.
This could happen with auto groups when collapsed or
with heads up notifications.
Change-Id: I873b65da6778840c4542b4324f69d2ec9b5c1dc5
Fixes:
80276391
Test: add autobundleable children while collapsed, observe no corners
Andrii Kulian [Wed, 30 May 2018 14:50:18 +0000 (14:50 +0000)]
Merge changes from topic "rotation_config_update_fixes" into pi-dev
* changes:
Force-update the orientation of before sending to client
Update visibility and config at the same time
Don't update configuration for invisible windows
Don't let top activity to influence the orientation
Tyler Gunn [Wed, 30 May 2018 14:24:23 +0000 (14:24 +0000)]
Merge "Update onDeregistered docs to make capability change expectations clear." into pi-dev
Nicolas Geoffray [Wed, 30 May 2018 11:45:46 +0000 (11:45 +0000)]
Merge "More greylisted APIs." into pi-dev
Nicolas Geoffray [Wed, 30 May 2018 09:51:48 +0000 (10:51 +0100)]
More greylisted APIs.
bug:
80447248
bug:
80444865
bug:
80441306
bug:
80441307
bug:
80440630
Test: m
Change-Id: I8be93884ad770f885fed1afb3864ea5322902bb1
Michael Wright [Wed, 30 May 2018 09:28:22 +0000 (09:28 +0000)]
Merge "Allow for any default vibration intensity level." into pi-dev
TreeHugger Robot [Wed, 30 May 2018 05:14:35 +0000 (05:14 +0000)]
Merge "Cancel dark animation when new one arrives" into pi-dev
TreeHugger Robot [Wed, 30 May 2018 04:30:49 +0000 (04:30 +0000)]
Merge "Fix unwanted PIP window dismissal when moving to the bottom" into pi-dev
TreeHugger Robot [Wed, 30 May 2018 03:26:22 +0000 (03:26 +0000)]
Merge "Update mGlobalBluetoothA2dpOn when active device changed" into pi-dev
TreeHugger Robot [Wed, 30 May 2018 03:08:19 +0000 (03:08 +0000)]
Merge "Add default phone/sms to battery whitelist apps." into pi-dev
Jakub Pawlowski [Wed, 30 May 2018 03:05:21 +0000 (20:05 -0700)]
[automerger skipped] Fix bad type for txPower in PeriodicAdvertisingReport serialization am:
459888be84 am:
bc45dc9536 -s ours
am:
2d6209f71d -s ours
Change-Id: I0b7af0f19142f0aa5a039de6db22f292d16c76df
TreeHugger Robot [Wed, 30 May 2018 01:55:18 +0000 (01:55 +0000)]
Merge "Do not request focus during wake and unlock" into pi-dev
Jakub Pawlowski [Wed, 30 May 2018 01:49:17 +0000 (18:49 -0700)]
[automerger skipped] Fix bad type for txPower in PeriodicAdvertisingReport serialization am:
459888be84
am:
bc45dc9536 -s ours
Change-Id: I087f8de352c5c61db32d95ee8c47b6ab0bd171e2
Sungsoo Lim [Wed, 23 May 2018 15:28:27 +0000 (00:28 +0900)]
Update mGlobalBluetoothA2dpOn when active device changed
Also do not setForceUse when a2dp config without change.
Bug:
79982460
Test: manual
Change-Id: I789b03c00366f9fd78fd3a0305fdf2c11dfc23d2
TreeHugger Robot [Wed, 30 May 2018 01:29:40 +0000 (01:29 +0000)]
Merge "Fixed an issue where the reply icon was disabled" into pi-dev
TreeHugger Robot [Wed, 30 May 2018 00:52:32 +0000 (00:52 +0000)]
Merge "Fixed the animations of Messaging Layout, leading to overlaps" into pi-dev
Jakub Pawlowski [Wed, 30 May 2018 00:50:07 +0000 (17:50 -0700)]
Fix bad type for txPower in PeriodicAdvertisingReport serialization
am:
459888be84
Change-Id: Ibccfb97e0b41a9ef6af9fcb1da23870dbff7f9b9
Lucas Dupin [Wed, 30 May 2018 00:26:35 +0000 (17:26 -0700)]
Cancel dark animation when new one arrives
Not doing so causes weird artifacts when power button is pressed
multiple times in a row and StackScroller would have the wrong
state if unlocked with fingerprint while animation is still running.
Test: lock from lock screen, fp before animation ends
Test: press power multiple times on lock screen, look at smooth animation
Change-Id: I381bf367533983595cd22ff080f51465f6c0f750
Fixes:
79747888
Selim Cinek [Wed, 30 May 2018 00:01:05 +0000 (17:01 -0700)]
Fixed an issue where the reply icon was disabled
Because it was disabled by an earlier update, a subsequent update
needs to enable the reply icon again, as the pending intent
might be valid again.
Change-Id: Ic562b399184e37c3870e1da7dc5d15baca43dc54
Fixes:
80250615
Test: add multiple messages where each one cancels the previous pendinging intent, observe clickable reply icon
Tracy Zhou [Tue, 29 May 2018 22:36:16 +0000 (15:36 -0700)]
Fix unwanted PIP window dismissal when moving to the bottom
Display#getSize() returns screen size excluding certain system decor
elements. We should get a more accurate size using Display#getRealSize()
minus bottom inset instead for calculating whether the PIP window
should be dismissed.
Fixes:
80367557
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests and manual test
Change-Id: I20cd8ccfa53bd7cc1cb7176280a01dbcb64b5745
TreeHugger Robot [Tue, 29 May 2018 23:23:18 +0000 (23:23 +0000)]
Merge "Update call log permission group icon." into pi-dev
Michael Wright [Fri, 25 May 2018 14:13:36 +0000 (15:13 +0100)]
Allow for any default vibration intensity level.
Because we can't always create the range of effects we'd like, we may
need different default intensity levels for different devices. This
works fine for prebaked effects, but for application defined amplitudes
we need to provide a scaling function. In addition, this scaling
function should leave amplitude values untouched in the default state so
that application developers produce the effects they expect.
Bug:
80275800
Test: manual
Merged-In: Ibb552ddfa60891853ebcb1a5567ed6745bb5defe
Change-Id: Ibb552ddfa60891853ebcb1a5567ed6745bb5defe
Lucas Dupin [Tue, 29 May 2018 22:41:03 +0000 (15:41 -0700)]
Do not request focus during wake and unlock
Focus was being required because the expansion of the panel
would trigger onFullyShown. Bouncer shouldn't need any
translation during WAKE_AND_UNLOCK.
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManagerTest.java
Test: go/sysui-bouncer-tests
Change-Id: I6d5c17ba89e14384859cf7fc91ca5cc2815dbfd9
Fixes:
80345339
Jakub Pawlowski [Fri, 8 Dec 2017 06:56:03 +0000 (22:56 -0800)]
Fix bad type for txPower in PeriodicAdvertisingReport serialization
Bug:
69634768
Test: compilation
Change-Id: Icedfbaf1ba933637e935ada0fd98aea42c73f2b2
Merged-In: Icedfbaf1ba933637e935ada0fd98aea42c73f2b2
Fan Zhang [Tue, 29 May 2018 17:55:51 +0000 (10:55 -0700)]
Add default phone/sms to battery whitelist apps.
This is to prevent essential default apps from being restricted in using
battery in the background.
Change-Id: Iac9db9c425a477680e41f73b2c0e7bc4e161ce9e
Merged-In: Iac9db9c425a477680e41f73b2c0e7bc4e161ce9e
Fixes:
76435804
Bug:
80428049
Test: robotests
Selim Cinek [Thu, 24 May 2018 23:37:22 +0000 (16:37 -0700)]
Fixed the animations of Messaging Layout, leading to overlaps
The animations could go wild at times, leading to overlapping
messages and ugly renderings. This improves the animations
overall and fixes those cases.
Test: add messages, observe animations
Fixes:
78114531
Fixes:
80409521
Change-Id: I6f21b87706ccc2e85f1edbd9489e4bf7e686d7d8
Makoto Onuki [Tue, 29 May 2018 22:12:26 +0000 (22:12 +0000)]
Merge "Disable battery saver tron log by default" into pi-dev
Christopher Tate [Fri, 25 May 2018 22:15:44 +0000 (15:15 -0700)]
Guard pre-O apps from malicious startForegroundService()
Don't enforce the startForegroundService() requirement to transition to
foreground when the app hosting the service doesn't yet target the API
level at which this semantic was introduced.
Bug:
79377529
Test: manual (ApiDemos is pre-O)
Test: atest CtsAndroidAppTestCases
Change-Id: Ib0b970211d4ee6a86e22c89aff47b05403907ed5
TreeHugger Robot [Tue, 29 May 2018 21:55:52 +0000 (21:55 +0000)]
Merge "Extend startForegroundService() fg transition timeout to 10 seconds" into pi-dev
Chad Brubaker [Tue, 29 May 2018 21:51:33 +0000 (21:51 +0000)]
Merge "Remove downgrade check for targetSandboxLevel" into pi-dev
TreeHugger Robot [Tue, 29 May 2018 21:33:03 +0000 (21:33 +0000)]
Merge "Enable WM.DEBUG_WALLPAPER_LIGHT logs" into pi-dev
Fan Zhang [Tue, 29 May 2018 21:22:16 +0000 (14:22 -0700)]
Update call log permission group icon.
Change-Id: I605ece95cd29405b9d63692d038f36390ac367ef
Fixes:
78230210
Test: visual
TreeHugger Robot [Tue, 29 May 2018 21:20:24 +0000 (21:20 +0000)]
Merge "Add per-device defaults for VIBRATE_WHEN_RINGING" into pi-dev
Christopher Tate [Fri, 25 May 2018 20:12:12 +0000 (13:12 -0700)]
Extend startForegroundService() fg transition timeout to 10 seconds
Change-Id: I5e09205218e5ddb2ff536f7f5c20ac31c0c03bb1
Fixes:
80309073
Test: atest CtsAndroidAppTestCases
TreeHugger Robot [Tue, 29 May 2018 20:35:54 +0000 (20:35 +0000)]
Merge "[QS] Disallow TYPE_VIEW_SELECTED events" into pi-dev
TreeHugger Robot [Tue, 29 May 2018 20:26:23 +0000 (20:26 +0000)]
Merge "Update quick scrub tip according to the latest mock." into pi-dev
Chavi Weingarten [Tue, 29 May 2018 20:20:20 +0000 (20:20 +0000)]
Merge "Add animation to running animation list before starting." into pi-dev
TreeHugger Robot [Tue, 29 May 2018 20:09:21 +0000 (20:09 +0000)]
Merge "Fix for missing location icon" into pi-dev
TreeHugger Robot [Tue, 29 May 2018 19:45:35 +0000 (19:45 +0000)]
Merge "Fix regression in swiping over rotation button." into pi-dev
Tracy Zhou [Fri, 25 May 2018 07:04:57 +0000 (00:04 -0700)]
Update quick scrub tip according to the latest mock.
Mock: https://docs.google.com/presentation/d/1TCp1mREgsFAWq4hCnUaSRCpaqvDbzCVkN1mJuRMylIg/edit#slide=id.g3b3fe84fa7_15_0
Screenshot: https://screenshot.googleplex.com/HCVDEVHbdNU
Fixes:
79945911
Test: Manual test
Change-Id: I039e6d6be1b782281f7251a4bee1f3bf2bf03da3
Glenn Kasten [Tue, 29 May 2018 19:09:31 +0000 (19:09 +0000)]
Merge "Resolve conflict between javadoc and CDD re: audio output" into pi-dev
Scott Main [Tue, 29 May 2018 18:24:35 +0000 (18:24 +0000)]
Merge "Delete static versions of _book.yaml and _project.yaml." into pi-dev
TreeHugger Robot [Tue, 29 May 2018 18:22:16 +0000 (18:22 +0000)]
Merge "Enable systemui_theme feature flag" into pi-dev
Scott Main [Thu, 3 May 2018 20:47:46 +0000 (13:47 -0700)]
Delete static versions of _book.yaml and _project.yaml.
These files are used by devsite only, so are maintained in piper.
bug:
79155333
test: make ds-docs (human review)
Change-Id: I5d5662a2a401872a669dba0916b20a79bcfca7ae
(cherry picked from commit
9e64abe7d79ef6abdd9c2d65e5f3bead9138cdb4)
Yu-Han Yang [Tue, 29 May 2018 18:02:31 +0000 (18:02 +0000)]
Merge "Catch IllegalArgumentException when calling LocationManager#requestLocationUpdate" into pi-dev
Daniel Sandler [Tue, 29 May 2018 16:46:57 +0000 (16:46 +0000)]
Merge "Remove direct-share target row animations and limit to one row." into pi-dev
TreeHugger Robot [Tue, 29 May 2018 15:25:45 +0000 (15:25 +0000)]
Merge "WM: Make maxAspectRatio work with display cutouts" into pi-dev
Adrian Roos [Mon, 28 May 2018 16:55:38 +0000 (18:55 +0200)]
WM: Make maxAspectRatio work with display cutouts
Fixes an issue where the max aspect ratio was not correctly calculated
if there was a display cutout.
The issue was that the max aspect ratio logic assumed that nothing ever
applies a top inset (n.b. the status bar is ignored for this inset).
This is no longer true with display cutouts, which
cut into the app bounds from the top.
To make things work, we now need to grow the bounds for the app window
by that inset. Later on, the top part will be trimmed again for the
bounds reported to the app. Note that we cannot outright discard the
top part, or colored bars would cease to work.
Change-Id: I53925196a6a41736fc4748b12bbc3b8a9b0d174b
Fixes:
80248462
Test: atest AspectRatioTests
TreeHugger Robot [Tue, 29 May 2018 15:18:04 +0000 (15:18 +0000)]
Merge "Fixes a NPE in search manager in slice CTS tests." into pi-dev
Wale Ogunwale [Tue, 29 May 2018 14:16:05 +0000 (07:16 -0700)]
Enable WM.DEBUG_WALLPAPER_LIGHT logs
To help debug b/
79664644
Bug:
79664644
Test: builds
Change-Id: I9602205bb8a7ec0427f4102f4c5c52c95cc732d4
Dan Sandler [Wed, 23 May 2018 06:13:51 +0000 (02:13 -0400)]
Remove direct-share target row animations and limit to one row.
The animation---which was responsible for causing relayouts
that would in turn bind views, which involved package
manager roundtrips---would lock out interaction with the rest of
the share sheet for at least 400ms while the animation ran
(often much longer if services were slow to start or respond).
Now the main UI is never blocked, and direct share targets
can take as long as they like (up to 2sec) before appearing.
It's really fast now, basically.
Bug:
67622422
Bug:
63521992
Test: atest com.android.internal.app.ChooserActivityTest
Change-Id: I21826e282226f2b2ce6d3d1b5862dbfc449f5918
Amith Yamasani [Tue, 29 May 2018 03:50:48 +0000 (20:50 -0700)]
Fix for missing location icon
OpEntry.duration was being used to indicate that the
operation was still running if -1 is returned. A recent
change caused a regression.
Adding a new mRunning field in OpEntry to explicitly
hold the running state, even when partial duration is
updated.
Change-Id: Ib29f4c903f990aaa202e84f964959aedfc24abdb
Fixes:
80242152
Test: atest FrameworksServicesTests:AppOpsActiveWatcherTest
Test: Launch maps and verify the location icon is visible
in the status bar
Adrian Roos [Mon, 28 May 2018 14:40:20 +0000 (14:40 +0000)]
Merge "WindowInsets: Never dispatch negative insets" into pi-dev
Hongwei Wang [Sat, 26 May 2018 23:55:19 +0000 (23:55 +0000)]
Merge "Dispatch volume key event when mHandleVolumeKeysInWM is set" into pi-dev
TreeHugger Robot [Sat, 26 May 2018 09:05:14 +0000 (09:05 +0000)]
Merge "Dump proxy debug info when exceeding proxy limit." into pi-dev
Yu-Han Yang [Thu, 24 May 2018 17:29:39 +0000 (10:29 -0700)]
Catch IllegalArgumentException when calling
LocationManager#requestLocationUpdate
- Cannot depend on LocationManager#isProviderEnabled, since it always returns
false for FLP.
Bug:
80199046
Change-Id: I9c85b8a9468bceca0620c5aff16655ed633ee36b
Fixes:
80199046
Test: Manually added a CTS test to trigger the flow in AOSP build on
device, and successfully caught the exception when requesting location
updates from NLP.
TreeHugger Robot [Sat, 26 May 2018 02:23:25 +0000 (02:23 +0000)]
Merge "Added TestApi to ActivityInfo.isTranslucentOrFloating" into pi-dev
Winson Chung [Sat, 26 May 2018 01:25:52 +0000 (18:25 -0700)]
Fix regression in swiping over rotation button.
- Only send the hit target for visible buttons, otherwise we will defer
starting the recents animation when swiping over them even if they are
invisible.
Bug:
80320221
Test: Swipe up over hidden rotation button, ensure we don't defer the
animation start
Change-Id: Ie6126eb25ca6cdda1dce2dccec92d83b8aca0563
Robert Shih [Thu, 17 May 2018 23:51:19 +0000 (16:51 -0700)]
MediaCodec.CryptoInfo: expose subsample encryption pattern
Bug:
31215085
Test: com.google.android.media.gts.WidevineMp4TempTests
Change-Id: I6965adc646684053633530e39258b171724b34bc
Winson Chung [Sat, 26 May 2018 00:26:59 +0000 (00:26 +0000)]
Merge "Tweak quickscrub bar visuals" into pi-dev
chaviw [Fri, 25 May 2018 23:18:42 +0000 (16:18 -0700)]
Add animation to running animation list before starting.
The animation needs to be added to the animation list before starting
to ensure it's in the list before onAnimationEnd is called. Specifically,
this can happen if the duration is 0 since the animation will complete
very quickly. If that occurs, the animation will be added to the list
after it's been "removed" which means there will continue to be a reference
to that animation even after it's completed.
Also fix a few other issues:
1. Don't create a dim layer if stopDim is called. This causes excess
layers to be created, just so they can be destroyed.
2. Add try/catch to dim layer create so the system doesn't crash if the
layer fails to create.
Test: Enter split screen and move divider so dim layers are show and
hidden. There are no longer excess dim layers being created and leashes
are being properly dereferenced.
Fixes:
80206408
Change-Id: I7198bd5e972fce32633869697a4d26f51e675d48
Michael Wright [Fri, 25 May 2018 23:31:20 +0000 (00:31 +0100)]
Add per-device defaults for VIBRATE_WHEN_RINGING
Some devices have hand-crafted, artisanal haptics to go along with the
dulcet tones of the ringer. When making such a device, we really want
our users to have the opportunity to appreciate the fine buzzes and
clicks we spent so long orchestrating, and so this makes it possible to
default VIBRATE_WHEN_RINGING on.
Bug:
79212179
Test: manual
Change-Id: I52bf133345bd3e8b09b591b9bac4711d0d485094
TreeHugger Robot [Fri, 25 May 2018 23:01:53 +0000 (23:01 +0000)]
Merge "Add cleartextTrafficPermitted to MediaFrameworkTest" into pi-dev
TreeHugger Robot [Fri, 25 May 2018 22:10:20 +0000 (22:10 +0000)]
Merge "Final cleanups to permission slices" into pi-dev
Makoto Onuki [Fri, 25 May 2018 21:51:21 +0000 (14:51 -0700)]
Disable battery saver tron log by default
Test: Make sure not logs are written on: logcat -b events | grep -w 1302
Test: Re-anble tron log with settings put global battery_saver_constants send_tron_log=true
and make sure logs are written on: logcat -b events | grep -w 1302
Bug:
74742911
Change-Id: I1f4159b7194fbc29be7f76669aa4e53084ed27e7
Selim Cinek [Fri, 25 May 2018 21:33:42 +0000 (21:33 +0000)]
Merge "Fix IME displayed behind the notification shade" into pi-dev
TreeHugger Robot [Fri, 25 May 2018 21:05:55 +0000 (21:05 +0000)]
Merge "DO NOT MERGE Update volume dialog colors" into pi-dev
Winson Chung [Thu, 24 May 2018 21:21:57 +0000 (14:21 -0700)]
Tweak quickscrub bar visuals
- Thicker asset, scale track slightly on gesture start/end
Bug:
79945202
Test: Quickscrub and see changes
Change-Id: Ic7ae11981ae79cd909d919a326ecc5126cbb399f
TreeHugger Robot [Fri, 25 May 2018 20:16:54 +0000 (20:16 +0000)]
Merge "Apply tint to the Volume Dialog primary and supplement icon" into pi-dev
Selim Cinek [Fri, 25 May 2018 20:06:52 +0000 (20:06 +0000)]
Merge "Fixed the behavior of group conversations when targeting P" into pi-dev
Julia Reynolds [Wed, 23 May 2018 13:45:53 +0000 (09:45 -0400)]
DO NOT MERGE Update volume dialog colors
Test: manual
Fixes:
79699643
Change-Id: I73bde7f30a9aad5b7c084d37987f808df342cc75
Jason Monk [Fri, 25 May 2018 19:13:16 +0000 (15:13 -0400)]
Final cleanups to permission slices
- Add icons to the right and shortcut modes
- Add color
- Make sure dialogs are secure
Test: manual
Bug:
79960669
Change-Id: I6d251b0ea5bd3c1b3eed32b184e4aae22c52ffb5
Chad Brubaker [Fri, 25 May 2018 19:36:36 +0000 (12:36 -0700)]
Remove downgrade check for targetSandboxLevel
This is causing issues with apps adopting Instant Apps and the security
requirements that lead to downgrade being disallowed were either
reverted in late O or moved into target API checks.
Change-Id: Ide3913091788d6a37bf2d17ca22769f6bbc6d3c7
Fixes:
80307033
Test: Install v2 sandbox APK, try and upgrade with a v1 sandbox APK.
Steven Wu [Fri, 25 May 2018 19:20:10 +0000 (15:20 -0400)]
Fixes a NPE in search manager in slice CTS tests.
Test: atest CtsSliceTestCases
Change-Id: I8d25dd5c216a4e2fa99b2a32bce689bee767dcfa
Fixes:
76211625
TreeHugger Robot [Fri, 25 May 2018 19:17:33 +0000 (19:17 +0000)]
Merge "Only user whitelist gets allow_while_idle_unrestricted" into pi-dev
Robert Shih [Fri, 25 May 2018 18:42:22 +0000 (11:42 -0700)]
Add cleartextTrafficPermitted to MediaFrameworkTest
Bug:
75276616
Test: this
Change-Id: I520950a148658e9f1602e1b4657dd0273bdaf0e2
TreeHugger Robot [Fri, 25 May 2018 18:51:40 +0000 (18:51 +0000)]
Merge "Do not truncate onboarding tip text." into pi-dev
Martijn Coenen [Fri, 25 May 2018 17:28:26 +0000 (19:28 +0200)]
Dump proxy debug info when exceeding proxy limit.
If a process gets killed because it sends too many proxies,
dump proxy debug info so we can see what types of interfaces
it sends.
Bug:
71353150
Test: builds, output generated
Change-Id: I3a7787cb3fa73b0b4ad223b18cd79f44e22b9ef5
Rohan Shah [Fri, 25 May 2018 17:51:22 +0000 (10:51 -0700)]
[QS] Disallow TYPE_VIEW_SELECTED events
QS is announcing all of its items due to setSelected being called on the
TilePage.
Fixed by disable a11y on the page until setSelected is done. This will
cover all fringe cases of setSelected being passed along down the
hierarchy and additional a11y events being sent on child views.
Test: Manually verified that labels aren't announced
Change-Id: I76757b1fb797ba646e8e57ef389f78593aad0f18
Fixes:
80003207
TreeHugger Robot [Fri, 25 May 2018 18:06:07 +0000 (18:06 +0000)]
Merge "Support rtl for quick scrub onboarding text." into pi-dev
sanryhuang [Fri, 25 May 2018 04:34:31 +0000 (12:34 +0800)]
Fix IME displayed behind the notification shade
The Back key isn't dispatched to IME. Refine the logic of onKeyPreIme.
Test: manual test
Test: atest
Change-Id: I6cf5402e70e91d74e5843beb390b306146159e4d
Fixes:
80250543
Wale Ogunwale [Fri, 25 May 2018 01:25:25 +0000 (18:25 -0700)]
Added TestApi to ActivityInfo.isTranslucentOrFloating
This would be use to determine the right activity state during CTS
test for products that have windowSwipeToDismiss set.
Also, dump ActivityRecord.fullscreen to proto for the same reason.
Bug:
76207986
Bug:
79167358
Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerAssistantStackTests
Change-Id: Iadc088e9129be088b8a083ebbafd8d20fe26b673
Selim Cinek [Wed, 23 May 2018 23:46:05 +0000 (16:46 -0700)]
Fixed the behavior of group conversations when targeting P
Fixes an issue where the group conversation heuristic was still
applied even when the app is targeting P. We're now following
the isGroupConversation completely and only do the migration
for apps targeting < P.
Change-Id: I471d58e8a8f5e6270f0dcce8691d08a2bdd1c582
Fixes:
78450835
Test: add messaging notification, observe correct display
TreeHugger Robot [Fri, 25 May 2018 15:59:07 +0000 (15:59 +0000)]
Merge "Fix monkey crash in smart selection animation" into pi-dev
TreeHugger Robot [Fri, 25 May 2018 15:27:43 +0000 (15:27 +0000)]
Merge "Camera: Clarify multi-camera id selection logic" into pi-dev
Tyler Gunn [Tue, 22 May 2018 22:01:43 +0000 (15:01 -0700)]
Update onDeregistered docs to make capability change expectations clear.
Updating the onDeregistered docs to make it clear that the ImsService
must report any feature capability changes to the framework prior to
de-registration.
Bug:
73076695
Test: Docs only change.
Change-Id: Ib9bc88bfb43670f04c8afde36d0947255399397a
Mihai Popa [Fri, 25 May 2018 10:57:17 +0000 (11:57 +0100)]
Fix monkey crash in smart selection animation
In Id65443e93d277c106ea955c867d39e94192cc55d we fixed a monkey crash
happening when the smart selected text had changed while the smart
selection animation was running. However, the change introduced a new
crash, happening when the smart selection result was null. This CL fixes
it, and lets startSelectionActionMode run even when the result is null,
as there seems to be some logic there which should happen in this case.
Bug:
80244201
Test: none
Change-Id: I7f0304446dec85578bdcd5011d2e9ea2737d3c36
(cherry picked from commit
a9d27ea8692dbf6c6def6bd21754af0ad67d1675)
Merged-in: I7f0304446dec85578bdcd5011d2e9ea2737d3c36
Nicolas Geoffray [Fri, 25 May 2018 13:46:31 +0000 (13:46 +0000)]
Merge "Add one telephony API to light grey." into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 13:30:19 +0000 (13:30 +0000)]
Merge "More light grey apis." into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 13:29:55 +0000 (13:29 +0000)]
Merge "Add SharedPreferencesImpl;->startLoadFromDisk()V to light grey." into pi-dev
Adrian Roos [Thu, 24 May 2018 16:20:51 +0000 (18:20 +0200)]
WindowInsets: Never dispatch negative insets
Bug:
80204753
Test: atest ViewRootImplTest
Change-Id: Idace95ae57c6a3a1667b95ce8c3ac7d2bfe06f94
TreeHugger Robot [Fri, 25 May 2018 10:49:18 +0000 (10:49 +0000)]
Merge "Add more light grey APIs." into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 09:46:32 +0000 (10:46 +0100)]
More light grey apis.
bug:
80270434
Test: m
Change-Id: I4877a782f9f8c0599de189d28df876d60d2c7b3d
Nicolas Geoffray [Fri, 25 May 2018 08:10:55 +0000 (09:10 +0100)]
Add more light grey APIs.
bug:
80256659
Test: m
Change-Id: Ic2a0ecffcd039cb5474625e39264714b9eed768a
TreeHugger Robot [Fri, 25 May 2018 08:57:23 +0000 (08:57 +0000)]
Merge "New Autofill field: FIELD_AUTOFILL_SESSION_ID" into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 08:01:06 +0000 (09:01 +0100)]
Add SharedPreferencesImpl;->startLoadFromDisk()V to light grey.
bug:
80091112
Test: m
Change-Id: Ia7c0cf66408fb241b029778d248dd3b7e324727a
Nicolas Geoffray [Fri, 25 May 2018 07:50:22 +0000 (07:50 +0000)]
Merge "Add some telephony API to light grey." into pi-dev