aboutsummaryrefslogtreecommitdiff
path: root/trygvis-io-bt-stubs
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-01-30 18:54:26 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-01-30 18:54:26 +0100
commit991620666551c1eaf655a0aa0b1fe08d2bc19681 (patch)
tree2fd2bf31c582985d1fdecc84c106fee352d15618 /trygvis-io-bt-stubs
parent3e619a735e63a1222e71060d9e65b354a156b158 (diff)
downloadio.trygvis.soilmoisture-android-991620666551c1eaf655a0aa0b1fe08d2bc19681.tar.gz
io.trygvis.soilmoisture-android-991620666551c1eaf655a0aa0b1fe08d2bc19681.tar.bz2
io.trygvis.soilmoisture-android-991620666551c1eaf655a0aa0b1fe08d2bc19681.tar.xz
io.trygvis.soilmoisture-android-991620666551c1eaf655a0aa0b1fe08d2bc19681.zip
o This variant actually work on a device.
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);
- }
-}