forked from organicmaps/organicmaps
Added app version to bugreport.
This commit is contained in:
parent
fa5c2a3eee
commit
7a463c166b
1 changed files with 3 additions and 1 deletions
|
@ -27,6 +27,7 @@ import android.view.inputmethod.InputMethodManager;
|
|||
import android.webkit.WebView;
|
||||
import android.webkit.WebViewClient;
|
||||
|
||||
import com.mapswithme.maps.BuildConfig;
|
||||
import com.mapswithme.maps.MWMApplication;
|
||||
import com.mapswithme.maps.R;
|
||||
import com.mapswithme.util.Constants;
|
||||
|
@ -320,7 +321,8 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference
|
|||
final Intent intent = new Intent(Intent.ACTION_SENDTO);
|
||||
intent.setData(Utils.buildMailUri(Constants.Url.MAIL_MAPSME_BUGS, "",
|
||||
"Android version : " + Build.VERSION.RELEASE + "\n" +
|
||||
"Device name : " + android.os.Build.MANUFACTURER + " " + android.os.Build.MODEL + "\n\n"
|
||||
"Device name : " + Build.MANUFACTURER + " " + Build.MODEL + "\n" +
|
||||
"App version : " + BuildConfig.PACKAGE_NAME + " " + BuildConfig.VERSION_NAME + "\n\n"
|
||||
));
|
||||
startActivity(intent);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue