forked from upstream-mirrors/OpenTracks
fix comments for ee18469e8c07
This commit is contained in:
@@ -114,10 +114,10 @@ public class ChartActivity extends Activity implements TrackDataListener {
|
|||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
// The volume we want to control is the Text-To-Speech volume
|
// The volume we want to control is the Text-To-Speech volume
|
||||||
setVolumeControlStream(TextToSpeech.Engine.DEFAULT_STREAM);
|
setVolumeControlStream(TextToSpeech.Engine.DEFAULT_STREAM);
|
||||||
|
|
||||||
// Show the action bar (or nothing at all).
|
// Show the action bar (or nothing at all).
|
||||||
ApiAdapterFactory.getApiAdapter().showActionBar(this);
|
ApiAdapterFactory.getApiAdapter().showActionBar(this);
|
||||||
|
|
||||||
setContentView(R.layout.mytracks_charts);
|
setContentView(R.layout.mytracks_charts);
|
||||||
ViewGroup layout = (ViewGroup) findViewById(R.id.elevation_chart);
|
ViewGroup layout = (ViewGroup) findViewById(R.id.elevation_chart);
|
||||||
|
|||||||
@@ -87,8 +87,13 @@ class MenuManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the action items.
|
* Updates the action items.<br>
|
||||||
*
|
* TODO: also update the action items when
|
||||||
|
* <ul>
|
||||||
|
* <li>start/stop a recording from the home screen widget.<il>
|
||||||
|
* <li>receive a direct service call to start/stop a recording.<il>
|
||||||
|
* </ul>
|
||||||
|
*
|
||||||
* @param isRecording true if recording a track
|
* @param isRecording true if recording a track
|
||||||
*/
|
*/
|
||||||
private void updateActionItems(boolean isRecording) {
|
private void updateActionItems(boolean isRecording) {
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ import java.lang.reflect.Method;
|
|||||||
public class Api7Adapter implements ApiAdapter {
|
public class Api7Adapter implements ApiAdapter {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
||||||
public PeriodicTask getStatusAnnouncerTask(Context context) {
|
public PeriodicTask getStatusAnnouncerTask(Context context) {
|
||||||
return new StatusAnnouncerTask(context);
|
return new StatusAnnouncerTask(context);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user