Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Handle ActivityNotFoundException #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

talklittle
Copy link

No description provided.

@talklittle
Copy link
Author

The bug appears in crash logs; I have not reproduced it first hand. Possibly a bug in support library version 25.3.1. I am unsure if it affects other support library versions. Also do not know what Chrome version this affects.

@tibmanus
Copy link

tibmanus commented Sep 6, 2017

In line 52

String packageName = CustomTabsHelper.getPackageNameToUse(activity);

the packageName may be invalid as it is cached in CustomTabsHelper. Steps to reproduce:

  1. Start the Activity where bindCustomTabsService is called.
  2. Go to system settings and disable the Custom Tabs browser (eg. Chrome).
  3. Resume the Activity and try opening the Custom Tab.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants