1330 Commits

Author SHA1 Message Date
Emmanuel Garcia
b2eb38f7de Add default implementations to new methods added to BinaryMessenger (flutter/engine#29596) 2021-11-08 17:32:31 -08:00
gaaclarke
6a7b4f5f65 Implemented concurrent TaskQueues (flutter/engine#29491) 2021-11-08 10:11:54 -08:00
Zachary Anderson
9dffe2d4f6 Revert "Reland Display Features support (Foldable and Cutout) (#29447)" (flutter/engine#29574)
This reverts commit 28a1c9b21b205a436fad64c9d0bced6b22b4b6a3.
2021-11-06 20:43:44 -07:00
Emmanuel Garcia
69ac1ed4dc Fix race condition introduced by background platform channels (flutter/engine#29377) 2021-11-05 15:35:43 -07:00
Andrei Diaconu
28a1c9b21b Reland Display Features support (Foldable and Cutout) (flutter/engine#29447) 2021-11-04 13:45:46 -07:00
Jason Simmons
84a29d044f Provide a default handler for the flutter/navigation channel (flutter/engine#29511) 2021-11-04 07:43:02 -07:00
gaaclarke
efb969910b Made DartMessenger use the injected executor service for executing message handlers. (flutter/engine#29458) 2021-11-02 15:05:02 -07:00
Matej Knopp
66a708c874 Enable partial repaint for iOS/Metal (flutter/engine#28801) 2021-11-02 07:20:01 -07:00
Emmanuel Garcia
28a5062995 Reland "Set system bar appearance using WindowInsetsController" (flutter/engine#29403) 2021-10-29 16:13:03 -07:00
Jia Hao
302c2be546 Add traces to Android embedding (flutter/engine#29230) 2021-10-28 20:59:32 -07:00
Ryan Macnak
1dfe28a310 Inform the Dart VM when snapshots are safe to use with madvise(DONTNEED). (flutter/engine#29320)
Bug: https://github.com/dart-lang/sdk/issues/44019
Bug: https://github.com/flutter/flutter/issues/92120
2021-10-28 16:53:41 -07:00
Gary Qian
38d660407d Revert "Temporarily delete deprecated Android v1 embedding (#29248)" (flutter/engine#29378)
This reverts commit fba89ec6a1ec5387102eb55592e2606d8de7e496.
2021-10-28 01:49:50 -07:00
Gary Qian
fba89ec6a1 Temporarily delete deprecated Android v1 embedding (flutter/engine#29248) 2021-10-28 01:00:12 -07:00
Ahmed Ashour
acdc8a5c8b Fix typos (flutter/engine#29280) 2021-10-27 20:30:31 -07:00
Tong Mu
79249cf134 [macOS] Reset keyboard states on engine restart (flutter/engine#29283)
With this PR, the state of the keyboard system will be reset when the engine is reset (typically during a hot restart.)
2021-10-27 17:03:41 -07:00
Jason Simmons
2c8702d096 Build a specialized snapshot for launching the service isolate in profile mode on Android (flutter/engine#29245) 2021-10-27 11:03:01 -07:00
gaaclarke
8c4ccf58e2 Reapply: Android background platform channels (flutter/engine#29346)
* Revert "Revert "Android Background Platform Channels (#29147)""

This reverts commit 7ed91e14ccc1f5ffc4cb13d1d37e27d370c8f7cd.

* Made this PR less of a breaking change by keeping setMessageHandler's signature the same
2021-10-27 10:11:36 -07:00
Gary Qian
b08aa7ebb1 Add FlutterPlayStoreSplitApplication to v2 embedding (flutter/engine#29241) 2021-10-26 17:28:01 -07:00
Dan Field
d5c36f87f5 Revert "Android Background Platform Channels (#29147)" (flutter/engine#29344)
This reverts commit c40f7670e7aff3a42be2cbac0df067009278d639.
2021-10-26 14:52:13 -07:00
godofredoc
ae68d0409b Update documentation links to point to main branch. (flutter/engine#29326) 2021-10-26 10:48:02 -07:00
gaaclarke
c40f7670e7 Android Background Platform Channels (flutter/engine#29147) 2021-10-21 16:08:02 -07:00
utzcoz
824d6575f6 Refactor FlutterViewTest with extracting common test code to methods (flutter/engine#29226) 2021-10-19 21:18:01 -07:00
Ren You
1ca163b449 Revert "Set system bar appearance using WindowInsetsControllerCompat instead of the deprecated View#setSystemUiVisibility (#29060)" (flutter/engine#29206)
This reverts commit 4a20ae9ca503214f62afe22acc92721d7f648fec.
2021-10-15 05:25:14 -07:00
Wyte Krongapiradee
4a20ae9ca5 Set system bar appearance using WindowInsetsControllerCompat instead of the deprecated View#setSystemUiVisibility (flutter/engine#29060) 2021-10-14 13:08:03 -07:00
utzcoz
1309cb66c2 Bump maximum supported sdk to 30 for Robolectric (flutter/engine#28886) 2021-10-12 17:58:01 -07:00
Gary Qian
3eb6488fa3 Always increment response_id for Android platform messages (flutter/engine#29090) 2021-10-11 23:03:02 -07:00
Jason Simmons
f30e10db45 Map the Android VsyncWaiter frame start time to the clock used by fml::TimePoint (flutter/engine#29093) 2021-10-11 13:13:01 -07:00
Dan Field
293ef51fc6 Reland Android systrace (flutter/engine#29080)
* Reland "Use the systrace recorder if systracing is enabled at startup, and enable systracing in release mode on Android (#28903)" (#29071)"

This reverts commit a7660964b41f64991369341364a43c93317a4a51.

* More logcat

* more logs

* Remove wait

* Avoid plugin registrar exception

* DEFAULT instead of LAUNCHER

* use am instead of monkey

* Update android_systrace_test.py
2021-10-08 15:55:50 -07:00
Zachary Anderson
a7660964b4 Revert "Use the systrace recorder if systracing is enabled at startup, and enable systracing in release mode on Android (#28903)" (flutter/engine#29071)
This reverts commit 79063b3c6105c3cf8be757ed6d31dd9a055060d9.
2021-10-07 22:08:10 -07:00
Dan Field
79063b3c61 Use the systrace recorder if systracing is enabled at startup, and enable systracing in release mode on Android (flutter/engine#28903) 2021-10-07 15:59:46 -07:00
Kate Lovett
96c6b95d33 Update contrast enforcement for null values (flutter/engine#29055) 2021-10-07 09:48:01 -07:00
Emmanuel Garcia
c47526067a Remove some deprecated APIs from the Android embedding (flutter/engine#28977) 2021-10-06 15:38:02 -07:00
Emmanuel Garcia
93ca319487 Expose updateSystemUiOverlays in FlutterActivity and FlutterFragment (flutter/engine#29013) 2021-10-04 19:03:02 -07:00
Jason Simmons
79c7cfdc91 Defer setup of the default font manager if the embedding prefetched the font manager (flutter/engine#28987) 2021-10-04 13:23:02 -07:00
Dan Field
8424cd2767 Avoid GCing aggressively during startup, and forward trim messages beyond low to application (flutter/engine#28891) 2021-09-30 12:46:49 -07:00
gaaclarke
4a47a9f60d fixed android unit tests (rotted before CI is running) (flutter/engine#28938) 2021-09-29 14:19:44 -07:00
Camille Simon
0eddf5471a Deprecate SplashScreenProvider (flutter/engine#28921) 2021-09-29 11:11:06 -07:00
ColdPaleLight
3bd57ac05a Make FlutterEngineGroup support initialRoute (flutter/engine#28884) 2021-09-29 11:02:37 -07:00
Emmanuel Garcia
03fc3660f6 Destroy overlay surfaces when the rasterizer is torn down (flutter/engine#28894) 2021-09-28 14:38:02 -07:00
gaaclarke
452b0bd2f9 added unit tests for the android embedder that run on android devices (flutter/engine#28784) 2021-09-28 14:02:18 -07:00
Gary Qian
98716a1274 Fix deprecated WindowManager INCORRECT_CONTEXT_USAGE and VsyncWaiter takes FPS float (flutter/engine#28774) 2021-09-23 16:38:40 -07:00
ColdPaleLight
b5b786f13a Delete is_background_view from FlutterJNI (flutter/engine#28566) 2021-09-23 13:58:01 -07:00
Jason Simmons
3aaefc576f Make DartExecutor.IsolateServiceIdListener public (flutter/engine#28806) 2021-09-23 07:38:01 -07:00
Emmanuel Garcia
4cb3bf45b2 Replace jcenter() for mavenCentral() (flutter/engine#28777) 2021-09-21 14:09:08 -07:00
Jason Simmons
5cca7e4f66 Do not share the GrDirectContext across engine instances on Android (flutter/engine#28694) 2021-09-17 17:43:01 -07:00
Rulong Chen(陈汝龙)
3c7cce85f0 [android] Fix black and blank screen issues on the platform view page. (flutter/engine#28277) 2021-09-17 11:25:06 -07:00
Emmanuel Garcia
294895d132 Don't use Build.VERSION_CODES.S in test (flutter/engine#28667) 2021-09-16 13:27:01 -07:00
Brandon DeRosier
7b6fa075a7 Flip on leak detector and suppress or fix remaining leak traces (flutter/engine#28625)
Patch/suppress the remaining leaks and flip on the leak detector to start catching new leaks in CI.
2021-09-16 12:58:56 -07:00
Renzo Olivares
b2b2f705de TextEditingDelta support for Android (flutter/engine#28175)
* Add new channel updateEditingStateWithDelta

* Fix formatting

* Fix formatting

* Fix formatting

* Add equality case

* formatting

* Implement TextEditingDelta class to encapsulate delta logic

* Formatting

* Also send new composing/selection along with delta

* Utilize an ArrayList of TextEditingDeltas to take into account batch editing

* clear batch deltas when editing state is updated by framework, we don't want to collect deltas from the framework because they have already been applied to the value on the framework side

* fix formatting

* formatting

* formatting

* Add enableDeltaModel flag to choose between updateEditingValue and updateEditingValueWithDeltas

* Add autofill support for delta model

* formatting

* update

* Fix issues with composing region

* formatting

* Remove

* Fix out of bounds error when textfield is initialized with text

* Clean up logs

* formatting

* update licenses

* Fix deletion issues

* formatting

* delta -> deltaType

* updates

* formatting

* formatting

* Fix logs

* Add tests for TextEditingDelta

* formatting fixes

* remove unused imports

* Fix return type for getDeltaType

* Fix tests

* Fix ListenableEditingStateTest

* formatting

* Fix typo

* Add test for deltas when setComposingText

* formatting

* Updates to test

* fix typo

* formatting

* Verify all properties of delta for test

* formatting

* Add VisibleForTesting import

* fix test

* fix formatting

* fix tests

* fix tests

* fix tests

* updates for tests

* remove ide made file

* Fix more tests

* Fix TextEditingDelta tests

* Add test for verifying delta is generated on setComposingText

* Add TextInputPlugin tests for replacement and deletion deltas

* formatting

* formatting

* Capture delta on setSpan and clear deltas when generated from the framework and when we skip updating the framework

* fix formatting

* update tests to reflect new clear batch delta calls

* Make deletion inline with platform

* fix tests

* Address reviewer comments

* formatting

* fix tests

* fix tests

* move delta inference to framework

* update tests

* formatting

* fix tests

* Formatting

* get -> extract

* More tests and address reviewer comments

* clean up logs

* Address reviewer comments

* formatting

* formatting

* Remove testing constructor

* send as deltas
2021-09-15 13:41:21 -07:00
Kate Lovett
297946f1c1 Update API availability of edge to edge (flutter/engine#28616) 2021-09-14 17:14:23 -05:00