android: AndrOBD library vendored (no submodule, no git link)

This commit is contained in:
“Naeel”
2026-05-25 09:36:38 +04:00
parent 361fe8803d
commit b3b044572c
193 changed files with 61446 additions and 8 deletions
@@ -0,0 +1,31 @@
package com.fr3ts0n.common;
import java.util.ResourceBundle;
/**
* Wrapper class to ensure UTF8 encoding for resource bundle reading
*
* @author fr3ts0n
*/
public class UTF8Bundle
{
private static ResourceBundle.Control ctrl = null;
public UTF8Bundle(ResourceBundle.Control control)
{
ctrl = control;
}
public static ResourceBundle getBundle(String bundleName)
{
if (ctrl != null)
{
return ResourceBundle.getBundle(bundleName, ctrl);
}
else
{
return ResourceBundle.getBundle(bundleName);
}
}
}