Skip to content

Commit bb45492

Browse files
committed
Reduce number of emails fetched to 15
1 parent fc3cb1b commit bb45492

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/ly/priv/mobile/GmailLinkGrabberService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ protected List<Thread> doInBackground(Void... params) {
169169
ListThreadsResponse threadsResponse;
170170
List<Thread> threads = null;
171171
try {
172-
threadsResponse = mailService.users().threads().list("me")
172+
threadsResponse = mailService.users().threads().list("me").setMaxResults(Long.parseLong("15"))
173173
.execute();
174174
threads = threadsResponse.getThreads();
175175
} catch (IOException e) {

src/ly/priv/mobile/gui/IndexFragment.java

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import ly.priv.mobile.ConstantValues;
44
import ly.priv.mobile.JsObject;
55
import ly.priv.mobile.R;
6+
import ly.priv.mobile.SettingsActivityNew;
67
import ly.priv.mobile.Values;
78
import ly.priv.mobile.VerifyAuthToken;
89
import android.annotation.SuppressLint;

0 commit comments

Comments
 (0)