summaryrefslogtreecommitdiff
path: root/app/src/insecure/java/se/leap/bitmaskclient/ProviderDetailActivity.java
blob: 9f2fa284bea29c73b2fb3e2d6ff6173c1e9f0a94 (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(Constants.DANGER_ON).apply();
        super.onBackPressed();
    }

}