New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 890607 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 12
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: ----



Sign in to add a comment

custom-tabs-client demo can not launch

Reported by wquiet23...@gmail.com, Sep 30

Issue description

Device name: Galaxy Note5 

From "Settings > About Chrome"
Application version: latest
Operating system: android 7.0

Steps to reproduce:
android studio compile install after not start 

Expected result:
09-30 14:40:51.247 21088-21088/org.chromium.twa.svgomg E/AndroidRuntime: FATAL EXCEPTION: main
                                                                         Process: org.chromium.twa.svgomg, PID: 21088
                                                                         java.lang.RuntimeException: Unable to start activity ComponentInfo{org.chromium.twa.svgomg/org.chromium.twa.svgomg.TwaLauncherActivity}: java.lang.IllegalArgumentException: Service Intent must be explicit: Intent { act=android.support.customtabs.action.CustomTabsService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } }
                                                                             at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2927)
                                                                             at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988)
                                                                             at android.app.ActivityThread.-wrap14(ActivityThread.java)
                                                                             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1631)
                                                                             at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                             at android.os.Looper.loop(Looper.java:154)
                                                                             at android.app.ActivityThread.main(ActivityThread.java:6682)
                                                                             at java.lang.reflect.Method.invoke(Native Method)
                                                                             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
                                                                             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
                                                                          Caused by: java.lang.IllegalArgumentException: Service Intent must be explicit: Intent { act=android.support.customtabs.action.CustomTabsService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } }
                                                                             at android.app.ContextImpl.validateServiceIntent(ContextImpl.java:1391)
                                                                             at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1524)
                                                                             at android.app.ContextImpl.bindService(ContextImpl.java:1492)
                                                                             at android.content.ContextWrapper.bindService(ContextWrapper.java:696)
                                                                             at android.support.customtabs.CustomTabsClient.bindCustomTabsService(CustomTabsClient.java:71)
                                                                             at org.chromium.twa.svgomg.TwaSessionHelper.bindService(TwaSessionHelper.java:183)
                                                                             at org.chromium.twa.svgomg.TwaLauncherActivity.onCreate(TwaLauncherActivity.java:36)
                                                                             at android.app.Activity.performCreate(Activity.java:6942)
                                                                             at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126)
                                                                             at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2880)
                                                                             at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988) 
                                                                             at android.app.ActivityThread.-wrap14(ActivityThread.java) 
                                                                             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1631) 
                                                                             at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                                             at android.os.Looper.loop(Looper.java:154) 
                                                                             at android.app.ActivityThread.main(ActivityThread.java:6682) 
                                                                             at java.lang.reflect.Method.invoke(Native Method) 
                                                                             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520) 
                                                                             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410) 


Actual result:


 
Labels: Needs-triage-Mobile
Cc: chelamcherla@chromium.org
Components: UI>Browser>Mobile>CustomTabs
Labels: Triaged-Mobile Needs-Feedback
@wquiet23146: Please provide steps to reproduce the issue, sample test file along with chrome version details. Also please provide screencast, this would help in further triaging.

Thanks!
Cc: -chelamcherla@chromium.org sindhu.chelamcherla@chromium.org peconn@chromium.org amalova@chromium.org
What version of the custom tabs support library are you using?

Also, do you have Chrome Dev or Chrome Canary installed on your test device?
Status: WontFix (was: Unconfirmed)
Closing this issue due to lack of feedback from reporter. Please feel free to raise a new issue if this is still seen on latest build #70.0.3538.80.

Thanks!

Sign in to add a comment