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

Commit 3b1fc47d authored by Michael Jurka's avatar Michael Jurka
Browse files

Port recent apps from tablet to phone

- wire up to long press on home
- remove unused recents activity
- remove duplicate recents resources in -large directories (using -sw600dp instead)
- fix issue with zoom/scale translation when recents was brought up

Change-Id: I45538ccaff49b46ac3659c4828f9e2b0cd075241
parent f71e5469
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -35,5 +35,6 @@ oneway interface IStatusBar
    void setImeWindowStatus(in IBinder token, int vis, int backDisposition);
    void setHardKeyboardStatus(boolean available, boolean enabled);
    void userActivity();
    void toggleRecentApps();
}
+1 −0
Original line number Diff line number Diff line
@@ -47,4 +47,5 @@ interface IStatusBarService
    void setSystemUiVisibility(int vis);
    void setHardKeyboardEnabled(boolean enabled);
    void userActivity();
    void toggleRecentApps();
}
+4 −2
Original line number Diff line number Diff line
@@ -389,9 +389,11 @@
    <!-- Control the behavior when the user long presses the power button.
            0 - Nothing
            1 - Recent apps dialog
            2 - Recent apps activity in SystemUI
            2 - Recent apps view in SystemUI
         This needs to match the constants in
         policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
    -->
    <integer name="config_longPressOnHomeBehavior">1</integer>
    <integer name="config_longPressOnHomeBehavior">2</integer>

    <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
         The N entries of this array define N + 1 zones as follows:
+0 −7
Original line number Diff line number Diff line
@@ -33,13 +33,6 @@
                android:excludeFromRecents="true">
        </activity>

        <activity android:name=".recent.RecentApplicationsActivity"
            android:theme="@android:style/Theme.NoTitleBar"
            android:excludeFromRecents="true"
            android:launchMode="singleInstance"
            android:exported="true">
        </activity>

        <!-- started from UsbDeviceSettingsManager -->
        <activity android:name=".usb.UsbConfirmActivity"
            android:exported="true"
−2.18 KiB (1.71 KiB)
Loading image diff...
Loading