From f0866caba3680f1651b83eafad8455c02e1ca726 Mon Sep 17 00:00:00 2001 From: madwasp79 Date: Tue, 7 May 2019 16:11:50 +0300 Subject: [PATCH] cleanup --- OsmAnd/AndroidManifest.xml | 1648 ++++++++--------- .../plus/profiles/EditProfileFragment.java | 3 - 2 files changed, 741 insertions(+), 910 deletions(-) diff --git a/OsmAnd/AndroidManifest.xml b/OsmAnd/AndroidManifest.xml index 069173225e..d805bf6ddc 100644 --- a/OsmAnd/AndroidManifest.xml +++ b/OsmAnd/AndroidManifest.xml @@ -1,1064 +1,897 @@ + android:installLocation="auto" + package="net.osmand.plus"> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - + + - - + + + + + + + + + + + android:grantUriPermissions="true" > + android:resource="@xml/paths" /> - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + https://stackoverflow.com/a/31028507/4654078 --> - - - - - + + + - - - - - + + + + + + - - - - - + + + - - - - - + + + + + + - - - - - + + + - - - - - + + + + + + - - - - - + + + - - - - - + + + + + + - - - - - + + + - - - - - + + + + + + - - - - - + + + - - - - - + + + + + + - - - - - + + + - - - - - + + + + + + - - - - - + + + - - - - - + + + + + + - - - - - + + + - - - - - - + + + + + + - + - - + - - + - - - - - - + + + + - - - - - + + + + - + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + - - - - - - - - - - + + + + + + + + + + + + - - - - - + + + - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + --> - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + - + - + + - - - + + - - + + + - - - - - - - - - - - - - + + + + + + + + + + + + - + + - + android:label="Application profiles" + /> + + + - \ No newline at end of file diff --git a/OsmAnd/src/net/osmand/plus/profiles/EditProfileFragment.java b/OsmAnd/src/net/osmand/plus/profiles/EditProfileFragment.java index e15ccc92bd..f6bdc7a60b 100644 --- a/OsmAnd/src/net/osmand/plus/profiles/EditProfileFragment.java +++ b/OsmAnd/src/net/osmand/plus/profiles/EditProfileFragment.java @@ -145,13 +145,10 @@ public class EditProfileFragment extends BaseOsmAndFragment { title = profile.getUserProfileTitle(); profileNameEt.setText(title); startIconId = profile.iconId; - } else if (isNew) { isDataChanged = true; title = String .format("Custom %s", getResources().getString(profile.parent.getStringResource())); -// profileNameEt.setText(title); - //profileNameEt.selectAll(); startIconId = profile.getParent().getSmallIconDark(); profile.setIconId(startIconId); } else if (profile.getKey() != -1) {