summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/ChooseLockPattern.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2011-10-11 17:26:27 -0700
committerJeff Sharkey <jsharkey@android.com>2011-10-13 11:33:43 -0700
commite4599058ddda62fd8baebe616268c92d64421b6d (patch)
treedf76d30febf866b866cda1e94bccaf16a1d4b99d /src/com/android/settings/ChooseLockPattern.java
parent1247d19204f6eb1e8d3c560c8ba8e1ef900a897c (diff)
downloadpackages_apps_settings-e4599058ddda62fd8baebe616268c92d64421b6d.zip
packages_apps_settings-e4599058ddda62fd8baebe616268c92d64421b6d.tar.gz
packages_apps_settings-e4599058ddda62fd8baebe616268c92d64421b6d.tar.bz2
Toast when finished pattern or password setup.
Bug: 5443781 Change-Id: I599ccbb9c535396e05a2a22ab6d3ef302fb9c623
Diffstat (limited to 'src/com/android/settings/ChooseLockPattern.java')
-rw-r--r--src/com/android/settings/ChooseLockPattern.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/settings/ChooseLockPattern.java b/src/com/android/settings/ChooseLockPattern.java
index 180eee1..314a432 100644
--- a/src/com/android/settings/ChooseLockPattern.java
+++ b/src/com/android/settings/ChooseLockPattern.java
@@ -35,6 +35,7 @@ import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
+import android.widget.Toast;
import java.util.ArrayList;
import java.util.Collections;
@@ -512,6 +513,8 @@ public class ChooseLockPattern extends PreferenceActivity {
utils.saveLockPattern(mChosenPattern, isFallback);
utils.setLockPatternEnabled(true);
+ Toast.makeText(getActivity(), R.string.lock_setup, Toast.LENGTH_SHORT).show();
+
if (lockVirgin) {
utils.setVisiblePatternEnabled(true);
utils.setTactileFeedbackEnabled(false);