respond to generic panic trigger Intent by clearing passphrases

PanicKit provides a common framework for creating "panic button" apps that
can trigger actions in "panic responder" apps.  In this case, the response
is to clear all the cached passphrases.
This commit is contained in:
Hans-Christoph Steiner
2016-01-13 17:40:48 +01:00
parent c113103b82
commit f8b58079eb
2 changed files with 59 additions and 0 deletions

View File

@@ -772,6 +772,17 @@
android:name=".ui.HelpActivity"
android:label="@string/title_help" />
<activity
android:name=".ui.PanicResponderActivity"
android:noHistory="true"
android:theme="@android:style/Theme.NoDisplay">
<intent-filter>
<action android:name="info.guardianproject.panic.action.TRIGGER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<!-- Internal services/content providers (not exported) -->
<service
android:name=".service.PassphraseCacheService"