Stanislav Baranov
732ea7669c
Allow dynamic patches without a patch number. ( #7309 )
...
Unique patch numbers are mainly useful for canary and A-B testing, but otherwise complicate things and can now be omitted.
Also, always append .zip to patch download URL. This obviates the need to configure redirects on the server when not using patch numbers.
2018-12-27 11:56:56 -08:00
matthew-carroll
6b85ed3d93
Android embedding refactor PR1: JNI Extraction to FlutterJNI.java ( #7098 )
...
Android embedding refactor: JNI Extraction to FlutterJNI.java
2018-12-21 01:07:04 -05:00
Jason Simmons
41222d0555
Update usage of some Android APIs that are deprecated in API level 28 ( #7261 )
2018-12-19 17:39:53 -08:00
Jason Simmons
5ec8ef8509
Remove unused GrContext in AndroidSurfaceGL ( #7258 )
2018-12-19 15:06:58 -08:00
Stanislav Baranov
9edb4f72b9
Update dynamic patching terminilogy to match that of the flutter tool ( #7248 )
2018-12-19 10:31:54 -08:00
Dan Field
8b73b9d42c
Fix javadoc for Android-28 ( #7254 )
...
* Fix javadoc for Android-28
* build javadoc as part of pre-submit
2018-12-19 09:24:02 -08:00
Dan Field
cfbc948647
Roll buildroot to support Android SDK 28 ( #7245 )
...
* Roll to buildroot and support Android SDK 28
* Ubuntu 16 for android build test
2018-12-18 19:38:28 -08:00
Todd Volkert
fbce2bf145
Fix linter errors in ResourceUpdater ( #7240 )
2018-12-18 07:40:57 -08:00
Todd Volkert
f79f7f6312
Allow inferred types using diamond syntax ( #7237 )
2018-12-17 16:35:10 -08:00
Todd Volkert
951edf3e11
Simplify nested try-with-resources statements ( #7239 )
2018-12-17 16:34:54 -08:00
Jimmy Casey
f986a12e20
Correct spelling in doc comments ( #7179 )
...
Applies spelling corrections to accessibility-related doc comments and in the
license tool.
2018-12-16 12:51:00 -08:00
Ian Hickson
8a7ae957ff
Undeprecated BigInteger support, but document what it actually does. ( #6903 )
2018-12-15 08:32:20 -08:00
Stanislav Baranov
18a4e33c2a
Downloading and installation of dynamic updates on Android ( #7207 )
2018-12-13 10:17:37 -08:00
liyuqian
2bd75ae8ba
Support querying display refresh rate in engine ( #7002 )
...
The current implementation only deals with Android devices and we'll add iOS devices support soon.
2018-12-12 10:28:44 -08:00
Brian Salomon
e5195ee479
Remove unnecessary includes of Ganesh headers ( #7189 )
2018-12-12 10:58:14 -05:00
Rafael Ring
9071a39dd2
Fix keyboard not showing for targetSdk 28 ( #6985 )
...
After bumping the targetSdk of Flutter apps to 28, the keyboard doesn't open anymore when inputting text on an Android Pie devices. The problem is caused by a change on the way the focus in handled: when the call `mImm.showSoftInput(view, 0);` is made, the currently focused view is the `DecorView` from the `Activity` hosting Flutter but the passed view reference (`view` argument) is the `FlutterView`. As the `InputMethodManager` checks if both views are the same before showing the keyboard, it never appears because the `FlutterView` never has focus.
As Flutter doesn't have any input views as far as the Android side is concerned, the focus should always stay on the `FlutterView` itself and thus, this PR changes the `TextInputPlugin` to focus on the `FlutterView` as soon as it's created, fixing the keyboard issue.
Co-authored-by: Igor Borges <igorborges12@gmail.com>
2018-12-10 21:01:12 -08:00
Jason Simmons
3011c2b754
Handle null bundlePaths in FlutterRunArguments ( #7161 )
2018-12-10 14:38:44 -08:00
Stanislav Baranov
be36ba6468
Generalize runFromBundle to support multiple bundlePaths ( #7151 )
2018-12-10 12:19:22 -08:00
Dan Field
110a5f320c
Reset a11y bridge state on hot restart ( #6857 )
2018-11-14 11:13:39 -08:00
Dan Field
114d33d3ca
Set and unset accessibility flags even when re-entrant ( #6853 )
...
* Make sure to not unset a11y flags on reentrant calls to API
2018-11-13 23:54:45 -08:00
Michael Goderbauer
1e7e676e4d
Remove unused import ( #6854 )
2018-11-13 23:31:56 -08:00
Michael Goderbauer
09ef73ff6e
Fix code smells reported by chrome's clang plugin ( #6833 )
2018-11-12 19:59:29 -08:00
Dan Field
ea4bbbd440
Avoid announcing text field when it lacks a11y focus ( #6830 )
...
* Avoid announcing text field when it lacks a11y focus
2018-11-12 16:08:59 -08:00
Amir Hardon
266b0986de
Release the surface texture entry when the platform view is disposed. ( #6829 )
...
We were leaking the texture after the view was disposed.
2018-11-12 14:23:25 -08:00
Mehmet Fidanboylu
94dd7165ef
Skia Cleanup ( #6786 )
2018-11-07 15:29:52 -08:00
Michael Goderbauer
70a1106b50
Unify copyright lines ( #6757 )
2018-11-07 12:24:35 -08:00
Todd Volkert
4cdddbac42
Fix String comparison as if Java were Dart. ( #6781 )
...
This also removes unused imports and sorts imports correctly
2018-11-07 09:59:51 -08:00
Stanislav Baranov
b5758d0d38
Propagate positions of secondary pointers in UP events on Android ( #6716 )
2018-11-02 10:51:35 -07:00
Stanislav Baranov
dd791f36ac
Propagate pointer size from Android MotionEvent ( #6662 )
2018-10-26 09:39:10 -07:00
Jonah Williams
cf75289b68
TextField is only a live region when it has input focus ( #6649 )
2018-10-25 08:37:49 -07:00
Chinmay Garde
e1e60933b2
Realize kernel asset mappings on a worker thread if one is available. ( #6648 )
2018-10-24 11:33:46 -07:00
Gary Qian
8cb3965a3e
Properly gate android API < 21 and remove extraneous data array. ( #6619 )
2018-10-19 15:01:43 -07:00
Gary Qian
09dcc3d5ee
Gate locale.getScript() behind version check for android API < 21 ( #6592 )
2018-10-18 14:03:48 -07:00
Gary Qian
35340ceaf0
Pass full locale list with script and variant codes to framework ( #6557 )
...
* Locale Passing
* Pass full locale list and script and variant codes to framework
* Working Android locale list passing and fallback
2018-10-17 10:53:01 -07:00
Shaoxing Wang
26f437f377
Fix crash when removeViewImmediate invoked from platform view ( #6266 )
...
* Fix crash when removeViewImmediate invoked from platform view
* Clear animation before remove view from mFakeWindowRootView
2018-10-15 16:09:10 -07:00
Jonah Williams
436f9707b9
Add version check for dismissable ( #6522 )
2018-10-12 15:47:11 -07:00
谢然
05aac0f270
fix ResourceExtractor npe. ( #6461 )
2018-10-12 09:56:00 -07:00
Gary Qian
61cf4c01fd
Pass scriptcode and variantcode to dart:ui Window. ( #6493 )
2018-10-10 17:22:59 -07:00
Jason Simmons
155ba09619
Use an older version of SurfaceTexture.setOnFrameAvailableListener when running on pre-Lollipop devices ( #6489 )
...
Fixes https://github.com/flutter/flutter/issues/21730
2018-10-10 15:01:48 -07:00
Jonah Williams
647302a287
Correct issues in visible children determination ( #6455 )
...
* fix off by one
* add documentation on counting for setToIndex
2018-10-08 11:05:09 -07:00
liyuqian
90b1023c84
Remove unused imports and variables ( #6437 )
...
This is discovered in the new Google3 checks. It should not block our
roll but it's nice to fix them.
2018-10-04 16:01:49 -07:00
Jonah Williams
ae4db4469f
Ensure setViewIdResourceName has the correct version guard ( #6404 )
2018-10-03 17:44:32 -07:00
Kirill Nikolaev
68a42e3f47
Add nullability annotations to MethodChannel/MethodCall. ( #6393 )
...
This works towards resolving https://github.com/flutter/flutter/issues/19888 .
2018-10-02 15:02:16 -07:00
Jonah Williams
a785b25f4a
do not count Hidden nodes at the beginning of the scrollable ( #6381 )
2018-10-01 11:15:22 -07:00
Jonah Williams
77c30caddf
make sure we dont set live regionin api level < 18 ( #6375 )
2018-09-27 23:24:54 -07:00
Kirill Nikolaev
27f77cbef5
Document that all MethodChannel callbacks must be called on the main thread. ( #6245 )
...
This further addresses https://github.com/flutter/flutter/issues/14568 .
2018-09-27 15:48:29 -07:00
Chinmay Garde
f2a3df97e2
Wire up the Skia persistent GPU related artifacts cache. ( #6278 )
...
Also teaches FML to create files and directories.
2018-09-26 14:54:09 -07:00
Gary Qian
8247ce26ba
Implement restore functions on Android and iOS ( #6322 )
...
This will not be active on the Framework until https://github.com/flutter/flutter/pull/22221 lands.
2018-09-25 13:46:38 -07:00
Dan Field
8743bb82db
Format for #6324 ( #6326 )
...
Format code from previous patch
2018-09-24 18:42:04 -04:00
Dan Field
89516aad94
Engine::Run returns enum: success, failure, or isolate already running ( #6324 )
...
* If isolate is already running, return true
* Use shell::Engine::RunStatus as result of Engine::Run
2018-09-24 18:01:22 -04:00