fix(network): use MoshidonAndroid as user agent
This commit is contained in:
@@ -25,7 +25,7 @@ public class MastodonApp extends Application{
|
|||||||
params.diskCacheSize=100*1024*1024;
|
params.diskCacheSize=100*1024*1024;
|
||||||
params.maxMemoryCacheSize=Integer.MAX_VALUE;
|
params.maxMemoryCacheSize=Integer.MAX_VALUE;
|
||||||
ImageCache.setParams(params);
|
ImageCache.setParams(params);
|
||||||
NetworkUtils.setUserAgent("MastodonAndroid/"+BuildConfig.VERSION_NAME);
|
NetworkUtils.setUserAgent("MoshidonAndroid/"+BuildConfig.VERSION_NAME);
|
||||||
|
|
||||||
PushSubscriptionManager.tryRegisterFCM();
|
PushSubscriptionManager.tryRegisterFCM();
|
||||||
GlobalUserPreferences.load();
|
GlobalUserPreferences.load();
|
||||||
|
|||||||
Reference in New Issue
Block a user