Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

IllegalStateException in autofill activity #1157

Open
eliserichards opened this issue Jan 30, 2020 · 0 comments
Open

IllegalStateException in autofill activity #1157

eliserichards opened this issue Jan 30, 2020 · 0 comments
Labels
defect Issue describes a defect that negatively impacts use. feature-autofill

Comments

@eliserichards
Copy link
Contributor

Reported in Sentry: https://sentry.prod.mozaws.net/operations/lockwise-android/issues/6580963/
Effecting 5,000 users. 31,000 reports in the last 3 months.

RuntimeException: Unable to start activity ComponentInfo{mozilla.lockbox/mozilla.lockbox.view.AutofillRootActivity}: java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation

IllegalStateException

Only fullscreen opaque activities can request orientation

    mozilla.lockbox.view.AutofillRootActivity in onCreate at line 1
    Called from: android.app.Activity in performCreate
@eliserichards eliserichards added defect Issue describes a defect that negatively impacts use. feature-autofill labels Jan 30, 2020
@eliserichards eliserichards added this to Inbox in Lockwise Mobile via automation Jan 30, 2020
Governa pushed a commit to Governa/lockwise-android that referenced this issue Jun 23, 2020
…galStateException in autofill activity

  It seems that in Android 8.0.0 (API 26) there is a bug where setting the
auto fill activity window to translucent causes an exception to be thrown.
Per mozilla-lockwise#1076 it doesn't happen on Android 8.1.

  This patch works around the problem by not setting the window to be
translucent on API 26 only. The window is (obviously) not translucent, but
the App doesn't crash and is otherwise usable.
Governa added a commit to Governa/lockwise-android that referenced this issue Jun 23, 2020
…galStateException in autofill activity

  It seems that in Android 8.0.0 (API 26) there is a bug where setting the
auto fill activity window to translucent causes an exception to be thrown.
Per mozilla-lockwise#1076 it doesn't happen on Android 8.1.

  This patch works around the problem by not setting the window to be
translucent on API 26 only. The window is (obviously) not translucent, but
the App doesn't crash and is otherwise usable.
Governa added a commit to Governa/lockwise-android that referenced this issue Jun 26, 2020
…galStateException in autofill activity

  It seems that in Android 8.0.0 (API 26) there is a bug where setting the
auto fill activity window to translucent causes an exception to be thrown.
Per mozilla-lockwise#1076 it doesn't happen on Android 8.1.

  This patch works around the problem by not setting the window to be
translucent on API 26 only. The window is (obviously) not translucent, but
the App doesn't crash and is otherwise usable.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
defect Issue describes a defect that negatively impacts use. feature-autofill
Projects
Development

No branches or pull requests

1 participant