Android: Initialize resources in ChromeApplication.
This is a no-op for now. Also rename the initialization method to be more specific. Bug: 765428 Change-Id: I7cc24844de89a888df13c31141b476da71196304 Reviewed-on: https://chromium-review.googlesource.com/671026 Reviewed-by: Andrew Grieve <agrieve@chromium.org> Reviewed-by: Yaron Friedman <yfriedman@chromium.org> Commit-Queue: Eric Stevenson <estevenson@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#502630} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 10da07c8de893d2d1dc5de5df5f4c3afd43bf35c
This commit is contained in:
Родитель
d0e5dbb8fc
Коммит
1936c9dea2
|
@ -57,9 +57,9 @@ public abstract class BuildHooksAndroid {
|
|||
|
||||
protected abstract boolean isEnabledImpl();
|
||||
|
||||
public static void init() {
|
||||
sInstance.initImpl();
|
||||
public static void initCustomResources(Context context) {
|
||||
sInstance.initCustomResourcesImpl(context);
|
||||
}
|
||||
|
||||
protected abstract void initImpl();
|
||||
protected abstract void initCustomResourcesImpl(Context context);
|
||||
}
|
|
@ -34,5 +34,5 @@ public class BuildHooksAndroidImpl extends BuildHooksAndroid {
|
|||
return false;
|
||||
}
|
||||
|
||||
protected void initImpl() {}
|
||||
protected void initCustomResourcesImpl(Context context) {}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче