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 files5
pvharmo2/gha-lab-360f77d0d4Revision 8f24b3d2bc38
- ↑..Parent directory
- FocusIndicatorHelper.java
- FocusedItemDecorator.java
- ItemFocusIndicatorHelper.java
- KeyboardDragAndDropView.java
- ViewGroupFocusHelper.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/com/android/launcher3/keyboard/FocusedItemDecorator.java
Java · 1,725 bytes/*
* Copyright (C) 2016 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.launcher3.keyboard;
import android.graphics.Canvas;
import android.view.View;
import android.view.View.OnFocusChangeListener;
import androidx.recyclerview.widget.RecyclerView;
import androidx.recyclerview.widget.RecyclerView.ItemDecoration;
import androidx.recyclerview.widget.RecyclerView.State;
import com.android.launcher3.keyboard.FocusIndicatorHelper.SimpleFocusIndicatorHelper;
/**
* {@link ItemDecoration} for drawing and animating focused view background.
*/
public class FocusedItemDecorator extends ItemDecoration {
private FocusIndicatorHelper mHelper;
public FocusedItemDecorator(View container) {
mHelper = new SimpleFocusIndicatorHelper(container);
}
public FocusedItemDecorator(FocusIndicatorHelper focusIndicatorHelper) {
mHelper = focusIndicatorHelper;
}
public OnFocusChangeListener getFocusListener() {
return mHelper;
}
@Override
public void onDrawOver(Canvas c, RecyclerView parent, State state) {
// Use onDrawOver so focus outline is always visible
mHelper.draw(c);
}
}