Loading res/layout/bluetooth_key_missing.xml +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ android:layout_gravity="center" android:importantForAccessibility="no" android:src="@drawable/ic_warning_24dp" android:tint="@color/settingslib_materialColorOutline" /> android:tint="@color/settingslib_materialColorPrimary" /> <TextView android:id="@+id/bluetooth_key_missing_title" Loading src/com/android/settings/bluetooth/BluetoothKeyMissingDialog.java +6 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,9 @@ import android.os.Bundle; import androidx.annotation.Nullable; import androidx.fragment.app.FragmentActivity; import com.android.settingslib.widget.SettingsThemeHelper; import com.android.settingslib.widget.theme.R; /** A dialog to ask the user to forget a bluetooth device when the key is missing. */ public class BluetoothKeyMissingDialog extends FragmentActivity { public static final String FRAGMENT_TAG = "BtKeyMissingFrg"; Loading @@ -32,6 +35,9 @@ public class BluetoothKeyMissingDialog extends FragmentActivity { @Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); if (SettingsThemeHelper.isExpressiveTheme(this)) { setTheme(R.style.Theme_AlertDialog_SettingsLib_Expressive); } getWindow().addSystemFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); Intent intent = getIntent(); Loading src/com/android/settings/bluetooth/RequestPermissionActivity.java +6 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ import androidx.appcompat.app.AlertDialog; import com.android.settings.R; import com.android.settingslib.bluetooth.BluetoothDiscoverableTimeoutReceiver; import com.android.settingslib.widget.SettingsThemeHelper; import kotlin.Unit; Loading Loading @@ -81,6 +82,11 @@ public class RequestPermissionActivity extends Activity implements @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); if (SettingsThemeHelper.isExpressiveTheme(this)) { setTheme( com.android.settingslib.widget.theme.R.style .Theme_AlertDialog_SettingsLib_Expressive); } getWindow().addSystemFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); Loading Loading
res/layout/bluetooth_key_missing.xml +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ android:layout_gravity="center" android:importantForAccessibility="no" android:src="@drawable/ic_warning_24dp" android:tint="@color/settingslib_materialColorOutline" /> android:tint="@color/settingslib_materialColorPrimary" /> <TextView android:id="@+id/bluetooth_key_missing_title" Loading
src/com/android/settings/bluetooth/BluetoothKeyMissingDialog.java +6 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,9 @@ import android.os.Bundle; import androidx.annotation.Nullable; import androidx.fragment.app.FragmentActivity; import com.android.settingslib.widget.SettingsThemeHelper; import com.android.settingslib.widget.theme.R; /** A dialog to ask the user to forget a bluetooth device when the key is missing. */ public class BluetoothKeyMissingDialog extends FragmentActivity { public static final String FRAGMENT_TAG = "BtKeyMissingFrg"; Loading @@ -32,6 +35,9 @@ public class BluetoothKeyMissingDialog extends FragmentActivity { @Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); if (SettingsThemeHelper.isExpressiveTheme(this)) { setTheme(R.style.Theme_AlertDialog_SettingsLib_Expressive); } getWindow().addSystemFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); Intent intent = getIntent(); Loading
src/com/android/settings/bluetooth/RequestPermissionActivity.java +6 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ import androidx.appcompat.app.AlertDialog; import com.android.settings.R; import com.android.settingslib.bluetooth.BluetoothDiscoverableTimeoutReceiver; import com.android.settingslib.widget.SettingsThemeHelper; import kotlin.Unit; Loading Loading @@ -81,6 +82,11 @@ public class RequestPermissionActivity extends Activity implements @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); if (SettingsThemeHelper.isExpressiveTheme(this)) { setTheme( com.android.settingslib.widget.theme.R.style .Theme_AlertDialog_SettingsLib_Expressive); } getWindow().addSystemFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); Loading