summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/egg
diff options
context:
space:
mode:
authorDan Sandler <dsandler@android.com>2015-05-15 15:08:34 -0400
committerDan Sandler <dsandler@android.com>2015-05-15 16:10:22 -0400
commit696f6a3c48097f082b97c9829deb5aca5823b9bf (patch)
treebc70b4f753e10c8dcc7bc990d68da8eb2df1602e /packages/SystemUI/src/com/android/systemui/egg
parentf02fd46d34624b4549565be777deff8328bbdc05 (diff)
downloadframeworks_base-696f6a3c48097f082b97c9829deb5aca5823b9bf.zip
frameworks_base-696f6a3c48097f082b97c9829deb5aca5823b9bf.tar.gz
frameworks_base-696f6a3c48097f082b97c9829deb5aca5823b9bf.tar.bz2
Mmm mmm mmm mmm.
Change-Id: I23b560694b9cc0eb2103ec16769b0446099d1e83
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/egg')
-rw-r--r--packages/SystemUI/src/com/android/systemui/egg/ShruggyActivity.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/egg/ShruggyActivity.java b/packages/SystemUI/src/com/android/systemui/egg/ShruggyActivity.java
new file mode 100644
index 0000000..7459957
--- /dev/null
+++ b/packages/SystemUI/src/com/android/systemui/egg/ShruggyActivity.java
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2015 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.systemui.egg;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.util.Log;
+import android.widget.Toast;
+import com.android.systemui.R;
+
+public class ShruggyActivity extends Activity {
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ Toast.makeText(this, getString(R.string.regrettable_lack_of_easter_egg),
+ Toast.LENGTH_SHORT).show();
+ Log.v("SystemUI", "Hey, it's just a preview; what did you expect?");
+ finish();
+ }
+}