mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-24 18:19:38 +00:00
Made some inner classes static (For Efficiency)
(and made one explicitly private) Closes #3932 // FREEBIE
This commit is contained in:
committed by
Moxie Marlinspike
parent
d0fc5268a6
commit
99adbe5784
@@ -312,7 +312,7 @@ public class ThumbnailView extends FrameLayout {
|
||||
void onClick(View v, Slide slide);
|
||||
}
|
||||
|
||||
private class ThumbnailClickDispatcher implements View.OnClickListener {
|
||||
private static class ThumbnailClickDispatcher implements View.OnClickListener {
|
||||
private ThumbnailClickListener listener;
|
||||
private Slide slide;
|
||||
|
||||
|
||||
@@ -441,7 +441,7 @@ public class CameraView extends FrameLayout {
|
||||
ApplicationContext.getInstance(getContext()).getJobManager().add(job);
|
||||
}
|
||||
|
||||
private abstract class SerializedAsyncTask<Result> extends Job {
|
||||
private static abstract class SerializedAsyncTask<Result> extends Job {
|
||||
|
||||
public SerializedAsyncTask() {
|
||||
super(JobParameters.newBuilder().withGroupId(CameraView.class.getSimpleName()).create());
|
||||
|
||||
@@ -181,7 +181,7 @@ public class EmojiProvider {
|
||||
public void setColorFilter(ColorFilter cf) { }
|
||||
}
|
||||
|
||||
class DrawInfo {
|
||||
private static class DrawInfo {
|
||||
EmojiPageBitmap page;
|
||||
int index;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user