Commits work in progress on utilizing Android's native hardware (and software) decoding (and encoding) via MediaCodec.

cusax-fix
Lyubomir Marinov 13 years ago
parent 20b45ce9a6
commit 02acd44641

@ -576,9 +576,7 @@ public Map<String, Boolean> getBooleanPropertiesByPrefix(
propertyName = propertyNames.get(i);
properties.put(
propertyName,
new Boolean(this.getAccountPropertyBoolean(
propertyName,
defaultValue)));
getAccountPropertyBoolean(propertyName, defaultValue));
}
return properties;
@ -632,7 +630,7 @@ public Map<String, Integer> getIntegerPropertiesByPrefix(
propertyName = propertyNames.get(i);
properties.put(
propertyName,
new Integer(this.getAccountPropertyInt(propertyName, -1)));
getAccountPropertyInt(propertyName, -1));
}
return properties;

@ -374,13 +374,10 @@ public static void loadGuiConfigurations()
}
// Load the "showApplication" property.
String isVisible = configService.getString(
"net.java.sip.communicator.impl.systray.showApplication");
if(isVisible != null && isVisible.length() > 0)
{
isApplicationVisible = new Boolean(isVisible).booleanValue();
}
isApplicationVisible
= configService.getBoolean(
"net.java.sip.communicator.impl.systray.showApplication",
isApplicationVisible);
// Load the "showAppQuitWarning" property.
String quitWarningShown = configService.getString(
@ -446,19 +443,21 @@ public static void loadGuiConfigurations()
String isLeaveChatRoomOnWindowCloseEnabledString
= configService.getString(
isLeaveChatRoomOnWindowCloseEnabledStringProperty);
isLeaveChatRoomOnWindowCloseEnabledStringProperty);
if(isLeaveChatRoomOnWindowCloseEnabledString == null)
isLeaveChatRoomOnWindowCloseEnabledString =
UtilActivator.getResources().getSettingsString(
isLeaveChatRoomOnWindowCloseEnabledStringProperty);
{
isLeaveChatRoomOnWindowCloseEnabledString
= UtilActivator.getResources().getSettingsString(
isLeaveChatRoomOnWindowCloseEnabledStringProperty);
}
if(isLeaveChatRoomOnWindowCloseEnabledString != null
&& isLeaveChatRoomOnWindowCloseEnabledString.length() > 0)
{
isLeaveChatRoomOnWindowCloseEnabled
= new Boolean(isLeaveChatRoomOnWindowCloseEnabledString)
.booleanValue();
= Boolean.parseBoolean(
isLeaveChatRoomOnWindowCloseEnabledString);
}
// Load the "IS_MESSAGE_HISTORY_ENABLED" property.
@ -1209,7 +1208,7 @@ public static String getChatDefaultFontFamily()
public static int getChatDefaultFontSize()
{
if (defaultFontSize != null && defaultFontSize.length() > 0)
return new Integer(defaultFontSize).intValue();
return Integer.parseInt(defaultFontSize);
return -1;
}

Loading…
Cancel
Save