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)

x86_64
Linux
defect
Not set
normal

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.
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]
If we have access to appt, you can dump out 'application-label', e.g, application-label:'Firefox Beta'
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)
(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)
mozversion seems like a good place for this.
Flags: needinfo?(dave.hunt)
Depends on: 1132716
this uses the new release of mozversion 1.2.
Assignee: nobody → j.parkouss
Status: NEW → ASSIGNED
Attachment #8564278 - Flags: review?(wlachance)
Comment on attachment 8564278 [details] [review] Wrong package name used to launch application when supplying branch Awesome, ty!
Attachment #8564278 - Flags: review?(wlachance) → review+
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.

Attachment

General

Created:
Updated:
Size: