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

Commit 0e88d32b authored by Sid Soundararajan's avatar Sid Soundararajan
Browse files

RecentsTV : Remove all Recents TV Code

This patch will remove the Recents TV Code from SystemUI.

Test: To test this removes the Recents Feature and has no
side effects, try to launch recents with long-press HOME. This
should result in launching the phone version of recents.

BUG: 36035359
Change-Id: I9026b480968575ce08e1ce344512f168fdc5fe87
parent 1c83656e
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -300,20 +300,6 @@
            </intent-filter>
        </activity>

        <activity android:name=".recents.tv.RecentsTvActivity"
                  android:label="@string/accessibility_desc_recent_apps"
                  android:exported="false"
                  android:launchMode="singleInstance"
                  android:excludeFromRecents="true"
                  android:stateNotNeeded="true"
                  android:resumeWhilePausing="true"
                  android:screenOrientation="behind"
                  android:theme="@style/RecentsTvTheme.Wallpaper">
            <intent-filter>
                <action android:name="com.android.systemui.recents.TOGGLE_RECENTS" />
            </intent-filter>
        </activity>

        <activity
            android:name=".stackdivider.ForcedResizableInfoActivity"
            android:theme="@style/ForcedResizableTheme"
+0 −34
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 The Android Open Source 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.
-->

<set xmlns:android="http://schemas.android.com/apk/res/android">

    <objectAnimator
        android:propertyName="translationY"
        android:valueTo="0dp"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:duration="@integer/recents_tv_pip_focus_anim_duration" />
    <objectAnimator
        android:propertyName="scaleX"
        android:valueTo="1.0"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:duration="@integer/recents_tv_pip_focus_anim_duration" />
    <objectAnimator
        android:propertyName="scaleY"
        android:valueTo="1.0"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:duration="@integer/recents_tv_pip_focus_anim_duration" />
</set>
+0 −34
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 The Android Open Source 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.
-->

<set xmlns:android="http://schemas.android.com/apk/res/android">

    <objectAnimator
        android:propertyName="translationY"
        android:valueTo="-57dp"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:duration="@integer/recents_tv_pip_focus_anim_duration" />
    <objectAnimator
        android:propertyName="scaleX"
        android:valueTo="0.7"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:duration="@integer/recents_tv_pip_focus_anim_duration" />
    <objectAnimator
        android:propertyName="scaleY"
        android:valueTo="0.7"
        android:interpolator="@android:interpolator/fast_out_slow_in"
        android:duration="@integer/recents_tv_pip_focus_anim_duration" />
</set>
+0 −21
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 The Android Open Source 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.
-->

<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
    android:propertyName="alpha"
    android:valueTo="1"
    android:interpolator="@android:interpolator/fast_out_slow_in"
    android:duration="100" />
+0 −22
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 The Android Open Source 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"
       android:shape="rectangle">
    <gradient
            android:startColor="#4C000000"
            android:endColor="#72000000"
            android:angle="90"/>
</shape>
 No newline at end of file
Loading