提交 dd745673 编写于 作者: A Adam Barth

public org.domokit.sky.shell.SkyMain.ensureInitialized()

It's useful to be able to call org.domokit.sky.shell.SkyMain.ensureInitialized() when implementing custom Android Activities. This commit makes ensureInitialized() public for this purpose.

Unrelated changes:
Added curly braces to pass PRESUBMIT check.
Add Lex Berezhny <lex@damoti.com> to AUTHORS file in order to be able to commit fixes (and pass PRESUBMIT check).

Patch by Lex Berezhny <lex@damoti.com>.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/1135953004
上级 3ceb5dc0
......@@ -25,9 +25,10 @@ public class SkyMain {
/**
* Initializes the native system.
**/
static void ensureInitialized(Context applicationContext) {
if (sInitialized)
public static void ensureInitialized(Context applicationContext) {
if (sInitialized) {
return;
}
try {
ResourceExtractor resourceExtractor = ResourceExtractor.get(applicationContext);
resourceExtractor.startExtractingResources();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册