fix some build errors

This commit is contained in:
Christian Schneppe 2018-10-20 23:17:33 +02:00
parent 52a0ed62c4
commit d32be8ae19
6 changed files with 8 additions and 8 deletions

View file

@ -11,6 +11,7 @@
* enable foreground service by default for Android 8 (notification can be disabled by long pressing it) * enable foreground service by default for Android 8 (notification can be disabled by long pressing it)
* reworked MediaViewer * reworked MediaViewer
* support TLSv1.3 (ejabberd ≤ 18.06 is incompatible with openssl 1.1.1 - Update ejabberd or downgrade openssl if you get Stream opening error) * support TLSv1.3 (ejabberd ≤ 18.06 is incompatible with openssl 1.1.1 - Update ejabberd or downgrade openssl if you get Stream opening error)
* add push messages for playstore versions
* bug fixes * bug fixes
#### Version 2.1.0 #### Version 2.1.0

View file

@ -128,7 +128,6 @@ android {
productFlavors { productFlavors {
standardPush { standardPush {
dimension "distribution" dimension "distribution"
versionNameSuffix "+p"
} }
standard standard
} }
@ -168,7 +167,6 @@ android {
lintOptions { lintOptions {
disable 'ExtraTranslation', 'MissingTranslation', 'InvalidPackage', 'MissingQuantity', 'AppCompatResource', 'RestrictedApi' disable 'ExtraTranslation', 'MissingTranslation', 'InvalidPackage', 'MissingQuantity', 'AppCompatResource', 'RestrictedApi'
checkReleaseBuilds false
} }
subprojects { subprojects {

View file

@ -63,7 +63,9 @@ public class Resolver {
final Field useHardcodedDnsServers = DNSClient.class.getDeclaredField("useHardcodedDnsServers"); final Field useHardcodedDnsServers = DNSClient.class.getDeclaredField("useHardcodedDnsServers");
useHardcodedDnsServers.setAccessible(true); useHardcodedDnsServers.setAccessible(true);
useHardcodedDnsServers.setBoolean(dnsClient, false); useHardcodedDnsServers.setBoolean(dnsClient, false);
} catch (NoSuchFieldException | IllegalAccessException e) { } catch (NoSuchFieldException e) {
Log.e(Config.LOGTAG, "Unable to disable hardcoded DNS servers", e);
} catch (IllegalAccessException e) {
Log.e(Config.LOGTAG, "Unable to disable hardcoded DNS servers", e); Log.e(Config.LOGTAG, "Unable to disable hardcoded DNS servers", e);
} }
} }

View file

@ -169,7 +169,7 @@
<string name="passwords_do_not_match">Ang password ay hindi magkatugma</string> <string name="passwords_do_not_match">Ang password ay hindi magkatugma</string>
<string name="invalid_jid">Hindi ito balido na Jabber-ID</string> <string name="invalid_jid">Hindi ito balido na Jabber-ID</string>
<string name="error_out_of_memory">Wala ng memorya. Ang imahe ay napakalaki</string> <string name="error_out_of_memory">Wala ng memorya. Ang imahe ay napakalaki</string>
<string name="add_phone_book_text">Gusto mo bang magdagdag sa iyong address book?</string> <string name="add_phone_book_text">Gusto mo bang %s magdagdag sa iyong address book?</string>
<string name="server_info_show_more">Impormasyon sa server</string> <string name="server_info_show_more">Impormasyon sa server</string>
<string name="server_info_mam">XEP-0313: MAM</string> <string name="server_info_mam">XEP-0313: MAM</string>
<string name="server_info_carbon_messages">XEP-0280: Mensagheng karbon</string> <string name="server_info_carbon_messages">XEP-0280: Mensagheng karbon</string>
@ -185,7 +185,7 @@
<string name="missing_public_keys">Nawalang public key na mga anunsyo</string> <string name="missing_public_keys">Nawalang public key na mga anunsyo</string>
<string name="last_seen_now">online</string> <string name="last_seen_now">online</string>
<string name="last_seen_min">1 minutong nakalipas</string> <string name="last_seen_min">1 minutong nakalipas</string>
<string name="last_seen_mins">minutong nakalipas</string> <string name="last_seen_mins">%d minutong nakalipas</string>
<string name="last_seen_hour">1 oras na ang nakalipas</string> <string name="last_seen_hour">1 oras na ang nakalipas</string>
<string name="last_seen_hours">%d oras na nakalipas</string> <string name="last_seen_hours">%d oras na nakalipas</string>
<string name="last_seen_day">1 araw na nakalipas</string> <string name="last_seen_day">1 araw na nakalipas</string>

View file

@ -1,7 +1,6 @@
<resources> <resources>
<!-- 384dp is the screen width of the Nexus 4. Something like a Moto G is smaller but a Nexus 5X is larger --> <!-- 384dp is the screen width of the Nexus 4. Something like a Moto G is smaller but a Nexus 5X is larger -->
<!-- https://material.io/devices/ --> <!-- https://material.io/devices/ -->
<dimen name="fineprint_size">12sp</dimen>
<dimen name="audio_player_width">288dp</dimen> <dimen name="audio_player_width">288dp</dimen>
<dimen name="avatar_on_details_screen_size">72dp</dimen> <dimen name="avatar_on_details_screen_size">72dp</dimen>
<dimen name="media_size">64dp</dimen> <!-- ideally not larger than avatar_on_details_screen --> <dimen name="media_size">64dp</dimen> <!-- ideally not larger than avatar_on_details_screen -->