Skip to content

Commit 589f362

Browse files
committed
Remove day of week from phone notification panel.
It was added to the tablet, but was never intended for use on the phone, where it can cause the label to get too wide, preventing access to settings / clear-all. Bug: 5621955 Change-Id: Ic023391aa22d7ba3edd815f602afcb3357eb2501
1 parent 481ffa5 commit 589f362

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
/**
4+
* Copyright (c) 2011, The Android Open Source Project
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
-->
19+
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
20+
<!-- For formatting day of week and date in DateView. %1$s is DOW, %2$s is date.
21+
We show both (DOW on one line, then the date) but this can be overridden for locales as
22+
necessary.
23+
-->
24+
<string name="status_bar_date_formatter">%1$s\n%2$s</string>
25+
26+
</resources>
27+

packages/SystemUI/res/values/donottranslate.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
We show both (DOW on one line, then the date) but this can be overridden for locales as
2222
necessary.
2323
-->
24-
<string name="status_bar_date_formatter">%1$s\n%2$s</string>
24+
<string name="status_bar_date_formatter">%2$s</string>
2525

2626
</resources>

0 commit comments

Comments
 (0)