Limit ADB error display for 10 seconds
Summary: So that error message won't displayed forever. Reviewed By: lblasa Differential Revision: D30991434 fbshipit-source-id: 2cb5c9f983e11e021acb818ad4e245530757eee4
This commit is contained in:
committed by
Facebook GitHub Bot
parent
918b48f979
commit
eb04011887
@@ -105,7 +105,7 @@ export default class CertificateProvider {
|
|||||||
this.adb = getAdbClient(config).catch((e) => {
|
this.adb = getAdbClient(config).catch((e) => {
|
||||||
// make sure initialization failure is already logged
|
// make sure initialization failure is already logged
|
||||||
message.error({
|
message.error({
|
||||||
duration: null,
|
duration: 10,
|
||||||
content:
|
content:
|
||||||
'Failed to initialise ADB. Please check your Android settings, ANDROID_HOME and run the Setup Doctor. ' +
|
'Failed to initialise ADB. Please check your Android settings, ANDROID_HOME and run the Setup Doctor. ' +
|
||||||
e,
|
e,
|
||||||
|
|||||||
Reference in New Issue
Block a user