From d4d34150b36e4f0722476f5eedaf279d466f5335 Mon Sep 17 00:00:00 2001 From: Adam Powell Date: Fri, 17 Apr 2015 12:13:40 -0700 Subject: [PATCH] Cancel a screenshot notification after a share target is chosen. Use the (relatively) new API for supplying a callback when a user makes a selection from the system ChooserActivity to clear out the screenshot notification after it has been shared to another app. Change-Id: If023a26d690c5ae8e29f28e2422f694ae4b654cb --- packages/SystemUI/AndroidManifest.xml | 4 ++++ .../systemui/screenshot/GlobalScreenshot.java | 28 +++++++++++++++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml index a8a4baa8221f..24f69317cc4b 100644 --- a/packages/SystemUI/AndroidManifest.xml +++ b/packages/SystemUI/AndroidManifest.xml @@ -208,6 +208,10 @@ + + +