Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
Reverting previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
vh-vogler committed Feb 6, 2019
1 parent 806d49e commit eefd0cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
android:visibility="gone" />

<include
android:id=" @+id/no_data_view"
android:id="@+id/no_data_view"
layout="@layout/view_no_data"
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand Down

0 comments on commit eefd0cc

Please sign in to comment.