You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl: misc. stubs
This commit is contained in:
@@ -200,6 +200,10 @@ public class Intent {
|
|||||||
return defaultValue;
|
return defaultValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Intent setAction(String action) {
|
||||||
|
return this; // FIXME
|
||||||
|
}
|
||||||
|
|
||||||
public String getAction() {
|
public String getAction() {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -241,6 +245,10 @@ public class Intent {
|
|||||||
return extras;
|
return extras;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Intent addCategory(String action) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "Intent [component=" + component + ", extras=" + extras + ", action=" + action + ", uri=" + data + "]";
|
return "Intent [component=" + component + ", extras=" + extras + ", action=" + action + ", uri=" + data + "]";
|
||||||
|
|||||||
@@ -19,6 +19,10 @@ public class InputDevice {
|
|||||||
return new InputDevice();
|
return new InputDevice();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getSources() {
|
||||||
|
return 0; // FIXME
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FIXME: We pretend we can do literally everything here...
|
* FIXME: We pretend we can do literally everything here...
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user