Commit Graph

367911 Commits

Author SHA1 Message Date
TreeHugger Robot
287d4327cd Merge "Fix regression in swiping over rotation button." into pi-dev 2018-05-29 19:45:35 +00:00
Glenn Kasten
a5d8c3718d Merge "Resolve conflict between javadoc and CDD re: audio output" into pi-dev 2018-05-29 19:09:31 +00:00
Scott Main
c09501807a Merge "Delete static versions of _book.yaml and _project.yaml." into pi-dev 2018-05-29 18:24:35 +00:00
TreeHugger Robot
14e605d7e9 Merge "Enable systemui_theme feature flag" into pi-dev 2018-05-29 18:22:16 +00:00
Scott Main
ffcc3f2efb 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 9e64abe7d7)
2018-05-29 18:20:14 +00:00
Yu-Han Yang
3bc533d22f Merge "Catch IllegalArgumentException when calling LocationManager#requestLocationUpdate" into pi-dev 2018-05-29 18:02:31 +00:00
Daniel Sandler
d8f3889b28 Merge "Remove direct-share target row animations and limit to one row." into pi-dev 2018-05-29 16:46:57 +00:00
TreeHugger Robot
ab4670351d Merge "WM: Make maxAspectRatio work with display cutouts" into pi-dev 2018-05-29 15:25:45 +00:00
Adrian Roos
24be34dcc9 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
2018-05-29 15:25:05 +00:00
TreeHugger Robot
d0545395df Merge "Fixes a NPE in search manager in slice CTS tests." into pi-dev 2018-05-29 15:18:04 +00:00
Dan Sandler
62aad00c6c 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
2018-05-29 13:58:10 +00:00
Adrian Roos
8997b7e4c9 Merge "WindowInsets: Never dispatch negative insets" into pi-dev 2018-05-28 14:40:20 +00:00
Hongwei Wang
6de8729657 Merge "Dispatch volume key event when mHandleVolumeKeysInWM is set" into pi-dev 2018-05-26 23:55:19 +00:00
TreeHugger Robot
879d09f946 Merge "Dump proxy debug info when exceeding proxy limit." into pi-dev 2018-05-26 09:05:14 +00:00
Yu-Han Yang
e684ddac67 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.
2018-05-25 19:57:44 -07:00
TreeHugger Robot
9d19487b1c Merge "Added TestApi to ActivityInfo.isTranslucentOrFloating" into pi-dev 2018-05-26 02:23:25 +00:00
Winson Chung
c6c9d4052f 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
2018-05-25 18:25:52 -07:00
Winson Chung
e2b602018f Merge "Tweak quickscrub bar visuals" into pi-dev 2018-05-26 00:26:59 +00:00
TreeHugger Robot
300ab58e9a Merge "Add cleartextTrafficPermitted to MediaFrameworkTest" into pi-dev 2018-05-25 23:01:53 +00:00
TreeHugger Robot
64a33d695d Merge "Final cleanups to permission slices" into pi-dev 2018-05-25 22:10:20 +00:00
Selim Cinek
c0797c85e9 Merge "Fix IME displayed behind the notification shade" into pi-dev 2018-05-25 21:33:42 +00:00
TreeHugger Robot
aa8391d544 Merge "DO NOT MERGE Update volume dialog colors" into pi-dev 2018-05-25 21:05:55 +00:00
Winson Chung
4baf124565 Tweak quickscrub bar visuals
- Thicker asset, scale track slightly on gesture start/end

Bug: 79945202
Test: Quickscrub and see changes
Change-Id: Ic7ae11981ae79cd909d919a326ecc5126cbb399f
2018-05-25 14:05:32 -07:00
TreeHugger Robot
4651a6cb72 Merge "Apply tint to the Volume Dialog primary and supplement icon" into pi-dev 2018-05-25 20:16:54 +00:00
Selim Cinek
c4e19963f4 Merge "Fixed the behavior of group conversations when targeting P" into pi-dev 2018-05-25 20:06:52 +00:00
Julia Reynolds
37ccf08a7e DO NOT MERGE Update volume dialog colors
Test: manual
Fixes: 79699643

Change-Id: I73bde7f30a9aad5b7c084d37987f808df342cc75
2018-05-25 19:53:24 +00:00
Jason Monk
b14dde0793 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
2018-05-25 15:42:16 -04:00
Steven Wu
3aa2cf7541 Fixes a NPE in search manager in slice CTS tests.
Test: atest CtsSliceTestCases
Change-Id: I8d25dd5c216a4e2fa99b2a32bce689bee767dcfa
Fixes: 76211625
2018-05-25 15:20:10 -04:00
TreeHugger Robot
3d70d20c88 Merge "Only user whitelist gets allow_while_idle_unrestricted" into pi-dev 2018-05-25 19:17:33 +00:00
Robert Shih
9a7cca9106 Add cleartextTrafficPermitted to MediaFrameworkTest
Bug: 75276616
Test: this
Change-Id: I520950a148658e9f1602e1b4657dd0273bdaf0e2
2018-05-25 12:01:06 -07:00
TreeHugger Robot
8ac5fc68a9 Merge "Do not truncate onboarding tip text." into pi-dev 2018-05-25 18:51:40 +00:00
Martijn Coenen
eebac6d6b5 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
2018-05-25 20:13:24 +02:00
TreeHugger Robot
78766d2901 Merge "Support rtl for quick scrub onboarding text." into pi-dev 2018-05-25 18:06:07 +00:00
sanryhuang
97bff240dc 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
2018-05-26 01:43:43 +08:00
Wale Ogunwale
30eab1f430 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
2018-05-25 10:24:14 -07:00
Selim Cinek
ce8794fbbc 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
2018-05-25 09:16:38 -07:00
TreeHugger Robot
1ffdec20b4 Merge "Fix monkey crash in smart selection animation" into pi-dev 2018-05-25 15:59:07 +00:00
TreeHugger Robot
568ccfe0b6 Merge "Camera: Clarify multi-camera id selection logic" into pi-dev 2018-05-25 15:27:43 +00:00
Mihai Popa
6e8e27bf9a 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 a9d27ea869)
Merged-in: I7f0304446dec85578bdcd5011d2e9ea2737d3c36
2018-05-25 14:01:23 +00:00
Nicolas Geoffray
a764186455 Merge "Add one telephony API to light grey." into pi-dev 2018-05-25 13:46:31 +00:00
Nicolas Geoffray
1b32d34457 Merge "More light grey apis." into pi-dev 2018-05-25 13:30:19 +00:00
Nicolas Geoffray
83ee75a2de Merge "Add SharedPreferencesImpl;->startLoadFromDisk()V to light grey." into pi-dev 2018-05-25 13:29:55 +00:00
Adrian Roos
7419a17d92 WindowInsets: Never dispatch negative insets
Bug: 80204753
Test: atest ViewRootImplTest
Change-Id: Idace95ae57c6a3a1667b95ce8c3ac7d2bfe06f94
2018-05-25 14:54:09 +02:00
TreeHugger Robot
32256ceb22 Merge "Add more light grey APIs." into pi-dev 2018-05-25 10:49:18 +00:00
Nicolas Geoffray
acde0e9450 More light grey apis.
bug: 80270434
Test: m
Change-Id: I4877a782f9f8c0599de189d28df876d60d2c7b3d
2018-05-25 10:48:24 +01:00
Nicolas Geoffray
7fdc783855 Add more light grey APIs.
bug: 80256659
Test: m
Change-Id: Ic2a0ecffcd039cb5474625e39264714b9eed768a
2018-05-25 10:23:30 +01:00
TreeHugger Robot
a278df4aae Merge "New Autofill field: FIELD_AUTOFILL_SESSION_ID" into pi-dev 2018-05-25 08:57:23 +00:00
Nicolas Geoffray
3e89950ac0 Add SharedPreferencesImpl;->startLoadFromDisk()V to light grey.
bug: 80091112
Test: m
Change-Id: Ia7c0cf66408fb241b029778d248dd3b7e324727a
2018-05-25 09:01:06 +01:00
Nicolas Geoffray
7e1c36e64b Merge "Add some telephony API to light grey." into pi-dev 2018-05-25 07:50:22 +00:00
Felipe Leme
ce3ae87da9 New Autofill field: FIELD_AUTOFILL_SESSION_ID
This field contains the autofill session id (Thank You, Captain Obvious!), which
is useful to correlate autofill metrics that are not logged on
AUTOFILL_REQUEST.

Test: atest CtsAutoFillServiceTestCases # to make sure it didn't break anything
Test: manually run some test and watched
      'adb shell logcat -b events | grep sysui'. Example:
     [757,913,758,4,806,android.autofillservice.cts,871,android.autofillservice.cts.LoginActivity,914,2,915,2,1456,-2045861404

Fixes: 80093094

Merged-In: If4b1c9ab616b2ba580745096894997eb7edb3e34
Change-Id: If4b1c9ab616b2ba580745096894997eb7edb3e34
2018-05-25 06:22:25 +00:00