Closed
Bug 852246
Opened 12 years ago
Closed 12 years ago
INSTALL_FAILED_VERSION_DOWNGRADE when installing same version of app via agent on Android 4.2
Categories
(Testing Graveyard :: SUTAgent, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla22
People
(Reporter: wlach, Assigned: wlach)
Details
Attachments
(1 file)
|
1.49 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
Google "helpfully" added a "feature" in Android 4.2, which disallows installing an app which is not of a greater version than the one currently installed. In many/most testing scenarios that we care about, this will not be the case.
It turns out that we can disable this new behaviour by passing another argument to pm:
http://stackoverflow.com/a/13772620/295132
Let's do that.
| Assignee | ||
Comment 1•12 years ago
|
||
Attachment #726280 -
Flags: review?(jmaher)
Comment on attachment 726280 [details] [diff] [review]
Allow installing over an app with >= version in Android 4.2 via the agent
Review of attachment 726280 [details] [diff] [review]:
-----------------------------------------------------------------
nice!
Attachment #726280 -
Flags: review?(jmaher) → review+
| Assignee | ||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Backed out for build bustage.
https://hg.mozilla.org/integration/mozilla-inbound/rev/7c8f36acc3a3
| Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #4)
> Backed out for build bustage.
> https://hg.mozilla.org/integration/mozilla-inbound/rev/7c8f36acc3a3
The current patch doesn't work because it depends on a symbol that's only available in the newest SDK (Android 4.2). Going to need a new plan for detecting 4.2 until we upgrade that...
| Assignee | ||
Comment 6•12 years ago
|
||
Let's try that again: https://hg.mozilla.org/integration/mozilla-inbound/rev/6cae06155037
(using a number instead of a symbol per the suggestion of :mbrubeck and :gbrown on irc... works for me locally)
Comment 7•12 years ago
|
||
Try run for abe0f1cf5866 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=abe0f1cf5866
Results (out of 1 total builds):
failure: 1
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/wlachance@mozilla.com-abe0f1cf5866
Comment 8•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Updated•7 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•