From c51053c39bb6ea9a8dae481616aa4690ec02d4ab Mon Sep 17 00:00:00 2001 From: Inseob Kim Date: Wed, 19 Dec 2018 21:44:18 +0900 Subject: Schematize Setup Wizard System Properties Properties accessed across partitions are now schematized and will become APIs to make explicit interfaces among partitions. Bug: 117924132 Test: mma -j Change-Id: Ie6452a01669f5f4de8f74d9e90c6abd4f8e2c33d (cherry picked from commit 30f595ee1f9b0f1e9d81670ba262f9c1e4af33bd) --- .../src/com/android/simappdialog/InstallCarrierAppActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/SimAppDialog/src') diff --git a/packages/SimAppDialog/src/com/android/simappdialog/InstallCarrierAppActivity.java b/packages/SimAppDialog/src/com/android/simappdialog/InstallCarrierAppActivity.java index 8e8d9f741a81..abe82a885a94 100644 --- a/packages/SimAppDialog/src/com/android/simappdialog/InstallCarrierAppActivity.java +++ b/packages/SimAppDialog/src/com/android/simappdialog/InstallCarrierAppActivity.java @@ -18,7 +18,7 @@ package com.android.simappdialog; import android.app.Activity; import android.content.Intent; import android.os.Bundle; -import android.os.SystemProperties; +import android.sysprop.SetupWizardProperties; import android.text.TextUtils; import android.view.View; import android.widget.Button; @@ -51,7 +51,7 @@ public class InstallCarrierAppActivity extends Activity implements View.OnClickL // Setup theme for aosp/pixel setTheme( WizardManagerHelper.getThemeRes( - SystemProperties.get("setupwizard.theme"), + SetupWizardProperties.theme().orElse(""), R.style.SuwThemeGlif_Light ) ); -- cgit v1.2.3-59-g8ed1b