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

Commit 0885ec9a authored by Josh Guilfoyle's avatar Josh Guilfoyle
Browse files

Revert "THEMES-177: Added Java API to temporarily manipulate activity configChanges."

Regressions were identified, bug re-opened.  New fix coming shortly...

This reverts commit a768729b.

CR: Dirk Sigurdson
parent 2948af37
Loading
Loading
Loading
Loading
+0 −22
Original line number Diff line number Diff line
@@ -3828,26 +3828,4 @@ public class Activity extends ContextThemeWrapper
            onActivityResult(requestCode, resultCode, data);
        }
    }

    /**
     * Adjusts the configChanges value attached to this Activity, OR'ing the
     * current value with the specified flag.
     *
     * @hide Added by T-Mobile to avoid adding a "theme" flag to the
     *       "configChanges" manifest attribute.
     */
    public void setConfigChangesFlag(int flag) {
        mActivityInfo.configChanges |= flag;
    }

    /**
     * Adjusts the configChanges value attached to this Activity, removing the
     * specified flag from the current value.
     *
     * @hide Added by T-Mobile to avoid adding a "theme" flag to the
     *       "configChanges" manifest attribute.
     */
    public void unsetConfigChangesFlag(int flag) {
        mActivityInfo.configChanges &= ~flag;
    }
}