diff --git a/setupwizard/Android.bp b/setupwizard/Android.bp new file mode 100644 index 0000000..04a094c --- /dev/null +++ b/setupwizard/Android.bp @@ -0,0 +1,22 @@ +android_app { + name: "SetupWizardIntel", + + srcs: ["src/**/*.java"], + resource_dirs: ["res"], + + certificate: "platform", + privileged: true, + system_ext_specific: true, + platform_apis: true, + + overrides: ["SetupWizard"], + + static_libs: [ + "androidx.activity_activity", + "SettingsLib", + "setupcompat", + "setupdesign", + "SystemUISharedLib", + ], + +} diff --git a/setupwizard/AndroidManifest.xml b/setupwizard/AndroidManifest.xml new file mode 100644 index 0000000..a4c56b9 --- /dev/null +++ b/setupwizard/AndroidManifest.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/setupwizard/res/values/strings.xml b/setupwizard/res/values/strings.xml new file mode 100644 index 0000000..e02d611 --- /dev/null +++ b/setupwizard/res/values/strings.xml @@ -0,0 +1,22 @@ + + + + + + Intel setup wizard + 1.2.1849.release + diff --git a/setupwizard/src/com/intel/setupwizard/PartnerReceiver.java b/setupwizard/src/com/intel/setupwizard/PartnerReceiver.java new file mode 100644 index 0000000..fb716b5 --- /dev/null +++ b/setupwizard/src/com/intel/setupwizard/PartnerReceiver.java @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intel.car.setupwizard; + +import android.content.BroadcastReceiver; +import android.content.Context; +import android.content.Intent; + +/** + * This is not a real receiver, but only used as a marker interface so that Setup Wizard can resolve + * this package and fetch resources from here. + * + * Partners should include a copy of this receiver in their package and in their manifest in order + * to override custom resources in the setup wizard. + */ +public class PartnerReceiver extends BroadcastReceiver { + + @Override + public void onReceive(Context context, Intent intent) { + } +}