Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fa46b8bf authored by Craig G's avatar Craig G Committed by Bruno Martins
Browse files

Eleven: Fix SettingsActivity crash

The Activity support class requires using a theme that doesn't also have
an action bar: https://developer.android.com/training/appbar/setting-up

Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
	at androidx.appcompat.app.AppCompatDelegateImpl.setSupportActionBar(AppCompatDelegateImpl.java:345)
	at androidx.appcompat.app.AppCompatActivity.setSupportActionBar(AppCompatActivity.java:130)
	at org.lineageos.eleven.ui.activities.SettingsActivity.onCreate(SettingsActivity.java:53)
	at android.app.Activity.performCreate(Activity.java:7824)
	at android.app.Activity.performCreate(Activity.java:7813)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
	...

Change-Id: I9ec0d295f0c0a9cb2ebd4a9a040f1e66750a35dd
parent 06bbd2e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment