[Android] Fix PassphraseActivity backstack check and base class
PassphraseActivity was broken by https://crrev.com/c/1708895, as it was checking for backstack entry count in the framework FragmentManager, while fragments were added to FragmentManager from the support library. This is fixed by using getSupportFragmentManager. A second unrelated fix is a change of the base class from FragmentActivity to AppCompatActivity. All Chrome activities should inherit AppCompatActivity to make sure proper view classes from support library are inflated. Bug: 998412 Change-Id: I286544233c18f4bf0289cee7e3c7aa2618a76b54 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768350 Auto-Submit: Boris Sazonov <bsazonov@chromium.org> Commit-Queue: Marc Treib <treib@chromium.org> Reviewed-by:Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#691525}
Showing
Please register or sign in to comment