api-impl: misc. stubs

This commit is contained in:
Mis012
2023-10-08 22:33:47 +02:00
parent 1b33acb658
commit f5b35b5ce9
2 changed files with 12 additions and 0 deletions

View File

@@ -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 + "]";

View File

@@ -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...
*/ */