From patchwork Tue Jan 17 15:42:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: alexandros.frantzis@linaro.org X-Patchwork-Id: 6268 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 6E38C23E13 for ; Tue, 17 Jan 2012 15:42:16 +0000 (UTC) Received: from mail-bk0-f52.google.com (mail-bk0-f52.google.com [209.85.214.52]) by fiordland.canonical.com (Postfix) with ESMTP id 5DA8EA1845E for ; Tue, 17 Jan 2012 15:42:16 +0000 (UTC) Received: by mail-bk0-f52.google.com with SMTP id zt4so1842245bkb.11 for ; Tue, 17 Jan 2012 07:42:16 -0800 (PST) Received: by 10.204.152.20 with SMTP id e20mr6767673bkw.117.1326814936168; Tue, 17 Jan 2012 07:42:16 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.205.82.144 with SMTP id ac16cs122357bkc; Tue, 17 Jan 2012 07:42:15 -0800 (PST) Received: by 10.216.133.204 with SMTP id q54mr4016484wei.2.1326814933673; Tue, 17 Jan 2012 07:42:13 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id cf10si12506931wib.0.2012.01.17.07.42.13 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Jan 2012 07:42:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RnBAr-000138-Fk for ; Tue, 17 Jan 2012 15:42:13 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 6DF16E06D2 for ; Tue, 17 Jan 2012 15:42:13 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: glmark2 X-Launchpad-Branch: ~glmark2-dev/glmark2/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 186 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~glmark2-dev/glmark2/trunk] Rev 186: Android: Kill the app process when pausing. Message-Id: <20120117154213.3322.75901.launchpad@ackee.canonical.com> Date: Tue, 17 Jan 2012 15:42:13 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14676"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: d71f24781cd6dfa8cf3ca808f5870544c59fff44 ------------------------------------------------------------ revno: 186 committer: Alexandros Frantzis branch nick: trunk timestamp: Tue 2012-01-17 16:40:18 +0200 message: Android: Kill the app process when pausing. As we don't handle the pause/resume cycle properly at this point, this is the sanest thing to do. modified: android/src/org/linaro/glmark2/Glmark2Activity.java --- lp:glmark2 https://code.launchpad.net/~glmark2-dev/glmark2/trunk You are subscribed to branch lp:glmark2. To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription === modified file 'android/src/org/linaro/glmark2/Glmark2Activity.java' --- android/src/org/linaro/glmark2/Glmark2Activity.java 2012-01-13 21:14:04 +0000 +++ android/src/org/linaro/glmark2/Glmark2Activity.java 2012-01-17 14:40:18 +0000 @@ -37,6 +37,8 @@ protected void onPause() { super.onPause(); mGLView.onPause(); + Glmark2Activity.this.finish(); + android.os.Process.killProcess(android.os.Process.myPid()); } @Override