diff options
author | cretin45 <cretin45@gmail.com> | 2015-01-27 14:34:17 -0800 |
---|---|---|
committer | cretin45 <cretin45@gmail.com> | 2015-01-27 14:34:17 -0800 |
commit | 8f60f420e7a06718df26f816d800efbf3e721df7 (patch) | |
tree | f96a9b9d3329ac3aca6814b7658cd30cf948997e /src/com/cyanogenmod/setupwizard/setup/WelcomePage.java | |
parent | 84e431e1314f24c23747182150bb59d4fa1b8708 (diff) | |
download | packages_apps_SetupWizard-8f60f420e7a06718df26f816d800efbf3e721df7.zip packages_apps_SetupWizard-8f60f420e7a06718df26f816d800efbf3e721df7.tar.gz packages_apps_SetupWizard-8f60f420e7a06718df26f816d800efbf3e721df7.tar.bz2 |
SetupWizard: Add config for branded devices and sim card resource
Change-Id: I6a5b0de93dd254826827d7a1501eb3e95901678e
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup/WelcomePage.java')
-rw-r--r-- | src/com/cyanogenmod/setupwizard/setup/WelcomePage.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/WelcomePage.java b/src/com/cyanogenmod/setupwizard/setup/WelcomePage.java index 920479e..be04d9f 100644 --- a/src/com/cyanogenmod/setupwizard/setup/WelcomePage.java +++ b/src/com/cyanogenmod/setupwizard/setup/WelcomePage.java @@ -24,7 +24,7 @@ import android.content.res.Configuration; import android.content.res.Resources; import android.os.Bundle; import android.os.Handler; -import android.os.UserHandle; +import android.view.View; import android.widget.ArrayAdapter; import android.widget.NumberPicker; @@ -110,6 +110,11 @@ public class WelcomePage extends SetupPage { protected void initializePage() { mLanguagePicker = (LocalePicker) mRootView.findViewById(R.id.locale_list); loadLanguages(); + final boolean brandedDevice = getResources().getBoolean( + R.bool.branded_device); + if (brandedDevice) { + mRootView.findViewById(R.id.powered_by_logo).setVisibility(View.VISIBLE); + } } private void loadLanguages() { |