客制化主要通过添加对应ChromeCustomizations.apk(主页)及PartnerBookmarksProvider.apk(书签)来实现
客制化默认主页
客制化默认主页只需要将原生默认主页修改为自己需要的即可
源生默认主页为http://www.android.com
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Package path can be changed, but should match <manifest package="..."> in AndroidManifest.xml.
package com.android.partnerbrowsercustomizations;
import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.MatrixCursor;
import android.net.Uri;
// Class name can be changed, but should match <provider android:name="..."> in AndroidManifest.xml.
public class PartnerHomepageProvider extends ContentProvider {
// "http://www.android.com/" is just an example. Please replace this