LineageParts: Add an activity to show the Lineage platform logo
*) Launched by lineage-sdk LineageVersionPreference when triple-clicking
LineageOS version field in About phone.
*) Easter egg code is retained (from AOSP original code) but disabled by
commenting out the setOnLongClickListener() call. We can reenable
later when needed.
Credit: Asher Simonds
Change-Id: Ie2b092bafd3588270177648003dafed8226cf298
Signed-off-by: Joey Rizzoli <joey@lineageos.it>
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index b205286..4bb6242 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -257,5 +257,14 @@
android:label="@string/profile_select"
android:excludeFromRecents="true"/>
+ <activity android:name=".logo.PlatLogoActivity"
+ android:theme="@android:style/Theme.Wallpaper.NoTitleBar.Fullscreen"
+ android:configChanges="orientation|keyboardHidden">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+
</application>
</manifest>