Exploit databaseDownload repository ZIP
GH-14fb583d3d1bd2da10251bb1a37b93d6
gitchw/ghostlock-cve-2026-43499
Sources for CVE-2026-43499
168 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files25
gitchw/ghostlock-cve-2026-43499Revision 96acd93156f6
- ↑..Parent directory
- pageindicator/
- progressindicator/
- HeyArcTextClock.java
- HeyBackTitleBar.java
- HeyButton.java
- HeyCheckBox.java
- HeyDialog.java
- HeyDialogLayoutBuilder.java
- HeyHorizontalProgressBar.java
- HeyImageButton.java
- HeyLoaddingView.java
- HeyLoadingDialog.java
- HeyMultipleBaseItem.java
- HeyMultipleDefaultItem.java
- HeyMultipleSwitchSummaryAlone.java
- HeyNumberPicker.java
- HeyRoundImageAntiAlias.java
- HeySeekBar_6_0$HeyOnSeekBarChangeListener.java
- HeyShapeButton.java
- HeyStateView.java
- HeySwitch.java
- HeyToast.java
- HeyVolmunImageView.java
- VibrateHelper.java
- VolumeSeekBar.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
workspace/decomp/HeyOTA/sources/com/heytap/wearable/support/widget/HeyMultipleDefaultItem.java
Java · 3,849 bytespackage com.heytap.wearable.support.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.view.ViewStub;
import android.widget.ImageView;
import com.heytap.wearable.R$id;
import com.heytap.wearable.R$layout;
import com.heytap.wearable.R$styleable;
import com.heytap.wearable.support.util.HeyWidgetUtils;
/* loaded from: classes.dex */
public class HeyMultipleDefaultItem extends HeyMultipleBaseItem {
private Drawable mMinorDrawable;
private ImageView mMinorImage;
private Drawable mPrimaryDrawable;
private ImageView mPrimaryImage;
private boolean mShowIcon;
private boolean mShowMinorImage;
public HeyMultipleDefaultItem(Context context, AttributeSet attributeSet) {
this(context, attributeSet, 0);
}
public HeyMultipleDefaultItem(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, R$styleable.HeyMultipleDefaultItem, 0, 0);
this.mItemText = obtainStyledAttributes.getString(R$styleable.HeyMultipleDefaultItem_heyText);
this.mSummaryText = obtainStyledAttributes.getString(R$styleable.HeyMultipleDefaultItem_heySummaryText);
boolean z = obtainStyledAttributes.getBoolean(R$styleable.HeyMultipleDefaultItem_heyShowIcon, true);
this.mShowIcon = z;
if (z) {
this.mPrimaryDrawable = obtainStyledAttributes.getDrawable(R$styleable.HeyMultipleDefaultItem_heyPrimaryImage);
boolean z2 = obtainStyledAttributes.getBoolean(R$styleable.HeyMultipleDefaultItem_heyShowMinorImage, false);
this.mShowMinorImage = z2;
if (z2) {
this.mMinorDrawable = obtainStyledAttributes.getDrawable(R$styleable.HeyMultipleDefaultItem_heyMinorImage);
}
}
obtainStyledAttributes.recycle();
initView(context);
setClickable(true);
}
@Override // com.heytap.wearable.support.widget.HeyMultipleBaseItem
protected void initLayout(Context context) {
((LayoutInflater) context.getSystemService("layout_inflater")).inflate(R$layout.hey_multiple_default_item_layout, (ViewGroup) this, true);
}
@Override // com.heytap.wearable.support.widget.HeyMultipleBaseItem
public void initView(Context context) {
super.initView(context);
this.mItemTextView.setText(this.mItemText);
this.mSummaryTextView.setText(this.mSummaryText);
if (HeyWidgetUtils.isWearOS(getContext()) || !this.mShowIcon) {
return;
}
((ViewStub) findViewById(R$id.hey_icon_viewstub)).inflate();
this.mPrimaryImage = (ImageView) findViewById(R$id.right_primary_icon);
if (this.mShowMinorImage) {
initMinorImage();
ImageView imageView = (ImageView) findViewById(R$id.right_primary_icon);
this.mMinorImage = imageView;
imageView.setImageDrawable(this.mMinorDrawable);
}
this.mPrimaryImage.setImageDrawable(this.mPrimaryDrawable);
}
private void initMinorImage() {
ImageView imageView = (ImageView) ((ViewStub) findViewById(R$id.right_minor_icon_viewstub)).inflate();
this.mMinorImage = imageView;
imageView.setImageDrawable(this.mMinorDrawable);
}
@Override // com.heytap.wearable.support.widget.HeyMultipleBaseItem, android.view.View
public void setEnabled(boolean z) {
super.setEnabled(z);
if (this.mShowMinorImage) {
this.mMinorImage.setAlpha(z ? 1.0f : 0.4f);
}
}
public ImageView getPrimaryImageView() {
return this.mPrimaryImage;
}
}