Quick cleanup across the board

- Clean up imports
- Adjust method visibility
- Drop in NonNull annotations where needed
- Prevent potential NPEs from nulled getActivity calls
- Remove unused methods

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya
2018-04-28 06:07:48 +02:00
committed by Jason A. Donenfeld
parent 592c5cbbd6
commit ba862b166b
8 changed files with 16 additions and 19 deletions
@@ -30,10 +30,6 @@ public class ToolsInstallerPreference extends Preference {
toolsInstaller = applicationComponent.getToolsInstaller();
}
public ToolsInstallerPreference(final Context context) {
this(context, null);
}
@Override
public CharSequence getSummary() {
return getContext().getString(state.messageResourceId);