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 files52
pvharmo2/gha-lab-360f77d0d4Revision 8f24b3d2bc38
- ↑..Parent directory
- additionalviewcontainer/
- caption/
- common/
- education/
- extension/
- tiling/
- viewholder/
- AbstractTaskPositionerDecorator.kt
- CaptionMenuLayout.kt
- CaptionWindowDecorViewModel.java
- CaptionWindowDecoration.java
- CarWindowDecorViewModel.java
- CarWindowDecoration.java
- DefaultWindowDecoration.kt
- DesktopHandleManageWindowsMenu.kt
- DesktopHeaderManageWindowsMenu.kt
- DesktopModeWindowDecorViewModel.java
- DesktopModeWindowDecoration.java
- DragDetector.java
- DragPositioningCallback.java
- DragPositioningCallbackUtility.java
- DragResizeInputListener.java
- DragResizeWindowGeometry.java
- FixedAspectRatioTaskPositionerDecorator.kt
- FluidResizeTaskPositioner.java
- HandleImageButton.kt
- HandleMenu.java
- HandleMenu.kt
- HandleMenuActionButton.kt
- HandleMenuAnimator.kt
- HandleMenuImageButton.kt
- MarqueedTextView.kt
- MaximizeButtonView.kt
- MaximizeMenu.kt
- MoveToDesktopAnimator.kt
- MultiDisplayVeiledResizeTaskPositioner.kt
- OWNERS
- OnTaskRepositionAnimationListener.kt
- OnTaskResizeAnimationListener.kt
- ResizeVeil.kt
- TaskDragResizer.java
- TaskFocusStateConsumer.java
- TaskOperations.java
- TaskPositioner.kt
- VeiledResizeTaskPositioner.java
- WindowDecorLinearLayout.java
- WindowDecorViewModel.java
- WindowDecoration.java
- WindowDecoration2.kt
- WindowDecorationActions.kt
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
wmshell/src/com/android/wm/shell/windowdecor/WindowDecorLinearLayout.java
Java · 2,290 bytes/*
* Copyright (C) 2022 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.windowdecor;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.LinearLayout;
import androidx.annotation.Nullable;
import com.android.wm.shell.R;
/**
* A {@link LinearLayout} that takes an additional task focused drawable state. The new state is
* used to select the correct background color for views in the window decoration.
*/
public class WindowDecorLinearLayout extends LinearLayout implements TaskFocusStateConsumer {
private static final int[] TASK_FOCUSED_STATE = { R.attr.state_task_focused };
private boolean mIsTaskFocused;
public WindowDecorLinearLayout(Context context) {
super(context);
}
public WindowDecorLinearLayout(Context context,
@Nullable AttributeSet attrs) {
super(context, attrs);
}
public WindowDecorLinearLayout(Context context, @Nullable AttributeSet attrs,
int defStyleAttr) {
super(context, attrs, defStyleAttr);
}
public WindowDecorLinearLayout(Context context, AttributeSet attrs, int defStyleAttr,
int defStyleRes) {
super(context, attrs, defStyleAttr, defStyleRes);
}
@Override
public void setTaskFocusState(boolean focused) {
mIsTaskFocused = focused;
refreshDrawableState();
}
@Override
protected int[] onCreateDrawableState(int extraSpace) {
if (!mIsTaskFocused) {
return super.onCreateDrawableState(extraSpace);
}
final int[] states = super.onCreateDrawableState(extraSpace + 1);
mergeDrawableStates(states, TASK_FOCUSED_STATE);
return states;
}
}