mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
Remove implied default locale in case conversion
Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
parent
81734bd647
commit
c26d6afddb
@ -115,7 +115,7 @@ android {
|
|||||||
|
|
||||||
android.applicationVariants.all { variant ->
|
android.applicationVariants.all { variant ->
|
||||||
String variantName = variant.name
|
String variantName = variant.name
|
||||||
String capVariantName = variantName.substring(0, 1).toUpperCase() + variantName.substring(1)
|
String capVariantName = variantName.substring(0, 1).toUpperCase(Locale.ROOT) + variantName.substring(1)
|
||||||
tasks.register("spotbugs${capVariantName}Report", SpotBugsTask) {
|
tasks.register("spotbugs${capVariantName}Report", SpotBugsTask) {
|
||||||
ignoreFailures = true // should continue checking
|
ignoreFailures = true // should continue checking
|
||||||
effort = "max"
|
effort = "max"
|
||||||
|
@ -80,6 +80,7 @@ import java.util.Collections;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Locale;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
@ -540,7 +541,8 @@ public class ContactsController extends BaseController implements SearchView.OnQ
|
|||||||
} else if (participant.getActorType() == Participant.ActorType.CIRCLES) {
|
} else if (participant.getActorType() == Participant.ActorType.CIRCLES) {
|
||||||
headerTitle = getResources().getString(R.string.nc_circles);
|
headerTitle = getResources().getString(R.string.nc_circles);
|
||||||
} else {
|
} else {
|
||||||
headerTitle = participant.getDisplayName().substring(0, 1).toUpperCase();
|
headerTitle =
|
||||||
|
participant.getDisplayName().substring(0, 1).toUpperCase(Locale.getDefault());
|
||||||
}
|
}
|
||||||
|
|
||||||
GenericTextHeaderItem genericTextHeaderItem;
|
GenericTextHeaderItem genericTextHeaderItem;
|
||||||
|
@ -92,8 +92,8 @@ public class MagicWebRTCUtils {
|
|||||||
|
|
||||||
|
|
||||||
public static boolean shouldEnableVideoHardwareAcceleration() {
|
public static boolean shouldEnableVideoHardwareAcceleration() {
|
||||||
return (!HARDWARE_ACCELERATION_VENDOR_BLACKLIST.contains(Build.MANUFACTURER.toLowerCase())
|
return (!HARDWARE_ACCELERATION_VENDOR_BLACKLIST.contains(Build.MANUFACTURER.toLowerCase(Locale.ROOT))
|
||||||
&& !HARDWARE_ACCELERATION_DEVICE_BLACKLIST.contains(Build.MODEL.toUpperCase()));
|
&& !HARDWARE_ACCELERATION_DEVICE_BLACKLIST.contains(Build.MODEL.toUpperCase(Locale.ROOT)));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String preferCodec(String sdpDescription, String codec, boolean isAudio) {
|
public static String preferCodec(String sdpDescription, String codec, boolean isAudio) {
|
||||||
|
Loading…
Reference in New Issue
Block a user