Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ED64611020 for ; Wed, 10 Sep 2014 19:50:37 +0000 (UTC) Received: (qmail 80619 invoked by uid 500); 10 Sep 2014 19:50:32 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 80578 invoked by uid 500); 10 Sep 2014 19:50:32 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 80564 invoked by uid 99); 10 Sep 2014 19:50:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2014 19:50:32 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bowserj@gmail.com designates 209.85.220.182 as permitted sender) Received: from [209.85.220.182] (HELO mail-vc0-f182.google.com) (209.85.220.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2014 19:50:06 +0000 Received: by mail-vc0-f182.google.com with SMTP id le20so5169971vcb.27 for ; Wed, 10 Sep 2014 12:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CAhWbjAblF+tLkkYQrHAWQJEkg96Wf8ILPupB6E4VzY=; b=Pag94jZ4NuKguzSh2d9fTVgvpiTjX7qCpqmbKddR9KUU25p0OEVxPGvWF7FJ53k5+O Ectd8KdhkeYOruEjQF9Ue8jbEGOedgntOwuvLhXufhbttDSc4uWgkpmZ0QhKuyIQJDWC aQavC0hJtEMiP9S78smDCmJeQ+8rb2oGqHGRDku1srUjyj0ojEkKMG11uyKIecRwmMIG eDXkzOz69teM1e8Q5aqdvFo9B1f46LoBsrv+h5JKGdaIuL56wPiz3BeCg4Rc6isQEsl/ 02iOPQVWSOJMpeQxVn8qdLKzXIdxRcK44KeFHWCBKIc7hCAkypCEj9DqKTC3jBB2IiF3 kSCQ== MIME-Version: 1.0 X-Received: by 10.220.172.8 with SMTP id j8mr22290790vcz.32.1410378605497; Wed, 10 Sep 2014 12:50:05 -0700 (PDT) Received: by 10.220.99.195 with HTTP; Wed, 10 Sep 2014 12:50:05 -0700 (PDT) In-Reply-To: References: Date: Wed, 10 Sep 2014 12:50:05 -0700 Message-ID: Subject: Re: Android: activityResultKeepRunning From: Joe Bowser To: Andrew Grieve Cc: dev , Bryce Curtis Content-Type: multipart/alternative; boundary=001a11c3678cc7aadb0502bb5b6a X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3678cc7aadb0502bb5b6a Content-Type: text/plain; charset=UTF-8 I think this needs to be thought through more, and I'm extremely wary when you say this is a single commit, especially based on the last couple of months and how long it took 3.6 to go through. Given that we have people travelling halfway across the planet who intend to show people their work in less than two weeks, I would definitely like it if you were to put this in your own branch for testing. On Wed, Sep 10, 2014 at 12:41 PM, Andrew Grieve wrote: > I don't think there'd be much value in that. It'll be a single commit > that almost entirely just deletes lines. > > What do you think about the never auto-pausing on backgrounding? or > about auto-pausing when intent sending? > > On Wed, Sep 10, 2014 at 12:32 PM, Joe Bowser wrote: > > Can you put this on its own branch before it lands in 4.0.x? That'd be > > awesome! > > > > On Tue, Sep 9, 2014 at 5:32 PM, Andrew Grieve > wrote: > >> > >> For cordova-android 4.0, I'd like to go as far as just deleting the > >> "KeepRunning" . > >> > >> Apps get a "pause" event when they are backgrounded, and they can do > >> any pause-type logic there (e.g. unlisten to accelerometer events or > >> pausing audio). > >> > >> Any strong objections? > >> > >> On Tue, Sep 9, 2014 at 4:27 PM, Andrew Grieve > >> wrote: > >> > Commit description: If multitasking is turned on (keepRunning=true), > >> > then temporarily disable it when starting a new activity that returns > >> > a result - such as camera. > >> > > >> > > >> > > https://github.com/apache/cordova-android/commit/26adfb634651196106fb5b66f15eecb535a06d82 > >> > > >> > Bryce / anyone - clues as to *why* we'd want to disable JS timers when > >> > firing off an intent? > > > > > --001a11c3678cc7aadb0502bb5b6a--