mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-19 16:19:33 +01:00
Include user-agent and API level in debuglog.
This commit is contained in:
@@ -9,7 +9,9 @@ import org.thoughtcrime.securesms.BuildConfig;
|
||||
*/
|
||||
public class StandardUserAgentInterceptor extends UserAgentInterceptor {
|
||||
|
||||
public static final String USER_AGENT = "Signal-Android/" + BuildConfig.VERSION_NAME + " Android/" + Build.VERSION.SDK_INT;
|
||||
|
||||
public StandardUserAgentInterceptor() {
|
||||
super("Signal-Android/" + BuildConfig.VERSION_NAME + " Android/" + Build.VERSION.SDK_INT);
|
||||
super(USER_AGENT);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user