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

Commit ec667f9f authored by Nataniel Borges's avatar Nataniel Borges
Browse files

4/ Delete flicker test apps from WMShell package

Test: atest FlickerLibTest && atest FlickerTests
Change-Id: I4a71fedb8190c82abd5649b3d99c9c6cf0cb934e
parent 816c9464
Loading
Loading
Loading
Loading
+0 −35
Original line number Diff line number Diff line
// Copyright (C) 2020 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.

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

android_test {
    name: "WMShellFlickerTestApp",
    srcs: ["**/*.java"],
    sdk_version: "current",
    test_suites: ["device-tests"],
}

java_library {
    name: "wmshell-flicker-test-components",
    srcs: ["src/**/Components.java"],
    sdk_version: "test_current",
}
+0 −147
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 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.
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.android.wm.shell.flicker.testapp">

    <uses-sdk android:minSdkVersion="29"
         android:targetSdkVersion="29"/>
    <application android:allowBackup="false"
         android:supportsRtl="true">
        <activity android:name=".FixedActivity"
                  android:resizeableActivity="true"
                  android:supportsPictureInPicture="true"
                  android:launchMode="singleTop"
                  android:theme="@style/CutoutShortEdges"
                  android:label="FixedApp"
                  android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <activity android:name=".PipActivity"
                 android:resizeableActivity="true"
                 android:supportsPictureInPicture="true"
                 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
                 android:taskAffinity="com.android.wm.shell.flicker.testapp.PipActivity"
                 android:theme="@style/CutoutShortEdges"
                 android:launchMode="singleTop"
                 android:label="PipApp"
                 android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LEANBACK_LAUNCHER"/>
            </intent-filter>
        </activity>

        <activity android:name=".ImeActivity"
                 android:taskAffinity="com.android.wm.shell.flicker.testapp.ImeActivity"
                 android:theme="@style/CutoutShortEdges"
                 android:label="ImeApp"
                 android:launchMode="singleTop"
                 android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LEANBACK_LAUNCHER"/>
            </intent-filter>
        </activity>

        <activity android:name=".SplitScreenActivity"
                  android:resizeableActivity="true"
                  android:taskAffinity="com.android.wm.shell.flicker.testapp.SplitScreenActivity"
                  android:theme="@style/CutoutShortEdges"
                  android:label="SplitScreenPrimaryApp"
                  android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>

        <activity android:name=".SplitScreenSecondaryActivity"
                  android:resizeableActivity="true"
                  android:taskAffinity="com.android.wm.shell.flicker.testapp.SplitScreenSecondaryActivity"
                  android:theme="@style/CutoutShortEdges"
                  android:label="SplitScreenSecondaryApp"
                  android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>

        <activity android:name=".SendNotificationActivity"
                  android:taskAffinity="com.android.wm.shell.flicker.testapp.SendNotificationActivity"
                  android:theme="@style/CutoutShortEdges"
                  android:label="SendNotificationApp"
                  android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>

        <activity android:name=".NonResizeableActivity"
                  android:resizeableActivity="false"
                  android:taskAffinity="com.android.wm.shell.flicker.testapp.NonResizeableActivity"
                  android:theme="@style/CutoutShortEdges"
                  android:label="NonResizeableApp"
                  android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>

        <activity android:name=".SimpleActivity"
                  android:taskAffinity="com.android.wm.shell.flicker.testapp.SimpleActivity"
                  android:theme="@style/CutoutShortEdges"
                  android:label="SimpleApp"
                  android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <activity
            android:name=".LaunchBubbleActivity"
            android:label="LaunchBubbleApp"
            android:exported="true"
            android:theme="@style/CutoutShortEdges"
            android:launchMode="singleTop">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <activity
            android:name=".BubbleActivity"
            android:label="BubbleApp"
            android:exported="false"
            android:theme="@style/CutoutShortEdges"
            android:resizeableActivity="true" />
    </application>
</manifest>
−1.92 KiB
Loading image diff...
+0 −31
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
 Copyright 2021 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="24dp"
        android:height="24dp"
        android:viewportWidth="24.0"
        android:viewportHeight="24.0">
    <path
        android:fillColor="#FF000000"
        android:pathData="M7.2,14.4m-3.2,0a3.2,3.2 0,1 1,6.4 0a3.2,3.2 0,1 1,-6.4 0"/>
    <path
        android:fillColor="#FF000000"
        android:pathData="M14.8,18m-2,0a2,2 0,1 1,4 0a2,2 0,1 1,-4 0"/>
    <path
        android:fillColor="#FF000000"
        android:pathData="M15.2,8.8m-4.8,0a4.8,4.8 0,1 1,9.6 0a4.8,4.8 0,1 1,-9.6 0"/>
</vector>
+0 −26
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
 Copyright 2021 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24">
  <path
      android:pathData="M12,4c-4.97,0 -9,3.58 -9,8c0,1.53 0.49,2.97 1.33,4.18c0.12,0.18 0.2,0.46 0.1,0.66c-0.33,0.68 -0.79,1.52 -1.38,2.39c-0.12,0.17 0.01,0.41 0.21,0.39c0.63,-0.05 1.86,-0.26 3.38,-0.91c0.17,-0.07 0.36,-0.06 0.52,0.03C8.55,19.54 10.21,20 12,20c4.97,0 9,-3.58 9,-8S16.97,4 12,4zM16.94,11.63l-3.29,3.29c-0.13,0.13 -0.34,0.04 -0.34,-0.14v-1.57c0,-0.11 -0.1,-0.21 -0.21,-0.2c-2.19,0.06 -3.65,0.65 -5.14,1.95c-0.15,0.13 -0.38,0 -0.33,-0.19c0.7,-2.57 2.9,-4.57 5.5,-4.75c0.1,-0.01 0.18,-0.09 0.18,-0.19V8.2c0,-0.18 0.22,-0.27 0.34,-0.14l3.29,3.29C17.02,11.43 17.02,11.55 16.94,11.63z"
      android:fillColor="#000000"
      android:fillType="evenOdd"/>
</vector>
Loading