summaryrefslogtreecommitdiffstats
path: root/src/js/agl_stubs_network.js
diff options
context:
space:
mode:
authorJose Dapena Paz <jdapena@igalia.com>2022-05-31 18:40:52 +0200
committerJose Dapena Paz <jdapena@igalia.com>2022-05-31 20:13:54 +0200
commit69af4d9b9b209fcb33ef9071ddfa8561106044c2 (patch)
tree04b7d41ca675886d7169771a4cad2b0fcf13c750 /src/js/agl_stubs_network.js
parent6de51f102451a9f63e6f597e99104eff14c5c2c1 (diff)
Adapt to new application frameworkneedlefish_13.93.0needlefish/13.93.013.93.0
Drop usage of agl-js-api, and just provide a mock for bluetooth and network calls. Bug-AGL: SPEC-4248 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: I9265a44f810012dd68ccfdd675de157156a73f79
Diffstat (limited to 'src/js/agl_stubs_network.js')
-rw-r--r--src/js/agl_stubs_network.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/js/agl_stubs_network.js b/src/js/agl_stubs_network.js
new file mode 100644
index 0000000..b0e6823
--- /dev/null
+++ b/src/js/agl_stubs_network.js
@@ -0,0 +1,7 @@
+export function services() {
+ return new Promise((resolve, reject) => {
+ resolve({
+ values: []
+ });
+ });
+}