@Override
public void finishNativeInitialization() {
// The window background color is used as the resizing background color in Android N+
// multi-window mode. See crbug.com/602366.
if (Build.VERSION.CODENAME.equals("N") || Build.VERSION.SDK_INT > Build.VERSION_CODES.M) {
getWindow().setBackgroundDrawable(new ColorDrawable(
ApiCompatibilityUtils.getColor(getResources(),
R.color.resizing_background_color)));
} else {
removeWindowBackground();
}
DownloadManagerService.getDownloadManagerService(
getApplicationContext()).onActivityLaunched();
super.finishNativeInitialization();
}
ChromeActivity.java 文件源码
java
阅读 42
收藏 0
点赞 0
评论 0
项目:chromium-for-android-56-debug-video
作者:
评论列表
文章目录