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

Commit 0d579695 authored by Danesh M's avatar Danesh M Committed by Steve Kondik
Browse files

Framework : Lockscreen background customization (1/2)

Allow user to customize lockscreen background (port from cm7)

Part 2 : http://review.cyanogenmod.com/#/c/16914/
Part 3 : Minor edits
Part 4 : Fix crash on tablets. Added nullcheck to ViewGroup Layout
Part 5 : Add missing id to layout
Part 6 : Reordering/renaming of setBackground

Change-Id: I3f904486b8c7bcfcb63f54937810f6ee9c1721ef
parent c9230914
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2431,6 +2431,12 @@ public final class Settings {
         */
        public static final String QUIET_HOURS_DIM = "quiet_hours_dim";

        /**
         * Sets the lockscreen background style
         * @hide
         */
        public static final String LOCKSCREEN_BACKGROUND = "lockscreen_background";

        /**
         * Show the weather on the lock screen
         * @hide
+2 −1
Original line number Diff line number Diff line
@@ -21,7 +21,8 @@
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    android:layout_height="match_parent"
    android:id="@+id/root">

    <!-- left side: status and music -->
    <RelativeLayout
+2 −1
Original line number Diff line number Diff line
@@ -20,7 +20,8 @@
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    android:layout_height="match_parent"
    android:id="@+id/root">

    <!-- top: status and emergency/forgot pattern buttons -->
    <RelativeLayout
+2 −1
Original line number Diff line number Diff line
@@ -25,7 +25,8 @@
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    android:layout_height="match_parent"
    android:id="@+id/root">

    <!-- left side: status and music -->
    <RelativeLayout
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
<com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:id="@+id/root"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

Loading