removed debug code from main module
This commit is contained in:
@@ -147,12 +147,12 @@ public class MainActivity extends AppCompatActivity implements ForecastFragment.
|
|||||||
if (id == R.id.action_settings) {
|
if (id == R.id.action_settings) {
|
||||||
startActivity(new Intent(this, SettingsActivity.class));
|
startActivity(new Intent(this, SettingsActivity.class));
|
||||||
return true;
|
return true;
|
||||||
} else if(id == R.id.syncWear) {
|
|
||||||
// TODO remove
|
|
||||||
SunshineWearSyncHelper helper = new SunshineWearSyncHelper();
|
|
||||||
Random rnd = new Random();
|
|
||||||
helper.updateWear(this, rnd.nextInt(100), rnd.nextInt(100), R.drawable.art_fog);
|
|
||||||
}
|
}
|
||||||
|
// else if(id == R.id.syncWear) {
|
||||||
|
// SunshineWearSyncHelper helper = new SunshineWearSyncHelper();
|
||||||
|
// Random rnd = new Random();
|
||||||
|
// helper.updateWear(this, rnd.nextInt(100), rnd.nextInt(100), R.drawable.art_fog);
|
||||||
|
// }
|
||||||
return super.onOptionsItemSelected(item);
|
return super.onOptionsItemSelected(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,9 +21,9 @@
|
|||||||
android:title="@string/action_settings"
|
android:title="@string/action_settings"
|
||||||
android:orderInCategory="100"
|
android:orderInCategory="100"
|
||||||
app:showAsAction="never" />
|
app:showAsAction="never" />
|
||||||
<item android:id="@+id/syncWear"
|
<!--<item android:id="@+id/syncWear"-->
|
||||||
android:title="Sync wear"
|
<!--android:title="Sync wear"-->
|
||||||
android:orderInCategory="100"
|
<!--android:orderInCategory="100"-->
|
||||||
app:showAsAction="never"
|
<!--app:showAsAction="never"-->
|
||||||
/>
|
<!--/>-->
|
||||||
</menu>
|
</menu>
|
||||||
Reference in New Issue
Block a user