1268 Commits

Author SHA1 Message Date
Chris Bracken
a858cceed8 Eliminate Android-specific Vulkan support (flutter/engine#28239)
This eliminates Vulkan support for Android. As of flutter/engine#27980
(684ad82) we are no longer running Android-Vulkan builds. This
eliminates the --enable-vulkan flag from tools/gn and any code that is
only reachable when that flag is enabled.

Note that after this patch, `shell_enable_vulkan` is always false,
however the //flutter/shell/gpu:gpu_surface_vulkan target and source
files remain since they are still used when `test_enable_vulkan` is
true, which is the case when `is_fuchsia` is true. Note that these files
are *not* built as part of a regular fuchsia build (see the
`shell_gpu_configuration` in //shell/platform/fuchsia/flutter/BUILD.gn),
but may be enabled once the Fuchsia embedder is migrated to the Embedder
API.

Also updates TODOs to dworsham, who is the committer who'll be
transitioning the Fuchsia embedder to the embedding API.
2021-08-23 13:59:43 -07:00
chunhtai
e3a3bd0b56 Makes empty scrollable not focusable in Talkback (flutter/engine#28229) 2021-08-20 15:27:01 -07:00
chunhtai
9761b7371a Issues/86577 reland (flutter/engine#28211) 2021-08-20 12:27:01 -07:00
Kate Lovett
761409f61e Fix regression in system UI colors (flutter/engine#28206) 2021-08-19 20:42:02 -07:00
Zachary Anderson
c4fb8a6051 Revert "Adds semantics tooltip support (#27893)" (flutter/engine#28207)
This reverts commit 366e66802a35abf55bcb649b9bf58921b174b59a.
2021-08-19 14:40:34 -07:00
Emmanuel Garcia
1a9e4c4ff3 Bump Android version and add more info to create_sdk_cipd_package.sh (flutter/engine#27413) 2021-08-18 18:22:02 -07:00
chunhtai
366e66802a Adds semantics tooltip support (flutter/engine#27893) 2021-08-18 15:37:01 -07:00
Emmanuel Garcia
82bffc3762 Use Android linter from cmdline-tools (flutter/engine#28153) 2021-08-17 22:12:01 -07:00
chunhtai
8a404ecf51 Issues/79528 reland (flutter/engine#28117) 2021-08-16 15:22:02 -07:00
Maurice Parrish
4997fc4556 Prevent leak of a closable render surface (flutter/engine#28000)
* try strict mode test

* formatting

* see if test is running

* formatting

* add and release a texture entry

* nullablity

* detect leaked closables

* remove unused methods

* try to finish activity and load FlutterTextureView

* add test

* revert files

* formatting

* hopefully undo

* add test to build

* fix compile errors

* fix variable name

* verify test is running

* assertEquals import

* add to test suite

* how did the package change?.

* formatting

* add release code in
2021-08-14 10:52:15 -07:00
Zachary Anderson
7467362829 Revert "Sets focus before sending a11y focus event in Android (#27992)" (flutter/engine#28092)
This reverts commit 9f8c3c6430ec2cd2c14909702a40c0ee26a65228.
2021-08-13 22:54:10 -07:00
chunhtai
9f8c3c6430 Sets focus before sending a11y focus event in Android (flutter/engine#27992) 2021-08-12 17:22:02 -07:00
Jason Simmons
c32c76cd83 Fix some warnings seen after the migration to JDK 11 (flutter/engine#28045) 2021-08-12 11:27:02 -07:00
Emmanuel Garcia
604089b0fd Provide Open JDK 11 (flutter/engine#27942) 2021-08-11 12:34:11 -07:00
eggfly
517f61119f Avoid crashing when FlutterImageView is resized to zero dimension (flutter/engine#27946) 2021-08-09 19:25:01 -07:00
Emmanuel Garcia
1af82bec75 Fix memory leak in PlatformViewsController (flutter/engine#27915) 2021-08-09 12:50:02 -07:00
ColdPaleLight
8b0b0ee703 Fix the SurfaceTexture related crash by Replacing the JNI weak global reference with a WeakReference<SurfaceTexture> (flutter/engine#27924) 2021-08-06 15:05:02 -07:00
ColdPaleLight
396f7190b9 Prevent a race between SurfaceTexture.release and attachToGLContext (flutter/engine#27884) 2021-08-05 13:15:02 -07:00
ColdPaleLight
0620217342 Fix wrong EGL value in AndroidEnvironmentGL (flutter/engine#27878) 2021-08-05 13:10:01 -07:00
Emmanuel Garcia
09e80c18f1 Allow collapsed compositing range (flutter/engine#27869) 2021-08-03 13:20:02 -07:00
Jonah Williams
2cc2854964 Add GestureSettings and configure touch slop from Android ViewConfiguration (flutter/engine#27836) 2021-08-03 12:55:02 -07:00
Jia Hao
8180d547f6 Revert "Revert "Use preDraw for the Android embedding (#27645)" (#27788)" (flutter/engine#27811) 2021-07-30 10:59:02 -07:00
Renzo Olivares
ceb3cb1d1a Add support for IME_FLAG_NO_PERSONALIZED_LEARNING on Android (flutter/engine#27691) 2021-07-29 23:04:02 -07:00
chunhtai
d1c5086b7e Sets accessibility panel title when route changes (flutter/engine#27713) 2021-07-29 10:34:01 -07:00
Jia Hao
014270f859 Revert "Use preDraw for the Android embedding (#27645)" (flutter/engine#27788)
This reverts commit bd6e47b7d0ac5ddda308e70a16b8f8e1d6c66e25.
2021-07-29 23:02:06 +08:00
Jia Hao
573de315ec Fix crash when splash screen is not specified for FlutterFragmentActivity (flutter/engine#27062) 2021-07-28 20:09:01 -07:00
Jia Hao
bd6e47b7d0 Use preDraw for the Android embedding (flutter/engine#27645) 2021-07-28 19:59:02 -07:00
wqyfavor
3ad5050003 Fix potential crash of frame management while merging threads for platform views. (flutter/engine#27695) 2021-07-27 09:09:02 -07:00
Jason Simmons
c2676c854e Remove an assertion in AndroidImageGenerator::Register that was dereferencing a null (flutter/engine#27674) 2021-07-23 12:39:01 -07:00
Emmanuel Garcia
d39722bd71 Fix NPE and remove global focus listener when tearing down the view (flutter/engine#27655) 2021-07-22 13:58:09 -07:00
Dan Field
298ab24bf5 Reland use a pbuffer surface when in the background (flutter/engine#27629)
* Reland "Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android (#27141)" (#27607)"

This reverts commit 78663924741a29aeca10648015e39db6fbd28be4.

* Do not let gradle download SDK deps
2021-07-21 15:07:35 -07:00
Brandon DeRosier
e2c58529b5 Add native Android image decoder supported by API 28+ (flutter/engine#26746) 2021-07-21 13:52:29 -07:00
Dan Field
c39eb51448 Fix android zip bundles (flutter/engine#27604) 2021-07-21 12:56:02 -07:00
Dan Field
7866392474 Revert "Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android (#27141)" (flutter/engine#27607)
This reverts commit 9520cdc6c45bc45f8e944618a0ff641fd5f5429a.
2021-07-20 16:40:55 -07:00
Dan Field
9520cdc6c4 Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android (flutter/engine#27141) 2021-07-20 16:05:54 -07:00
kartik garasia
e71aa68555 JavaDoc error fix (flutter/engine#27080)
Javadoc error Local engine build fails while building android targets
Related to issue #85346
2021-07-15 14:24:52 -07:00
Nils Strelow
da681c31c6 Deeplink URI fragment on Android and iOS (flutter/engine#26185) 2021-07-15 10:51:02 -07:00
Ajmal Kunnummal
a1fe1c8ca5 Make FlutterFragment usable without requiring it to be attached to an Android Activity. (Attempt 2) (flutter/engine#27397) 2021-07-14 10:51:02 -07:00
Zachary Anderson
0bf2a8c460 Revert "Make FlutterFragment usable without requiring it to be attached to an Android Activity. (#27332)" (flutter/engine#27382)
This reverts commit ba49de983781dd2267d50780b696e981f74fd84d.
2021-07-13 20:35:14 -07:00
Ajmal Kunnummal
ba49de9837 Make FlutterFragment usable without requiring it to be attached to an Android Activity. (flutter/engine#27332) 2021-07-13 17:11:02 -07:00
Dan Field
1872500bb0 Build the robolectric tests by default for debug armv7 (flutter/engine#27345) 2021-07-13 08:45:22 -07:00
Dan Field
bf96d4bbc8 Fix the firebase scenario app run and assert that it does good things (flutter/engine#27295) 2021-07-12 16:56:02 -07:00
Emmanuel Garcia
4fbe0a6e47 Set Flutter View ID to the view ID instead of of the splash screen (flutter/engine#27262) 2021-07-12 16:41:02 -07:00
Wyte Krongapiradee
1997318121 Avoid unintended clipboard access (flutter/engine#27215) 2021-07-08 12:56:02 -07:00
Maurice Parrish
36d3a6c062 Create flag to enable/disable FlutterView render surface conversion (flutter/engine#27038) 2021-07-07 11:01:02 -07:00
chunhtai
594a24a318 Fixes inset padding in android accessibility bridge (flutter/engine#27083) 2021-07-01 14:21:01 -07:00
Michael Hoisie
68f9f6c1ab Remove built-in shadows from the @Config annotation (flutter/engine#26823) 2021-07-01 13:16:02 -07:00
Emmanuel Garcia
277ee46c46 Give FlutterView a view ID (flutter/engine#27052) 2021-06-29 21:02:06 -07:00
Hrishikesh Kadam
be091e0d43 Minor correction of hyperlinks in FlutterFragment.java (flutter/engine#26993) 2021-06-29 13:21:14 -07:00
J-P Nurmi
ab0e02d988 Android: add support for TextInputType.none (flutter/engine#26585) 2021-06-29 09:51:01 -07:00