Skip to content
Browse files

Set vibe on connect to false, update about

  • Loading branch information...
1 parent fd0e97c commit 0da4c33a0e231511502a36ed6ba54a3a185791e5 @PurpleGuitar committed
View
11 project.properties
@@ -0,0 +1,11 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system use,
+# "ant.properties", and override values to adapt the script to your
+# project structure.
+
+# Project target.
+target=Google Inc.:Google APIs:8
View
2 res/layout/settings.xml
@@ -298,7 +298,7 @@
android:title="Notify Watch on Connect"
android:key="NotifyWatchOnConnect"
android:summary="Send a notification to the watch after connecting to it"
- android:defaultValue="true"
+ android:defaultValue="false"
/>
</PreferenceCategory>
View
2 src/org/metawatch/manager/MetaWatch.java
@@ -117,7 +117,7 @@ void showAbout() {
WebView webView = new WebView(this);
String html = "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" /><title>About</title></head><body>" +
- "<p>Craig's Metawatch v1.1.6 custom 2011-12-08, based on:</p>" +
+ "<p>Craig's Metawatch v1.1.6, based on:</p>" +
"<h1>MetaWatch</h1>" +
"<p>Version " + Utils.getVersion(this) + ".</p>" +
"<p>Modified by Dobie Wollert, Chris Sewell, Prash D, benjymous, and Craig Oliver</p>" +
View
2 src/org/metawatch/manager/MetaWatchService.java
@@ -373,7 +373,7 @@ void connect(Context context) {
/* Notify watch on connection if requested. */
SharedPreferences sharedPreferences = PreferenceManager
.getDefaultSharedPreferences(context);
- boolean notifyOnConnect = sharedPreferences.getBoolean("NotifyWatchOnConnect", true);
+ boolean notifyOnConnect = sharedPreferences.getBoolean("NotifyWatchOnConnect", false);
Log.d(MetaWatch.TAG, "MetaWatchService.connect(): notifyOnConnect=" + notifyOnConnect);
if (notifyOnConnect) {
NotificationBuilder.createOtherNotification(context, "MetaWatch", "Connected");

0 comments on commit 0da4c33

Please sign in to comment.
Something went wrong with that request. Please try again.