Loading quickstep/src/com/android/quickstep/OverviewComponentObserver.java +9 −1 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ import android.content.pm.ActivityInfo; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.os.Bundle; import android.util.Log; import android.util.SparseIntArray; import androidx.annotation.NonNull; Loading @@ -54,6 +55,8 @@ import java.util.function.Consumer; * and provide callers the relevant classes. */ public final class OverviewComponentObserver { private static final String TAG = "OverviewComponentObserver"; private final BroadcastReceiver mUserPreferenceChangeReceiver = new SimpleBroadcastReceiver(this::updateOverviewTargets); private final BroadcastReceiver mOtherHomeAppUpdateReceiver = Loading Loading @@ -146,7 +149,12 @@ public final class OverviewComponentObserver { } } if (!mDeviceState.isHomeDisabled() && (defaultHome == null || mIsDefaultHome)) { // TODO(b/258022658): Remove temporary logging. Log.i(TAG, "updateOverviewTargets: mIsHomeDisabled=" + mIsHomeDisabled + ", isDefaultHomeNull=" + (defaultHome == null) + ", mIsDefaultHome=" + mIsDefaultHome); if (!mIsHomeDisabled && (defaultHome == null || mIsDefaultHome)) { // User default home is same as out home app. Use Overview integrated in Launcher. mActivityInterface = LauncherActivityInterface.INSTANCE; mIsHomeAndOverviewSame = true; Loading Loading
quickstep/src/com/android/quickstep/OverviewComponentObserver.java +9 −1 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ import android.content.pm.ActivityInfo; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.os.Bundle; import android.util.Log; import android.util.SparseIntArray; import androidx.annotation.NonNull; Loading @@ -54,6 +55,8 @@ import java.util.function.Consumer; * and provide callers the relevant classes. */ public final class OverviewComponentObserver { private static final String TAG = "OverviewComponentObserver"; private final BroadcastReceiver mUserPreferenceChangeReceiver = new SimpleBroadcastReceiver(this::updateOverviewTargets); private final BroadcastReceiver mOtherHomeAppUpdateReceiver = Loading Loading @@ -146,7 +149,12 @@ public final class OverviewComponentObserver { } } if (!mDeviceState.isHomeDisabled() && (defaultHome == null || mIsDefaultHome)) { // TODO(b/258022658): Remove temporary logging. Log.i(TAG, "updateOverviewTargets: mIsHomeDisabled=" + mIsHomeDisabled + ", isDefaultHomeNull=" + (defaultHome == null) + ", mIsDefaultHome=" + mIsDefaultHome); if (!mIsHomeDisabled && (defaultHome == null || mIsDefaultHome)) { // User default home is same as out home app. Use Overview integrated in Launcher. mActivityInterface = LauncherActivityInterface.INSTANCE; mIsHomeAndOverviewSame = true; Loading