package com.pingan.ai; import android.app.Activity; import android.view.Window; import android.view.WindowManager; /* loaded from: classes3.dex */ public class z { public static void a(Activity activity, float f) { Window window = activity.getWindow(); WindowManager.LayoutParams attributes = window.getAttributes(); attributes.screenBrightness = f; window.setAttributes(attributes); } }