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 files25
pvharmo2/gha-lab-360f77d0d4Revision 8f24b3d2bc38
- ↑..Parent directory
- AbstractSlideInView.java
- AccessibilityActionsView.java
- ActivityContext.java
- ArrowTipView.java
- BaseDragLayer.java
- BubbleTextHolder.java
- ClipIconView.java
- ClipPathView.java
- DoubleShadowBubbleTextView.java
- DoubleShadowIconDrawable.kt
- FloatingIconView.java
- FloatingIconViewCompanion.java
- FloatingSurfaceView.java
- FloatingView.java
- IconButtonView.java
- ListenerView.java
- OptionsPopupView.java
- RecyclerViewFastScroller.java
- ScrimColors.kt
- ScrimColorsEvaluator.kt
- ScrimView.java
- ShadowInfo.kt
- Snackbar.java
- SpringRelativeLayout.java
- StickyHeaderLayout.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/com/android/launcher3/views/AccessibilityActionsView.java
Java · 3,491 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.launcher3.views;
import static com.android.launcher3.LauncherState.ALL_APPS;
import static com.android.launcher3.LauncherState.NORMAL;
import android.content.Context;
import android.os.Bundle;
import android.util.AttributeSet;
import android.view.View;
import android.view.accessibility.AccessibilityNodeInfo;
import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
import androidx.annotation.Nullable;
import com.android.launcher3.Launcher;
import com.android.launcher3.LauncherState;
import com.android.launcher3.R;
import com.android.launcher3.statemanager.StateManager.StateListener;
import com.android.launcher3.views.OptionsPopupView.OptionItem;
/**
* Placeholder view to expose additional Launcher actions via accessibility actions
*/
public class AccessibilityActionsView extends View implements StateListener<LauncherState> {
public AccessibilityActionsView(Context context) {
this(context, null);
}
public AccessibilityActionsView(Context context, @Nullable AttributeSet attrs) {
this(context, attrs, 0);
}
public AccessibilityActionsView(Context context, @Nullable AttributeSet attrs,
int defStyleAttr) {
super(context, attrs, defStyleAttr);
Launcher.getLauncher(context).getStateManager().addStateListener(this);
setWillNotDraw(true);
}
@Override
public void onStateTransitionComplete(LauncherState finalState) {
setImportantForAccessibility(finalState == NORMAL
? IMPORTANT_FOR_ACCESSIBILITY_YES : IMPORTANT_FOR_ACCESSIBILITY_NO);
}
@Override
public AccessibilityNodeInfo createAccessibilityNodeInfo() {
AccessibilityNodeInfo info = super.createAccessibilityNodeInfo();
for (OptionItem item : OptionsPopupView.getOptions(Launcher.getLauncher(getContext()))) {
info.addAction(new AccessibilityAction(item.labelRes, item.label));
}
return info;
}
@Override
public boolean performAccessibilityAction(int action, Bundle arguments) {
if (super.performAccessibilityAction(action, arguments)) {
return true;
}
Launcher l = Launcher.getLauncher(getContext());
if (action == R.string.all_apps_button_label) {
l.getStatsLogManager().keyboardStateManager().setLaunchedFromA11y(true);
l.getStateManager().goToState(ALL_APPS);
return true;
}
for (OptionItem item : OptionsPopupView.getOptions(l)) {
if (item.labelRes == action) {
if (item.eventId.getId() > 0) {
l.getStatsLogManager().logger().log(item.eventId);
}
if (item.clickListener.onLongClick(this)) {
return true;
}
}
}
return false;
}
}