Exploit databaseDownload repository ZIP
GH-31c028f5638c2b362488617d5ac6548b
pvharmo2/gha-lab-360f77d0d4
Sources for CVE-2026-39866
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files13
pvharmo2/gha-lab-360f77d0d4Revision 8f24b3d2bc38
- ↑..Parent directory
- phone/
- tv/
- OWNERS
- PinnedStackListenerForwarder.java
- Pip.java
- PipAnimationController.java
- PipContentOverlay.java
- PipParamsChangedForwarder.java
- PipSurfaceTransactionHelper.java
- PipTaskOrganizer.java
- PipTransition.java
- PipTransitionController.java
- PipTransitionState.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
wmshell/src/com/android/wm/shell/pip/Pip.java
Java · 2,869 bytes/*
* 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 com.android.wm.shell.pip;
import android.annotation.NonNull;
import android.graphics.Rect;
import com.android.wm.shell.shared.annotations.ExternalThread;
import java.util.concurrent.Executor;
import java.util.function.Consumer;
/**
* Interface to engage picture in picture feature.
*/
@ExternalThread
public interface Pip {
/**
* Expand PIP, it's possible that specific request to activate the window via Alt-tab.
*/
default void expandPip() {
}
/**
* Called when SysUI state changed.
*
* @param isSysUiStateValid Is SysUI state valid or not.
* @param flag Current SysUI state.
*/
default void onSystemUiStateChanged(boolean isSysUiStateValid, long flag) {
}
/**
* Set the callback when isInPip state is changed.
*
* @param callback The callback accepts the state of isInPip when it's changed.
*/
default void addOnIsInPipStateChangedListener(@NonNull Consumer<Boolean> callback) {}
/**
* Remove the callback when isInPip state is changed.
* @param callback The callback accepts the state of isInPip when it's changed.
*/
default void removeOnIsInPipStateChangedListener(@NonNull Consumer<Boolean> callback) {}
/**
* Called when showing Pip menu.
*/
default void showPictureInPictureMenu() {}
/**
* Called by NavigationBar and TaskbarDelegate in order to listen in for PiP bounds change. This
* is mostly used for times where the PiP bounds could conflict with SystemUI elements, such as
* a stashed PiP and the Back-from-Edge gesture.
*/
default void addPipExclusionBoundsChangeListener(Consumer<Rect> listener) { }
/**
* Remove a callback added previously. This is used when NavigationBar is removed from the
* view hierarchy or destroyed.
*/
default void removePipExclusionBoundsChangeListener(Consumer<Rect> listener) { }
/**
* Register {@link PipTransitionController.PipTransitionCallback} to listen on PiP transition
* started / finished callbacks.
*/
default void registerPipTransitionCallback(
@NonNull PipTransitionController.PipTransitionCallback callback,
@NonNull Executor executor) { }
}