mirror of
https://github.com/ppy/osu
synced 2024-12-23 23:33:36 +00:00
Add note about substring usage
This commit is contained in:
parent
3f1b9edabe
commit
115ea244be
@ -33,6 +33,7 @@ namespace osu.Android
|
||||
if (Build.VERSION.SdkInt >= BuildVersionCodes.P)
|
||||
{
|
||||
versionName = packageInfo.LongVersionCode.ToString();
|
||||
// ensure we only read the trailing portion of long (the part we are interested in).
|
||||
versionName = versionName.Substring(versionName.Length - 9);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user