Add support for DPI within size instruction and client info.
This commit is contained in:
1 parent
9b20d5e1eb
commit
b722cf5977
5 files changed
+46
-8
No files matched your search
+5
@@ -251,6 +251,11 @@ public class BasicTunnelRequestUtility {
|
||||
if (height != null)
|
||||
info.setOptimalScreenHeight(Integer.parseInt(height));
|
||||
|
||||
// Set resolution if provided
|
||||
String dpi = request.getParameter("dpi");
|
||||
if (dpi != null)
|
||||
info.setOptimalResolution(Integer.parseInt(dpi));
|
||||
|
||||
// Add audio mimetypes
|
||||
String[] audio_mimetypes = request.getParameterValues("audio");
|
||||
if (audio_mimetypes != null)
|
||||
|
||||
Reference in new issue
Block a user