aboutsummaryrefslogtreecommitdiff
path: root/trygvis-io-bt-stubs
diff options
context:
space:
mode:
Diffstat (limited to 'trygvis-io-bt-stubs')
-rw-r--r--trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java2
-rw-r--r--trygvis-io-bt-stubs/src/main/java/android/util/Log.java20
2 files changed, 1 insertions, 21 deletions
diff --git a/trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java b/trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java
index 13b33ed..d5c4f36 100644
--- a/trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java
+++ b/trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java
@@ -4,7 +4,7 @@ import java.util.List;
import java.util.UUID;
public class BluetoothGatt {
- public static final int GATT_SUCCESS = 1;
+ public static final int GATT_SUCCESS = 0;
public static final int STATE_CONNECTED = 2;
public boolean discoverServices() {
diff --git a/trygvis-io-bt-stubs/src/main/java/android/util/Log.java b/trygvis-io-bt-stubs/src/main/java/android/util/Log.java
deleted file mode 100644
index 036ce22..0000000
--- a/trygvis-io-bt-stubs/src/main/java/android/util/Log.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package android.util;
-
-public class Log {
- public static void d(String tag, String s) {
- System.out.println("d: " + tag + ": " + s);
- }
-
- public static void i(String tag, String s) {
- System.out.println("i: " + tag + ": " + s);
- }
-
- public static void w(String tag, String s) {
- System.out.println("w: " + tag + ": " + s);
- }
-
- public static void w(String tag, String s, Exception e) {
- System.out.println("w: " + tag + ": " + s);
- e.printStackTrace(System.out);
- }
-}