mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 09:33:06 +02:00
fix comments for ee18469e8c07
This commit is contained in:
@@ -114,10 +114,10 @@ public class ChartActivity extends Activity implements TrackDataListener {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
// 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).
|
||||
ApiAdapterFactory.getApiAdapter().showActionBar(this);
|
||||
ApiAdapterFactory.getApiAdapter().showActionBar(this);
|
||||
|
||||
setContentView(R.layout.mytracks_charts);
|
||||
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
|
||||
*/
|
||||
private void updateActionItems(boolean isRecording) {
|
||||
|
||||
@@ -44,7 +44,6 @@ import java.lang.reflect.Method;
|
||||
public class Api7Adapter implements ApiAdapter {
|
||||
|
||||
@Override
|
||||
|
||||
public PeriodicTask getStatusAnnouncerTask(Context context) {
|
||||
return new StatusAnnouncerTask(context);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user