diff --git a/packages/SystemUI/res/layout/quick_settings_tile_time.xml b/packages/SystemUI/res/layout/quick_settings_tile_time.xml index 4ffbf52389f52..910e1f63f16be 100644 --- a/packages/SystemUI/res/layout/quick_settings_tile_time.xml +++ b/packages/SystemUI/res/layout/quick_settings_tile_time.xml @@ -29,10 +29,11 @@ android:hand_hour="@drawable/ic_qs_clock_hour" android:hand_minute="@drawable/ic_qs_clock_minute" /> - - \ No newline at end of file + diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/QuickSettingsDateView.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/QuickSettingsDateView.java deleted file mode 100644 index c52f94b17ddcb..0000000000000 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/QuickSettingsDateView.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2008 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.statusbar.policy; - -import android.content.BroadcastReceiver; -import android.content.Context; -import android.content.Intent; -import android.content.IntentFilter; -import android.text.format.DateFormat; -import android.util.AttributeSet; -import android.view.View; -import android.view.ViewParent; -import android.widget.TextView; - -import com.android.systemui.R; - -import java.util.Date; - -public final class QuickSettingsDateView extends DateView { - - public QuickSettingsDateView(Context context, AttributeSet attrs) { - super(context, attrs); - } - - protected void updateClock() { - final Context context = getContext(); - Date now = new Date(); - CharSequence dow = DateFormat.format("MMM d, yyyy", now); - setText(dow); - } -}