Closed
Bug 997297
Opened 11 years ago
Closed 11 years ago
Wrong package name used to launch application when supplying branch
Categories
(Testing :: mozregression, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wlach, Assigned: parkouss)
References
Details
(Whiteboard: [good next bug][mentor=wlach][lang=python])
Attachments
(1 file)
From AaronMT on github:
E.g,
--repo=mozilla-aurora--android
Starting nightly:
Starting: Intent { cmp.org.mozilla.fennec/.App }
Error type 3
Error: Activity class {org.mozilla.fennec/org.mozilla.fennec.App } does not exist
It should look for org.mozilla.fennec_aurora in this case.
Reporter | ||
Comment 1•11 years ago
|
||
I think we can actually fix this by peeking inside the .apk and getting the application name from there. Probably easier than doing a bunch of hardcoded logic. This might be a fun bug for someone with an Android phone to tackle.
Whiteboard: [good next bug][mentor=wlach][lang=python]
Comment 2•11 years ago
|
||
If we have access to appt, you can dump out 'application-label', e.g,
application-label:'Firefox Beta'
Assignee | ||
Comment 3•11 years ago
|
||
Ok, I found where the info is in the apk I think - in the package-name.txt file.
Well, it will be easy to get the information here. However I wonder if that could be useful to get this information directly from mozversion ? We could add a key 'package-name' with the corresponding value in the dict returned by mozversion;
Will, what do you think ?
Flags: needinfo?(wlachance)
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Julien Pagès from comment #3)
> Ok, I found where the info is in the apk I think - in the package-name.txt
> file.
>
> Well, it will be easy to get the information here. However I wonder if that
> could be useful to get this information directly from mozversion ? We could
> add a key 'package-name' with the corresponding value in the dict returned
> by mozversion;
>
> Will, what do you think ?
Good question. It seems to make sense to me. Maybe :davehunt has other opinions though?
Flags: needinfo?(wlachance) → needinfo?(dave.hunt)
Assignee | ||
Comment 6•11 years ago
|
||
this uses the new release of mozversion 1.2.
Reporter | ||
Comment 7•11 years ago
|
||
Comment on attachment 8564278 [details] [review]
Wrong package name used to launch application when supplying branch
Awesome, ty!
Attachment #8564278 -
Flags: review?(wlachance) → review+
Assignee | ||
Comment 8•11 years ago
|
||
Great, this is merged in! Next release of mozregression will use the right package name.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•