Flutter Engine
The Flutter Engine
shell
platform
android
test
io
flutter
CustomShadowContextImpl.java
Go to the documentation of this file.
1
package
io.flutter;
2
3
import
android
.content.Context;
4
import
org.robolectric.annotation.Implementation;
5
import
org.robolectric.annotation.Implements;
6
import
org.robolectric.shadows.ShadowContextImpl;
7
8
@Implements(className = ShadowContextImpl.CLASS_NAME)
9
public class
CustomShadowContextImpl
extends ShadowContextImpl {
10
public
static
final
String CLASS_NAME =
"android.app.ContextImpl"
;
11
12
@Implementation
13
@Override
14
public
final
Object
getSystemService
(String
name
) {
15
if
(
name
== Context.TEXT_SERVICES_MANAGER_SERVICE) {
16
return
null
;
17
}
18
return
super.getSystemService(
name
);
19
}
20
}
io.flutter.CustomShadowContextImpl
Definition:
CustomShadowContextImpl.java:9
io.flutter.CustomShadowContextImpl.getSystemService
final Object getSystemService(String name)
Definition:
CustomShadowContextImpl.java:14
android
Definition:
BitmapRegionDecoder.cpp:14
flutter::name
DEF_SWITCHES_START aot vmservice shared library name
Definition:
switches.h:32
Generated on Sun Jun 23 2024 21:55:10 for Flutter Engine by
1.9.4