diff options
author | Zhao Wei Liew <zhaoweiliew@gmail.com> | 2017-01-14 02:29:24 +0800 |
---|---|---|
committer | Zhao Wei Liew <zhaoweiliew@gmail.com> | 2017-01-16 10:33:17 +0000 |
commit | 1bdefa08e856bbcac3475f42aa9bf194c9b83b27 (patch) | |
tree | fd3d1b9db251f73e8ce7375f32246f1088fc7601 /src/com/android | |
parent | 8535ca7c5b3eb96be20ef16c33d805ebe5bfbbf0 (diff) | |
download | packages_apps_Settings-1bdefa08e856bbcac3475f42aa9bf194c9b83b27.zip packages_apps_Settings-1bdefa08e856bbcac3475f42aa9bf194c9b83b27.tar.gz packages_apps_Settings-1bdefa08e856bbcac3475f42aa9bf194c9b83b27.tar.bz2 |
DeviceInfo: Set is_lineage intent when launching PlatLogo
We use this to decide whether to launch the LineageOS PlatLogo.
Change-Id: I23dfc7b6aa6b8d96d45a757a4b44f2399e62196c
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/settings/DeviceInfoSettings.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/settings/DeviceInfoSettings.java b/src/com/android/settings/DeviceInfoSettings.java index 41e14ba..3eb2f90 100644 --- a/src/com/android/settings/DeviceInfoSettings.java +++ b/src/com/android/settings/DeviceInfoSettings.java @@ -254,6 +254,7 @@ public class DeviceInfoSettings extends SettingsPreferenceFragment implements In } Intent intent = new Intent(Intent.ACTION_MAIN); + intent.putExtra("is_lineage", preference.getKey().equals(KEY_MOD_VERSION)); intent.setClassName("android", com.android.internal.app.PlatLogoActivity.class.getName()); try { |