From eefd0cca6ad3dd2737193f9222544c6669f73c1c Mon Sep 17 00:00:00 2001 From: Vinzenz Hopf Date: Wed, 6 Feb 2019 16:50:33 +0100 Subject: [PATCH] Reverting previous commit. --- .../smartdevicesapp/watch/ui/main/MainActivity.java | 9 --------- .../src/main/res/layout/activity_main.xml | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/smartdevices-app/smartdevicesapp.app.watch/src/main/java/de/vogler_engineering/smartdevicesapp/watch/ui/main/MainActivity.java b/smartdevices-app/smartdevicesapp.app.watch/src/main/java/de/vogler_engineering/smartdevicesapp/watch/ui/main/MainActivity.java index e4dd3f1..4ac066c 100644 --- a/smartdevices-app/smartdevicesapp.app.watch/src/main/java/de/vogler_engineering/smartdevicesapp/watch/ui/main/MainActivity.java +++ b/smartdevices-app/smartdevicesapp.app.watch/src/main/java/de/vogler_engineering/smartdevicesapp/watch/ui/main/MainActivity.java @@ -36,7 +36,6 @@ import de.vogler_engineering.smartdevicesapp.watch.helper.MultiFunctionButtonHelper; import de.vogler_engineering.smartdevicesapp.watch.service.UpdateService; import de.vogler_engineering.smartdevicesapp.watch.ui.AbstractWearableActivity; -import timber.log.Timber; public class MainActivity extends AbstractWearableActivity { @@ -138,17 +137,9 @@ protected void onCreate(Bundle savedInstanceState) { // imageViewStart.setImageResource(R.mipmap.ic_launcher_round); notificationHandler.initActivity(this); - mNoDataView.setClickable(true); - mNoDataView.setOnClickListener(this::onNoDataClicked); - setAmbientEnabled(); } - private void onNoDataClicked(View l) { - Timber.tag(TAG).d("No data Present, stop Notification sound & vibration."); - notificationHandler.stopNotification(); - } - @Override protected void onResume() { super.onResume(); diff --git a/smartdevices-app/smartdevicesapp.app.watch/src/main/res/layout/activity_main.xml b/smartdevices-app/smartdevicesapp.app.watch/src/main/res/layout/activity_main.xml index 0819430..c4caf96 100644 --- a/smartdevices-app/smartdevicesapp.app.watch/src/main/res/layout/activity_main.xml +++ b/smartdevices-app/smartdevicesapp.app.watch/src/main/res/layout/activity_main.xml @@ -39,7 +39,7 @@ android:visibility="gone" />