mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-12-22 23:18:48 -05:00
KP2ASoftKeyboard2: Ignore false positive from Lint
Calling onDraw method in this context makes Lint confused. Ignoring this case allows generating output files. Additionally added missing copyright line.
This commit is contained in:
parent
08105d98de
commit
c3ce19cf5a
@ -1,5 +1,7 @@
|
||||
/*
|
||||
* Copyright (C) 2008 The Android Open Source Project
|
||||
* Copyright (C) 2014 Philipp Crocoll <crocoapps@googlemail.com>
|
||||
* Copyright (C) 2014 Wiktor Lawski <wiktor.lawski@gmail.com>
|
||||
*
|
||||
* 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
|
||||
@ -16,6 +18,7 @@
|
||||
|
||||
package keepass2android.softkeyboard;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.Canvas;
|
||||
@ -313,6 +316,7 @@ public class CandidateView extends View {
|
||||
invalidate();
|
||||
}
|
||||
|
||||
@SuppressLint("WrongCall")
|
||||
public void setSuggestions(List<CharSequence> suggestions, boolean completions,
|
||||
boolean typedWordValid, boolean haveMinimalSuggestion) {
|
||||
clear();
|
||||
|
Loading…
Reference in New Issue
Block a user