Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a6ac45a authored by meganukebmp's avatar meganukebmp Committed by Michael Bestas
Browse files

LineageParts: Add unique easter egg

Android Oreo is an octopus, lets be a squid instead!
https://i.imgur.com/od1DSRL.png
https://i.imgur.com/PmmrdV1.png
https://i.imgur.com/6mpdSuq.png
https://www.youtube.com/watch?v=O6Gi7ClQZ6U

Change-Id: I5c69190ac931cc287c9b98ca11fac1a92ecc013d
parent 2c68b7c5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_STATIC_JAVA_LIBRARIES := \
    android-support-v4 \
    android-support-v13 \
    android-support-dynamic-animation \
    android-support-v7-recyclerview \
    android-support-v7-preference \
    android-support-v7-appcompat \
+10 −0
Original line number Diff line number Diff line
@@ -248,5 +248,15 @@
            </intent-filter>
        </activity>

        <activity android:name=".egg.octo.Ocquarium"
            android:theme="@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen"
            android:label="@string/egg_title">
            <intent-filter>
                <action android:name="org.lineageos.lineageparts.EASTER_EGG"/>
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="com.android.internal.category.PLATLOGO" />
            </intent-filter>
        </activity>

    </application>
</manifest>
+24 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (C) 2017 The Android Open Source Project
    Copyright (C) 2017 The LineageOS Project

    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.
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <gradient android:angle="-90"
        android:startColor="#FF167c80"
        android:endColor="#FF084A4C"
        android:type="linear"
        />
</shape>
 No newline at end of file
+28 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (C) 2017 The LineageOS Project

    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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="512dp"
    android:height="256dp"
    android:viewportWidth="512"
    android:viewportHeight="256">

    <path
        android:fillColor="#167c80"
        android:pathData="M416,128a39.92,39.92,0,0,0-31.11,14.87l-1.5-.6A294.78,294.78,0,0,0,336,128.14s0-.09,0-.14a80,80,0,0,0-160,0s0,.09,0,.13l-1.71
.37 a293.48,293.48,0,0,0-45.67,13.76l-1.5 .6
a40,40,0,1,0,7.39,14.28h0a277.34,277.34,0,0,1,43.1-13,80,80,0,0,0,156.73,0,277.3,277.3,0,0,1,43.11,13h0A40,40,0,1,0,416,128ZM96,192a24,24,0,1,1,24-24A24,24,0,0,1,96,192Zm160,0a64,64,0,1,1,64-64A64.07,64.07,0,0,1,256,192Zm160,0a24,24,0,1,1,24-24A24,24,0,0,1,416,192ZM288,128a32,32,0,1,1-32-32A32,32,0,0,1,288,128Z" />
</vector>
+3 −0
Original line number Diff line number Diff line
@@ -672,4 +672,7 @@
    <string name="touchscreen_gesture_action_next_track">Skip to the next music track</string>
    <string name="touchscreen_gesture_action_volume_down">Lower media volume</string>
    <string name="touchscreen_gesture_action_volume_up">Raise media volume</string>

    <!-- Egg: Title for the easter egg activity -->
    <string name="egg_title">Easter Egg</string>
</resources>
Loading