* [android] Fix crash if decode .heic image in 32bit mode android app.
The type |long| is equal to int32_t in 32bit app, but int64_t in 64bit app.
The type |jlong| is always equal to int64_t.
CallStaticObjectMethod uses "J" to request a jlong type which needs 8 byte data but given |long| value which provides 4 byte data in 32bit mode will trigger java value error and at last a wrong pointer to AndroidImageGenerator object.
Change-Id: I38cc46adc45d8bf3e4eb35e6e904e58ee0682d97
* fix compile error
Change-Id: I7f9b089f7846b03c4b6f91f8cb9d141403e71483
* use reinterpret_cast<jlong> directly.
Change-Id: I493a3ecb7cfbf9dc61cd8e69f418635480d4bb6b
This PR adds a touch-input-view for use in the touch-input-test to validate touch input. The view will be attached to the test, and a touch event will be injected. The test asserts that a correct response is sent back from the view (the location of the touch as well as the name of the view).
This CL fixes the bug in pointer injector delegate where the viewRef is
incorrectly cloned in the flatland platform view, causing an invalid
viewRef to be passed in the Fidl request.
Test: flutter-embedder-test
Removing [engine setViewController:self]; because view is not loaded, but in that function controller is saved. Later, when the view is loaded (loadView) passed as an argument controller is checked against the saved controller and since they match, the nil view is not replaced with a new view.
Fixes: flutter/flutter#74735
* Add a `use` for the `root-ssl-certificates` to ensure BoringSSL
can read the certificates at /config/ssl
* Reformat manifest with `cmc format`
Fixes `HandshakeException`s when establishing a secure connection:
```
HandshakeException: Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:393))
<asynchronous suspension>
```
Depends on changes that offer this directory to the runners,
e.g. https://fxrev.dev/737597
Bug: https://fxbug.dev/111712
* Query preferred languages from registry
* Check registry size
* Line formats
* A space
* Single space
* Update shell/platform/windows/system_utils.cc
Co-authored-by: Chris Bracken <chris@bracken.jp>
* Mockable windows registry
* Mock windows registry in test
* Formatting
* Some more spaces
* Move paths to constants
* Spacing
* Update shell/platform/windows/system_utils.h
Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
* Move registry keys to const vars
* PR conversation
* 2 spaces
* Import
* Separate functionality
* Linux unopt
* PR suggestions
* Update shell/platform/windows/windows_registry.h
Co-authored-by: Chris Bracken <chris@bracken.jp>
* Update shell/platform/windows/system_utils_unittests.cc
Co-authored-by: Chris Bracken <chris@bracken.jp>
* PR
* PR
* Inject registry in constructor
* Format
Co-authored-by: Chris Bracken <chris@bracken.jp>
Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
* add dpr field to flatland
* format
* more dpr updates
* add inverse
* fix error
* fix error
* fix formatting
* formatting again
* one more formatting fix
* update metrics
* fix build errors
* formatting
* test
* formatting
* test
* test
* fix typo
* clean up a bit
* format
* fix metrics
* remove line
* fix test
* remove prints
* fix formatting
* update checks
* format