About : Fix No virtual method getLongVersionCode()

- I'm not sure what Google is upto, first mark packageInfo.versionCode
    as deprecated in favour of getLongVersionCode(), then throw error
    when getLongVersionCode() is used.
This commit is contained in:
Mr. Dragon
2019-03-24 04:35:14 +05:30
parent ff1b81064e
commit 7c1b37db2d

View File

@@ -77,7 +77,7 @@ public class AboutFragment extends Fragment {
.append("v")
.append(packageInfo.versionName)
.append(".")
.append(packageInfo.getLongVersionCode()));
.append(packageInfo.versionCode));
} catch (Exception ignored) {
}
}