Skip to content

Commit fa67c4c

Browse files
committed
Make lint happy
Signed-off-by: Alex Saveau <[email protected]>
1 parent 87ba079 commit fa67c4c

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

auth/src/main/java/com/firebase/ui/auth/ui/email/RegisterEmailFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void onCreate(@Nullable Bundle savedInstanceState) {
7676
mHandler = ViewModelProviders.of(this).get(EmailProviderResponseHandler.class);
7777
mHandler.init(getFlowParams());
7878
mHandler.getOperation().observe(this, new ResourceObserver<IdpResponse>(
79-
this, R.string.fui_progress_dialog_signing_in) {
79+
this, R.string.fui_progress_dialog_signing_up) {
8080
@Override
8181
protected void onSuccess(@NonNull IdpResponse response) {
8282
startSaveCredentials(

auth/src/main/java/com/firebase/ui/auth/ui/phone/VerifyPhoneNumberFragment.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,14 @@ private void setupSendCodeButton() {
234234

235235
private void showPhoneAutoCompleteHint() {
236236
try {
237-
startIntentSenderForResult(getPhoneHintIntent().getIntentSender(), RequestCodes.CRED_HINT);
237+
startIntentSenderForResult(
238+
getPhoneHintIntent().getIntentSender(),
239+
RequestCodes.CRED_HINT,
240+
null,
241+
0,
242+
0,
243+
0,
244+
null);
238245
} catch (IntentSender.SendIntentException e) {
239246
Log.e(TAG, "Unable to start hint intent", e);
240247
}

library/quality/quality.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ android {
7676
disable 'WrongConstant', // TODO it's being unruly, figure that out later
7777
'ObsoleteLintCustomCheck', // TODO ButterKnife will fix this in v9.0
7878
'IconExpectedSize',
79+
'UnusedResources', // TODO remove in future PR
7980
'NewerVersionAvailable', 'GradleDependency' // For reproducible builds
8081

8182
baseline file("$configDir/lint-baseline.xml")

0 commit comments

Comments
 (0)