Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #372 from jaoo/1107862-1.1
Browse files Browse the repository at this point in the history
Bug 1107862 - [Loop] Impossible to kill the app when the sms app used for the fallback mechanism is open in background. r=borjasalguero
  • Loading branch information
jaoo committed Dec 9, 2014
2 parents 4212078 + 3960b50 commit 6900ad7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/js/screens/share.js
Expand Up @@ -38,12 +38,17 @@
_url,
function onSMSShared() {
CallLog.addUrl(_generateUrlObject(), _contactInfo);
Share.hide();
// See bug https://bugzilla.mozilla.org/show_bug.cgi?id=1107862
// The 'websms/sms' activity only executes the `onsuccess` callback of
// the activity when the user hits the close button in the Messaging
// app. We took out the action of hidding the share screen from here for
// that reason.
},
function onError() {
// TODO Do we need to show something to the user?
}
);
Share.hide();
}

function _newMail(id) {
Expand Down

0 comments on commit 6900ad7

Please sign in to comment.