Renamed to OSM Live

This commit is contained in:
GaidamakUA 2015-12-29 17:52:07 +02:00
parent 6b79355f33
commit f513bff506
4 changed files with 5 additions and 5 deletions

View file

@ -289,7 +289,8 @@
<action android:name="android.app.action.DEVICE_ADMIN_DISABLED" /> <action android:name="android.app.action.DEVICE_ADMIN_DISABLED" />
</intent-filter> </intent-filter>
</receiver> </receiver>
<activity android:name=".liveupdates.LiveUpdatesActivity"/> <activity android:name=".liveupdates.LiveUpdatesActivity"
android:label="@string/osm_live"/>
<receiver android:name="net.osmand.plus.liveupdates.LiveUpdatesAlarmReceiver"/> <receiver android:name="net.osmand.plus.liveupdates.LiveUpdatesAlarmReceiver"/>
</application> </application>
</manifest> </manifest>

View file

@ -2147,4 +2147,5 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A
<string name="weekly">Weekly</string> <string name="weekly">Weekly</string>
<string name="morning">Morning</string> <string name="morning">Morning</string>
<string name="Night">Night</string> <string name="Night">Night</string>
<string name="osm_live">OSM Live</string>
</resources> </resources>

View file

@ -4,8 +4,6 @@ import android.app.Activity;
import android.app.Dialog; import android.app.Dialog;
import android.content.DialogInterface; import android.content.DialogInterface;
import android.content.Intent; import android.content.Intent;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask; import android.os.AsyncTask;
import android.os.Bundle; import android.os.Bundle;
import android.support.v7.app.AlertDialog; import android.support.v7.app.AlertDialog;
@ -668,7 +666,7 @@ public class MapActivityActions implements DialogProvider {
} }
}).reg(); }).reg();
optionsMenuHelper.item(R.string.download_live_updates).iconColor(R.drawable.ic_configure_screen_dark) optionsMenuHelper.item(R.string.osm_live).iconColor(R.drawable.ic_configure_screen_dark)
.listen(new OnContextMenuClick() { .listen(new OnContextMenuClick() {
@Override @Override
public boolean onContextMenuClick(ArrayAdapter<?> adapter, int itemId, int pos, boolean isChecked) { public boolean onContextMenuClick(ArrayAdapter<?> adapter, int itemId, int pos, boolean isChecked) {

View file

@ -246,7 +246,7 @@ public class LiveUpdatesFragment extends Fragment {
@Override @Override
public String getGroup(int groupPosition) { public String getGroup(int groupPosition) {
if (groupPosition == SHOULD_UPDATE_GROUP_POSITION) { if (groupPosition == SHOULD_UPDATE_GROUP_POSITION) {
return getString(R.string.live_updates); return getString(R.string.download_live_updates);
} else if (groupPosition == SHOULD_NOT_UPDATE_GROUP_POSITION) { } else if (groupPosition == SHOULD_NOT_UPDATE_GROUP_POSITION) {
return getString(R.string.available_maps); return getString(R.string.available_maps);
} else { } else {