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

Commit 039941d5 authored by Hyunyoung Song's avatar Hyunyoung Song
Browse files

Merging ub-launcher3-master, build 5399829

Test: Manual

Bug:111301511 Launcher support for work profiles in Q
Bug:111926330 [Quickstep 2] Nav bar, gestures, edge-to-edge, and OEM updates
Bug:112934365 [STOP SHIP BUG] Sysui Navigation Bar Prototype Tracking
Bug:114136250 Have a more spartan RecentsActivity on android go
Bug:118140522 [Clarification] Has no effect on QSB even after disabled Feature flag for QSB_ON_FIRST_SCREEN
Bug:118319143 Digital Wellbeing - Implement showing app's remaining time in Launcher
Bug:118441555 [LauncherState] Restarted Launcher looks strange
Bug:120114697 [MSIME] no ClientCallbackImpl.onHideSoftInput received when press home key.
Bug:122593881 Better support for cleaning up the recents animation
Bug:123641382 App icon transitions with app window in overview
Bug:123892673 Add user event logging when toast comes on overview carousel
Bug:123900446 App to home animation should zoom into the app icon
Bug:123904290 Remove magic constants from TAPL
Bug:124338231 Sometimes the swipe-up gesture from an app doesn't open Home
Bug:126259547 Google search box partially obscured when switching to Fold mode, moves under Hotseats in Unfold mode
Bug:126268196 Some app shortcuts become white circles when grouped inside directories
Bug:126417894 Sometimes theme change is NOT applied to QSB corner radius and folder shapes
Bug:126596502 [touchflow] Use platform long press in launcher
Bug:127807969 Launcher crashing while trying to access app info shortcut .
Bug:127837913 [logging] Gesture nav back button key event in overview mode
Bug:127917144 It doesn't go back to previous screen when pressing back key while app context menu is opened.
Bug:128259687 Unable to use the device once ANR observed in pixel launcher
Bug:128460496 ToT Pixel Launcher Crash
Bug:128464669 [Broken test] FallbackRecentsTest.goToOverviewFromApp: Attempt to invoke virtual method 'void com.android.quickstep.views.LiveTileOverlay.setIcon(android.graphics.drawable.Drawable)' on a null object reference
Bug:128681467 [STOPSHIP] Revert to old WAllpaperPickerGoogle without ThemePicker for Beta 2, 3, 4, 5, 6
Bug:129067053 Stop showing "App in grayscale" for apps over limit
Bug:129113713 Launcher ClearApps CUJ is failing

Change-Id: I3f428e10ce9b0a8ffe1e4e4fa16cc7decff62ca7
parents 2bd3a022 c885f9a1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

java_library_static {
android_library {
    name: "launcher-aosp-tapl",
    static_libs: [
        "androidx.annotation_annotation",
@@ -27,5 +27,6 @@ java_library_static {
        "src/com/android/launcher3/util/SecureSettingsObserver.java",
        "src/com/android/launcher3/TestProtocol.java",
    ],
    manifest: "tests/tapl/AndroidManifest.xml",
    platform_apis: true,
}
+1 −21
Original line number Diff line number Diff line
@@ -16,18 +16,6 @@

LOCAL_PATH := $(call my-dir)

#
# Prebuilt Java Libraries
#
include $(CLEAR_VARS)
LOCAL_MODULE := libSharedSystemUI
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
LOCAL_SRC_FILES := quickstep/libs/sysui_shared.jar
LOCAL_UNINSTALLABLE_MODULE := true
LOCAL_SDK_VERSION := current
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := libPluginCore
LOCAL_MODULE_TAGS := optional
@@ -37,14 +25,6 @@ LOCAL_UNINSTALLABLE_MODULE := true
LOCAL_SDK_VERSION := current
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := libLauncherProtos
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
LOCAL_SRC_FILES := libs/launcher_protos.jar
LOCAL_UNINSTALLABLE_MODULE := true
LOCAL_SDK_VERSION := current
include $(BUILD_PREBUILT)
#
# Build rule for plugin lib (needed to write a plugin).
#
+14 −2
Original line number Diff line number Diff line
@@ -26,12 +26,11 @@ import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.os.Bundle;
import com.google.android.material.circularreveal.cardview.CircularRevealCardView;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewAnimationUtils;
import android.view.inputmethod.InputMethodManager;
import android.widget.GridView;
import android.widget.ImageButton;
import android.widget.PopupMenu;
@@ -41,6 +40,9 @@ import androidx.fragment.app.FragmentManager;
import androidx.lifecycle.ViewModelProvider;
import androidx.lifecycle.ViewModelProvider.AndroidViewModelFactory;

import com.google.android.material.circularreveal.cardview.CircularRevealCardView;
import com.google.android.material.floatingactionbutton.FloatingActionButton;

import java.util.HashSet;
import java.util.Set;

@@ -141,6 +143,16 @@ public class SecondaryDisplayLauncher extends FragmentActivity implements AppPic

    public void onNewIntent(Intent intent) {
        super.onNewIntent(intent);

        if (Intent.ACTION_MAIN.equals(intent.getAction())) {
            // Hide keyboard.
            final View v = getWindow().peekDecorView();
            if (v != null && v.getWindowToken() != null) {
                getSystemService(InputMethodManager.class).hideSoftInputFromWindow(
                        v.getWindowToken(), 0);
            }
        }

        // A new intent will bring the launcher to top. Hide the app drawer to reset the state.
        showAppDrawer(false);
    }
+7 −4
Original line number Diff line number Diff line
@@ -9,6 +9,9 @@ buildscript {
    }
}

final String ANDROID_TOP = "${rootDir}/../../.."
final String FRAMEWORK_PREBUILTS_DIR = "${ANDROID_TOP}/prebuilts/framework_intermediates/"

apply plugin: 'com.android.application'
apply plugin: 'com.google.protobuf'

@@ -148,16 +151,16 @@ dependencies {
    implementation "androidx.recyclerview:recyclerview:${ANDROID_X_VERSION}"
    implementation "androidx.preference:preference:${ANDROID_X_VERSION}"
    implementation project(':IconLoader')
    implementation fileTree(dir: "libs", include: 'launcher_protos.jar')
    implementation fileTree(dir: "${FRAMEWORK_PREBUILTS_DIR}/libs", include: 'launcher_protos.jar')

    // Recents lib dependency
    withQuickstepImplementation fileTree(dir: "quickstep/libs", include: 'sysui_shared.jar')
    withQuickstepImplementation fileTree(dir: "${FRAMEWORK_PREBUILTS_DIR}/quickstep/libs", include: 'sysui_shared.jar')

    // Recents lib dependency for Go
    withQuickstepIconRecentsImplementation fileTree(dir: "quickstep/libs", include: 'sysui_shared.jar')
    withQuickstepIconRecentsImplementation fileTree(dir: "${FRAMEWORK_PREBUILTS_DIR}/quickstep/libs", include: 'sysui_shared.jar')

    // Required for AOSP to compile. This is already included in the sysui_shared.jar
    withoutQuickstepImplementation fileTree(dir: "libs", include: 'plugin_core.jar')
    withoutQuickstepImplementation fileTree(dir: "${FRAMEWORK_PREBUILTS_DIR}/libs", include: 'plugin_core.jar')

    testImplementation 'junit:junit:4.12'
    androidTestImplementation "org.mockito:mockito-core:1.9.5"
+22 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2019 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">
    <solid android:color="@color/clear_all_button_bg"/>
    <corners android:radius="4dp"/>
</shape>
Loading