mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00

By default, literal numbers are `int`. If the size of a zim doesn't fit in a `int`, java will complains. By appending a `L` at the end of the literal number, java will interpret it as a `long` and will accept it.
17 lines
893 B
Java
17 lines
893 B
Java
package org.kiwix.kiwixmobile.settings;
|
|
|
|
public class Constants {
|
|
public static final boolean IS_CUSTOM_APP = true;
|
|
public static final String CUSTOM_APP_ID = "~package~";
|
|
public static final boolean CUSTOM_APP_HAS_EMBEDDED_ZIM = ~embed_zim~;
|
|
public static final String CUSTOM_APP_ZIM_FILE_NAME = "~zim_name~";
|
|
public static final long CUSTOM_APP_ZIM_FILE_SIZE = ~zim_size~L;
|
|
public static final String CUSTOM_APP_VERSION_NAME = "~version_name~";
|
|
public static final int CUSTOM_APP_VERSION_CODE = ~version_code~;
|
|
public static final int CUSTOM_APP_CONTENT_VERSION_CODE = ~content_version_code~;
|
|
public static final String CUSTOM_APP_WEBSITE = "~website~";
|
|
public static final String CUSTOM_APP_EMAIL = "~support_email~";
|
|
public static final String CUSTOM_APP_SUPPORT_EMAIL = "~support_email~";
|
|
public static final String CUSTOM_APP_ENFORCED_LANG = "~enforced_lang~";
|
|
}
|