Justin McCandless
7071dc7061
NO_SUGGESTIONS keyboard flag in Android ( #13099 )
...
Add the enableSuggestions parameter to control Android's keyboard suggestions
2019-10-23 10:47:19 -07:00
Matt Carroll
e6e35a90df
Forwards Activity result to FlutterFragment in FlutterFragmentActivity. ( #13214 )
2019-10-21 17:05:46 -07:00
Matt Carroll
ee91881ccc
Adds Dark Mode support to new Android embedding (this was accidentally missed previously). ( #13215 )
2019-10-18 12:46:09 -07:00
Jacek Fedoryński
748b64049c
Add repeatCount to FlutterKeyEvent ( #13176 )
...
Adds repeatCount field to KeyEventChannel.FlutterKeyEvent. We set it
to the value returned by KeyEvent.getRepeatCount() and add it to the
message passed through the channel with the intention of exposing it
in RawKeyEventDataAndroid on the framework side.
flutter/flutter#42855
2019-10-18 10:39:19 -07:00
Erick (CptBlackPixel)
49a8e451b8
Adding deviceId to KeyEventChannel enconding method ( #12958 )
...
This Pull Request simple adds the deviceId property to the encoding method, I am preparing a next PR on the flutter repository that reads this info and add a property to RawKeyEventDataAndroid on the Flutter side.
This is necessary so we can support multiple gamepads on Android, in order to be possible to make a local multiplayer game with Flutter.
2019-10-14 17:47:15 -07:00
Michael Klimushyn
531a9cfb8e
Fire PlatformViewController FlutterView callbacks ( #13015 )
...
Fixes a bug where `PlatformViewController` was not being notified of `FlutterView` attachment changes.
2019-10-14 14:03:25 -07:00
Matt Carroll
9acec4102a
Move initialization into FlutterEngine ( #12806 )
2019-10-11 16:15:55 -07:00
Matt Carroll
d9d92a564b
Added FlutterActivity and FlutterFragment hook to cleanUpFlutterEngine() as symmetry for configureFlutterEngine(). ( #41943 ) ( #12987 )
2019-10-11 13:52:21 -07:00
liyuqian
df0e911c67
SkSL precompile ( #12412 )
...
For https://github.com/flutter/flutter/issues/40686
Unit tests added:
- CacheSkSLWorks
- VisitFilesCanBeCalledTwice
- CanListFilesRecursively
2019-10-08 11:51:28 -07:00
Matt Carroll
70f21b0edb
Fixes race condition that was reported internally. ( #12362 )
2019-09-19 16:36:17 -07:00
Dan Field
7fb14000fd
java lints ( #12354 )
2019-09-18 21:20:04 -07:00
Matt Carroll
36be89da49
Added javadoc comments to FlutterActivity and FlutterFragmentActivity. ( #12328 )
2019-09-17 16:22:13 -07:00
Matt Carroll
f38f3a2f79
Introduce FlutterFragmentActivity ( #12305 )
2019-09-17 15:09:38 -07:00
Matt Carroll
ef2a452124
Remove un-needed FragmentActivity import statements to facilitate proguard. ( #11902 )
2019-09-05 14:44:04 -07:00
Emmanuel Garcia
edee1fea58
Add @Keep annotation ( #11893 )
2019-09-05 13:23:04 -07:00
Shi-Hao Hong
14e41878ad
Incorporate View.setSystemGestureExclusionRects code review feedback from #11441 ( #11804 )
...
* Improve variable naming and javadoc for setSystemGestureExclusionRects
* Remove variables from setSystemGestureExclusionRects tests
* Split test for two behaviors into two separate tests for setSystemGestureExclusionRects success case
2019-09-05 12:53:41 -07:00
Shi-Hao Hong
898480fe05
Android 10+ View.getSystemGestureExclusionRects ( #11451 )
...
* SystemGesture.getSystemGestureExclusionRects
* Add getSystemExclusionRects unit tests
2019-09-04 15:13:02 -07:00
Matt Carroll
fde7c8c334
Rename first frame method and notify FlutterActivity when full drawn ( #38714 #36796 ). ( #11357 )
2019-09-03 15:49:53 -07:00
Matt Carroll
dce8a34048
Revert "Notify framework to clear input connection when app is backgrounded ( #35054 ) ( #9498 )" ( #11720 )
...
This reverts commit 4003fbc3ed48865cf6993d01be60749c3cabeff5.
2019-08-29 15:42:11 -07:00
Shi-Hao Hong
7024722e38
Android 10+ View.setSystemGestureExclusionRects ( #11441 )
...
* Implement SystemGesture.setSystemGestureExclusionRects platform channel
* Add PlatformChannelTest.java
* Fix typo in android/test/README.md
2019-08-29 17:00:42 -04:00
Tong Mu
ba1a303ae2
Patch buttons for chromebook touchpad ( #11420 )
...
Changes irregular events of touchpad scrolling on Chromebook to have buttons: 1.
2019-08-26 11:49:55 -07:00
Amir Hardon
0345967a19
Include Java stack trace in method channel invocations ( #11361 )
2019-08-22 09:02:31 -07:00
Matt Carroll
df178fd936
Remove dart entrypoint Intent parameter from FlutterActivity. ( #38713 ) ( #11239 )
2019-08-19 17:21:21 -07:00
Matt Carroll
4003fbc3ed
Notify framework to clear input connection when app is backgrounded ( #35054 ) ( #9498 )
2019-08-19 14:12:45 -07:00
Shi-Hao Hong
014ab76ad0
Pass Android Q insets.systemGestureInsets to Window ( #10413 )
...
* Pass Android Q system gesture inset information from insets.systemGestureInsets to Window.systemGestureInsets
2019-08-16 13:42:56 -04:00
xster
5e155c6c2d
some drive-by docs while I was reading the embedding classes ( #9341 )
2019-08-14 16:35:50 -07:00
Matt Carroll
735255f36a
Android embedding refactor pr40 add static engine cache ( #10481 )
2019-08-06 16:15:21 -07:00
Jason Simmons
26368225b5
Fix deprecation warnings in the Android embedding ( #10424 )
2019-08-01 18:13:27 -07:00
Matt Carroll
4c6948a88a
Android Embedding Refactor 38: Removed AssetManager from DartEntrypoint. ( #10250 )
2019-07-30 12:57:01 -07:00
Matt Carroll
f336e05a69
Android Embedding PR37: Separated FlutterActivity and FlutterFragment via FlutterActivityAndFragmentDelegate ( #9895 )
2019-07-29 17:40:25 -07:00
Jonah Williams
be9b245690
add suggested changes from flutter roll ( #10176 )
2019-07-26 12:56:08 -07:00
adazh
ef99738baf
Added a DartExecutor API for querying # of pending channel callbacks ( #10021 )
2019-07-23 13:11:03 -07:00
Justin McCandless
4decc174ee
Add support for Android's visible password input type ( #9999 )
...
For framework PR https://github.com/flutter/flutter/issues/31738
2019-07-23 07:57:39 -07:00
Matt Carroll
3aaeca3a57
Android Embedding Refactor PR36: Add splash screen support. ( #9525 )
2019-07-22 14:01:34 -07:00
Matt Carroll
56a3f41027
Android Embedding Refactor PR31: Integrate platform views with the new embedding and the plugin shim. ( #9206 )
2019-07-01 17:34:37 -07:00
Matt Carroll
628b174c9b
Fixes a plugin overwrite bug in the plugin shim system. ( #9589 )
2019-07-01 15:26:22 -07:00
Jason Simmons
3f4f606105
Simplify loading of app bundles on Android ( #9360 )
...
* Remove deprecated runBundle APIs
* Remove code related to dynamic patching (including support for multiple
bundle paths)
* Change FlutterRunArugments.bundlePath to be the Android AssetManager path
where the app's assets are located
2019-06-25 14:17:50 -07:00
Matt Carroll
ae8e6d9f46
Removed unused imports in new embedding. ( #9463 )
2019-06-25 01:59:33 -07:00
Matt Carroll
a2db2ea6f1
Android Embedding Refactor PR35: Ensure all JNI methods are in FlutterJNI ( #34751 ). ( #9391 )
2019-06-20 17:13:58 -07:00
Matt Carroll
3bcd6a8f7b
Android Embedding Refactor PR34: Fill in missing nullability annotations. ( #9384 )
2019-06-19 23:44:15 -07:00
Dan Field
7c4f6a6830
Wire intent args for observatory port ( #9378 )
2019-06-19 13:13:13 -07:00
Matt Carroll
66db3d58e3
Add APIs for querying FlutterView for a FlutterEngine and listening for attachment/detachment ( #29114 ). ( #9356 )
2019-06-18 16:34:30 -07:00
Matt Carroll
f2e76a8922
Android Embedding Refactor PR32: Clean up logs in new embedding ( #33544 , #33102 ). ( #9351 )
2019-06-18 15:52:22 -07:00
Matt Carroll
36f18b0ae4
Android Embedding Refactor PR33: Clean up FlutterJNI ( #25533 ). ( #9354 )
2019-06-18 15:35:22 -07:00
Jason Simmons
fcff2d619c
Use the DartServiceIsolate status callback to publish the observatory URI to the Android embedder ( #9337 )
...
The Android embedder had been using a JNI call to get the observatory URI from
DartServiceIsolate. This call was not thread safe and was redundant with the
server status callback mechanism used on iOS.
2019-06-17 16:17:29 -07:00
Jason Simmons
ea7ca9804a
Send the isolate service ID from the engine to the embedder ( #9324 )
...
Applications can use an embedder API to obtain the isolate ID and then use it
in calls to the Dart service protocol.
2019-06-17 16:02:26 -07:00
Matt Carroll
4fc95ebb29
Fixed memory leaks within FlutterFragment and FlutterView ( #34268 , #34269 , #34270 ). ( #9288 )
2019-06-11 17:01:20 -07:00
Matt Carroll
2d2cfc0884
Expose a hasRenderedFirstFrame() method in FlutterView ( #34275 ). ( #9285 )
2019-06-11 15:47:04 -07:00
Matt Carroll
2d0103a8fe
Removed VIRTUAL_KEYBOARD check in TextInputPlugin because it's blocking Espresso work and its purpose is unknown. ( #9238 )
2019-06-10 13:30:39 -07:00
Amir Hardon
259d334e05
Reland "Keyboard support for embedded Android views. ( #9203 ) ( #9257 )
...
#9203 broke the keyboard_resize integration test(see more details in flutter/flutter#34085 (comment)).
This re-lands @9203 and fixes the issue the integration test uncovered by always allowing to hide the keyboard.
The difference from the original change is 07d2598
2019-06-10 12:56:35 -07:00