summaryrefslogtreecommitdiff
path: root/app/src/insecure/java/se/leap/bitmaskclient/ProviderDetailActivity.java
blob: cf9ee5f54515b45a48f1b293358351632cbcfff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package se.leap.bitmaskclient;

import android.content.SharedPreferences;

public class ProviderDetailActivity extends AbstractProviderDetailActivity {

    @Override
    public void onBackPressed() {
        SharedPreferences.Editor editor = preferences.edit();
        editor.remove(ProviderListContent.ProviderItem.DANGER_ON).apply();
        super.onBackPressed();
    }

}