Skip to content

Commit a2f3d11

Browse files
committed
Remove supportsRtl from AndroidManifest.xml
Signed-off-by: Alex Saveau <[email protected]> Couldn't suppress lint directly in AndroidManifest.xml Signed-off-by: Alex Saveau <[email protected]> Undo accidental label order change Signed-off-by: Alex Saveau <[email protected]> Remove supportsRtl from AndroidManifest.xml Signed-off-by: Alex Saveau <[email protected]> Couldn't suppress lint directly in AndroidManifest.xml Signed-off-by: Alex Saveau <[email protected]> Undo accidental label order change Signed-off-by: Alex Saveau <[email protected]>
1 parent 2f03ca8 commit a2f3d11

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

auth/src/main/AndroidManifest.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
66
<uses-permission android:name="android.permission.INTERNET"/>
77

8-
<application
9-
android:supportsRtl="true">
8+
<application>
109

1110
<meta-data
1211
android:name="com.google.android.gms.version"
@@ -22,8 +21,8 @@
2221

2322
<activity
2423
android:name=".KickoffActivity"
25-
android:exported="false"
2624
android:label=""
25+
android:exported="false"
2726
android:theme="@style/FirebaseUI.Transparent"/>
2827

2928
<activity

library/quality/lint-baseline.xml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<issues format="4" by="lint 2.3.0-alpha2">
33

4+
<issue
5+
id="RtlEnabled"
6+
severity="Error"
7+
message="The project references RTL attributes, but does not explicitly enable or disable RTL support with `android:supportsRtl` in the manifest"
8+
category="Internationalization:Bidirectional Text"
9+
priority="3"
10+
summary="Using RTL attributes without enabling RTL support"
11+
explanation="To enable right-to-left support, when running on API 17 and higher, you must set the `android:supportsRtl` attribute in the manifest `<application>` element. If you have started adding RTL attributes, but have not yet finished the migration, you can set the attribute to false to satisfy this lint check.">
12+
<location file="src/main/AndroidManifest.xml"/>
13+
</issue>
14+
415
<issue
516
id="UnusedIds"
617
message="The resource `R.id.facebook_button` appears to be unused"
718
errorLine1=" android:id=&quot;@+id/facebook_button&quot;/>
819
"
920
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
1021
<location
11-
file="src\main\res\layout\idp_button_facebook.xml"
22+
file="src/main/res/layout/idp_button_facebook.xml"
1223
line="5"
1324
column="5"/>
1425
</issue>
@@ -20,7 +31,7 @@
2031
"
2132
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
2233
<location
23-
file="src\main\res\layout\idp_button_google.xml"
34+
file="src/main/res/layout/idp_button_google.xml"
2435
line="5"
2536
column="5"/>
2637
</issue>
@@ -32,7 +43,7 @@
3243
"
3344
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
3445
<location
35-
file="src\main\res\layout\idp_button_twitter.xml"
46+
file="src/main/res/layout/idp_button_twitter.xml"
3647
line="5"
3748
column="5"/>
3849
</issue>
@@ -44,7 +55,7 @@
4455
"
4556
errorLine2=" ^">
4657
<location
47-
file="src\main\res\layout\register_email_layout.xml"
58+
file="src/main/res/layout/register_email_layout.xml"
4859
line="79"
4960
column="9"/>
5061
</issue>
@@ -56,7 +67,7 @@
5667
"
5768
errorLine2=" ^">
5869
<location
59-
file="src\main\res\layout\welcome_back_idp_prompt_layout.xml"
70+
file="src/main/res/layout/welcome_back_idp_prompt_layout.xml"
6071
line="16"
6172
column="5"/>
6273
</issue>
@@ -68,7 +79,7 @@
6879
"
6980
errorLine2=" ^">
7081
<location
71-
file="src\main\res\layout\welcome_back_password_prompt_layout.xml"
82+
file="src/main/res/layout/welcome_back_password_prompt_layout.xml"
7283
line="15"
7384
column="5"/>
7485
</issue>

0 commit comments

Comments
 (0)