X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/3eb64bcdd745438391038a7ba7c1c8b29fc00516..afaa2879d192be067cae523b51dad75d89a6c6cb:/src/com/owncloud/android/authentication/PassCodeManager.java?ds=inline diff --git a/src/com/owncloud/android/authentication/PassCodeManager.java b/src/com/owncloud/android/authentication/PassCodeManager.java index a49b2ab8..e60233df 100644 --- a/src/com/owncloud/android/authentication/PassCodeManager.java +++ b/src/com/owncloud/android/authentication/PassCodeManager.java @@ -1,3 +1,22 @@ +/** + * ownCloud Android client application + * + * @author David A. Velasco + * Copyright (C) 2015 ownCloud Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2, + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ package com.owncloud.android.authentication; import android.app.Activity; @@ -6,11 +25,10 @@ import android.content.Intent; import android.content.SharedPreferences; import android.os.PowerManager; import android.preference.PreferenceManager; -import android.view.View; import android.view.WindowManager; import com.owncloud.android.MainApp; -import com.owncloud.android.ui.activity.PinCodeActivity; +import com.owncloud.android.ui.activity.PassCodeActivity; import java.util.HashSet; import java.util.Set; @@ -21,7 +39,7 @@ public class PassCodeManager { static { sExemptOfPasscodeActivites = new HashSet(); - sExemptOfPasscodeActivites.add(PinCodeActivity.class); + sExemptOfPasscodeActivites.add(PassCodeActivity.class); // other activities may be exempted, if needed } @@ -55,8 +73,8 @@ public class PassCodeManager { passCodeShouldBeRequested() ){ - Intent i = new Intent(MainApp.getAppContext(), PinCodeActivity.class); - i.setAction(PinCodeActivity.ACTION_REQUEST); + Intent i = new Intent(MainApp.getAppContext(), PassCodeActivity.class); + i.setAction(PassCodeActivity.ACTION_REQUEST); i.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); activity.startActivity(i);