FreeRDP
Loading...
Searching...
No Matches
com.freerdp.freerdpcore.presentation.SessionActivity Class Reference
Inheritance diagram for com.freerdp.freerdpcore.presentation.SessionActivity:
Collaboration diagram for com.freerdp.freerdpcore.presentation.SessionActivity:

Data Structures

class  ConnectThread

Public Member Functions

void onCreate (Bundle savedInstanceState)
void onWindowFocusChanged (boolean hasFocus)
void onConfigurationChanged (Configuration newConfig)
void onRequestPermissionsResult (int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults)
void handleBackPressed ()
boolean onKeyLongPress (int keyCode, KeyEvent event)
boolean onKeyDown (int keycode, KeyEvent event)
boolean onKeyUp (int keycode, KeyEvent event)
boolean onKeyMultiple (int keyCode, int repeatCount, KeyEvent event)
void OnSettingsChanged (int width, int height, int bpp)
void OnGraphicsUpdate (int x, int y, int width, int height)
void OnReconnecting ()
void OnGraphicsResize (int width, int height, int bpp)
boolean OnAuthenticate (StringBuilder username, StringBuilder domain, StringBuilder password)
boolean OnGatewayAuthenticate (StringBuilder username, StringBuilder domain, StringBuilder password)
int OnVerifiyCertificateEx (String host, long port, String commonName, String subject, String issuer, String fingerprint, long flags)
int OnVerifyChangedCertificateEx (String host, long port, String commonName, String subject, String issuer, String fingerprint, String oldSubject, String oldIssuer, String oldFingerprint, long flags)
boolean OnExperimentalFeature (int feature)
void OnRemoteClipboardChanged (String data)
void OnRemoteClipboardImageChanged (byte[] data)
void OnPointerSet (int[] pixels, int width, int height, int hotX, int hotY)
void OnPointerSetNull ()
void OnPointerSetDefault ()
void OnRailWindowUpdate (long windowId, int width, int height, int[] pixels)
void OnRailWindowMove (long windowId, int x, int y, int w, int h)
void OnRailWindowHide (long windowId)
void OnRailWindowDestroy (long windowId)
void OnRailSessionEnd ()
void OnRailMonitoredDesktop (long[] windowIds, long activeWindowId)
boolean onGenericMotionEvent (MotionEvent e)
void onClipboardChanged (String data)
void onClipboardImageChanged (byte[] data, String mimeType)

Static Public Attributes

static final String PARAM_CONNECTION_REFERENCE = "conRef"
static final String PARAM_INSTANCE = "instance"

Protected Member Functions

void onStart ()
void onRestart ()
void onResume ()
void onPause ()
void onStop ()
void onDestroy ()

Detailed Description

Definition at line 61 of file SessionActivity.java.

Member Function Documentation

◆ handleBackPressed()

void com.freerdp.freerdpcore.presentation.SessionActivity.handleBackPressed ( )
inline

Definition at line 682 of file SessionActivity.java.

683 {
684 // hide keyboards (if any visible) or send alt+f4 to the session
685 if (inputManager != null)
686 {
687 if (inputManager.handleKeyboardBack())
688 return;
689 if (inputManager.handleBackAsAltF4())
690 return;
691 }
692 if (System.currentTimeMillis() - backPressedTime < 2000)
693 {
694 connectCancelledByUser = true;
695 LibFreeRDP.disconnect(session.getInstance());
696 }
697 else
698 {
699 backPressedTime = System.currentTimeMillis();
700 Toast.makeText(this, R.string.session_double_back_to_exit, Toast.LENGTH_SHORT).show();
701 }
702 }

◆ OnAuthenticate()

boolean com.freerdp.freerdpcore.presentation.SessionActivity.OnAuthenticate ( StringBuilder username,
StringBuilder domain,
StringBuilder password )
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 819 of file SessionActivity.java.

821 {
822 return dialogs.promptCredentials(username, domain, password);
823 }

◆ onClipboardChanged()

void com.freerdp.freerdpcore.presentation.SessionActivity.onClipboardChanged ( String data)
inline

Implements com.freerdp.freerdpcore.utils.ClipboardManagerProxy.OnClipboardChangedListener.

Definition at line 954 of file SessionActivity.java.

955 {
956 Log.v(TAG, "onClipboardChanged: " + data);
957 if (session != null)
958 LibFreeRDP.sendClipboardData(session.getInstance(), data);
959 }
#define TAG

◆ onClipboardImageChanged()

void com.freerdp.freerdpcore.presentation.SessionActivity.onClipboardImageChanged ( byte[] data,
String mimeType )
inline

Implements com.freerdp.freerdpcore.utils.ClipboardManagerProxy.OnClipboardChangedListener.

Definition at line 961 of file SessionActivity.java.

962 {
963 if (session != null && data != null)
964 LibFreeRDP.sendClipboardImageData(session.getInstance(), data, mimeType);
965 }

◆ onConfigurationChanged()

void com.freerdp.freerdpcore.presentation.SessionActivity.onConfigurationChanged ( Configuration newConfig)
inline

Definition at line 396 of file SessionActivity.java.

397 {
398 super.onConfigurationChanged(newConfig);
399
400 hideSystemBars();
401
402 // screen_width/screen_height will be updated by the next onGlobalLayout callback;
403 if (session != null && session.getBookmark() != null &&
404 session.getBookmark().getActiveScreenSettings().isFitScreen())
405 {
406 scrollView.post(() -> {
407 if (screen_width > 0 && screen_height > 0)
408 LibFreeRDP.sendMonitorLayout(session.getInstance(), screen_width,
409 screen_height);
410 });
411 }
412 }

◆ onCreate()

void com.freerdp.freerdpcore.presentation.SessionActivity.onCreate ( Bundle savedInstanceState)
inline

Definition at line 226 of file SessionActivity.java.

227 {
228 super.onCreate(savedInstanceState);
229
230 hideSystemBars();
231
232 this.setContentView(R.layout.session);
233
234 Log.v(TAG, "Session.onCreate");
235
236 // ATTENTION: We use the onGlobalLayout notification to start our
237 // session.
238 // This is because only then we can know the exact size of our session
239 // when using fit screen
240 // accounting for any status bars etc. that Android might throws on us.
241 // A bit weird looking
242 // but this is the only way ...
243 final View activityRootView = findViewById(R.id.session_root_view);
244 activityRootView.setFitsSystemWindows(false);
245 ViewCompat.setOnApplyWindowInsetsListener(activityRootView,
246 (v, insets) -> onWindowInsetsChanged(v, insets));
247 activityRootView.getViewTreeObserver().addOnGlobalLayoutListener(
248 new OnGlobalLayoutListener() {
249 @Override public void onGlobalLayout()
250 {
251 screen_width = scrollView.getWidth() - scrollView.getPaddingLeft() -
252 scrollView.getPaddingRight();
253 screen_height = scrollView.getHeight() - scrollView.getPaddingTop() -
254 scrollView.getPaddingBottom();
255
256 // start session
257 if (!sessionRunning && getIntent() != null)
258 {
259 processIntent(getIntent());
260 sessionRunning = true;
261 }
262 }
263 });
264
265 sessionView = findViewById(R.id.sessionView);
266 sessionView.requestFocus();
267
268 touchPointerView = findViewById(R.id.touchPointerView);
269
270 floatingToolbar = new FloatingToolbar(this, new FloatingToolbar.Listener() {
271 @Override public void onToggleTouchPointer()
272 {
273 if (inputManager != null)
274 inputManager.toggleTouchPointer();
275 }
276 @Override public void onToggleKeyboard()
277 {
278 if (inputManager != null)
279 inputManager.toggleKeyboard();
280 }
281 });
282
283 ExtendedKeyboardView keyboard = findViewById(R.id.extended_keyboard);
284
285 scrollView = findViewById(R.id.sessionScrollView);
286 scrollView.setScrollViewListener(null);
287 railManager = new RailWindowManager(this, findViewById(R.id.railContainer), sessionView);
288 sessionViewModel = new ViewModelProvider(this).get(SessionViewModel.class);
289 sessionViewModel.getState().observe(this, this::onConnectionStateChanged);
290
291 dialogs = new SessionDialogs(this, new SessionDialogs.OnUserCancelListener() {
292 @Override public void onUserCancel()
293 {
294 connectCancelledByUser = true;
295 }
296 });
297
298 // Wire up the input manager (instance is attached later in bindSession()).
299 inputManager =
300 new SessionInputManager(this, scrollView, sessionView, touchPointerView, keyboard);
301 sessionView.setSessionViewListener(inputManager);
302 touchPointerView.setTouchPointerListener(inputManager);
303 sessionView.setScaleGestureDetector(
304 new ScaleGestureDetector(this, inputManager.getPinchZoomListener()));
305
306 mClipboardManager = ClipboardManagerProxy.getClipboardManager(this);
307 mClipboardManager.addClipboardChangedListener(this);
308
309 getOnBackPressedDispatcher().addCallback(this, new OnBackPressedCallback(true) {
310 @Override public void handleOnBackPressed()
311 {
312 handleBackPressed();
313 }
314 });
315
316 hideSystemBars();
317 }

◆ onDestroy()

void com.freerdp.freerdpcore.presentation.SessionActivity.onDestroy ( )
inlineprotected

Definition at line 368 of file SessionActivity.java.

369 {
370 if (connectThread != null)
371 {
372 connectThread.interrupt();
373 }
374 super.onDestroy();
375 Log.v(TAG, "Session.onDestroy");
376
377 // Cancel running disconnect timers.
378 GlobalApp.cancelDisconnectTimer();
379
380 // Disconnect only this activity's session.
381 if (session != null)
382 LibFreeRDP.disconnect(session.getInstance());
383
384 // unregister freerdp session listener
385 sessionViewModel.unregister();
386
387 // remove clipboard listener
388 mClipboardManager.removeClipboardboardChangedListener(this);
389
390 // free session
391 GlobalApp.freeSession(session.getInstance());
392
393 session = null;
394 }

◆ OnExperimentalFeature()

boolean com.freerdp.freerdpcore.presentation.SessionActivity.OnExperimentalFeature ( int feature)
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 852 of file SessionActivity.java.

853 {
854 final String featureKey;
855 final String displayName;
856 switch (feature)
857 {
858 case LibFreeRDP.EXPERIMENTAL_REMOTEAPP:
859 featureKey = "remoteapp";
860 displayName = getString(R.string.experimental_feature_remoteapp);
861 break;
862 case LibFreeRDP.EXPERIMENTAL_CAMERA:
863 featureKey = "camera";
864 displayName = getString(R.string.experimental_feature_camera);
865 break;
866 default:
867 return true;
868 }
869 if (ApplicationSettingsActivity.isExperimentalEnabled(this, featureKey))
870 return true;
871 // suppress the generic failure toast; the dialog explains the abort
872 connectCancelledByUser = true;
873 dialogs.showExperimentalBlocked(displayName);
874 return false;
875 }

◆ OnGatewayAuthenticate()

boolean com.freerdp.freerdpcore.presentation.SessionActivity.OnGatewayAuthenticate ( StringBuilder username,
StringBuilder domain,
StringBuilder password )
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 826 of file SessionActivity.java.

828 {
829 return dialogs.promptCredentials(username, domain, password);
830 }

◆ onGenericMotionEvent()

boolean com.freerdp.freerdpcore.presentation.SessionActivity.onGenericMotionEvent ( MotionEvent e)
inline

Definition at line 946 of file SessionActivity.java.

947 {
948 super.onGenericMotionEvent(e);
949 return inputManager != null && inputManager.onGenericMotionEvent(e);
950 }

◆ OnGraphicsResize()

void com.freerdp.freerdpcore.presentation.SessionActivity.OnGraphicsResize ( int width,
int height,
int bpp )
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 799 of file SessionActivity.java.

800 {
801 // replace bitmap
802 if (bpp > 16)
803 bitmap = Bitmap.createBitmap(width, height, Config.ARGB_8888);
804 else
805 bitmap = Bitmap.createBitmap(width, height, Config.RGB_565);
806 session.setSurface(new BitmapDrawable(getResources(), bitmap));
807
808 if (inputManager != null)
809 inputManager.setBitmap(bitmap);
810
811 /*
812 * since sessionView can only be modified from the UI thread any
813 * modifications to it need to be scheduled
814 */
815 uiHandler.sendEmptyMessage(GRAPHICS_CHANGED);
816 }

◆ OnGraphicsUpdate()

void com.freerdp.freerdpcore.presentation.SessionActivity.OnGraphicsUpdate ( int x,
int y,
int width,
int height )
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 778 of file SessionActivity.java.

779 {
780 LibFreeRDP.updateGraphics(session.getInstance(), bitmap, x, y, width, height);
781
782 sessionView.addInvalidRegion(new Rect(x, y, x + width, y + height));
783
784 /*
785 * since sessionView can only be modified from the UI thread any
786 * modifications to it need to be scheduled
787 */
788
789 uiHandler.sendEmptyMessage(REFRESH_SESSIONVIEW);
790 }

◆ onKeyDown()

boolean com.freerdp.freerdpcore.presentation.SessionActivity.onKeyDown ( int keycode,
KeyEvent event )
inline

Definition at line 722 of file SessionActivity.java.

723 {
724 if (keycode == KeyEvent.KEYCODE_BACK)
725 return super.onKeyDown(keycode, event);
726 return inputManager.onAndroidKeyEvent(event);
727 }

◆ onKeyLongPress()

boolean com.freerdp.freerdpcore.presentation.SessionActivity.onKeyLongPress ( int keyCode,
KeyEvent event )
inline

Definition at line 704 of file SessionActivity.java.

705 {
706 if (inputManager.onAndroidKeyLongPress(keyCode))
707 return true;
708 return super.onKeyLongPress(keyCode, event);
709 }

◆ onKeyMultiple()

boolean com.freerdp.freerdpcore.presentation.SessionActivity.onKeyMultiple ( int keyCode,
int repeatCount,
KeyEvent event )
inline

Definition at line 738 of file SessionActivity.java.

739 {
740 return inputManager.onAndroidKeyEvent(event);
741 }

◆ onKeyUp()

boolean com.freerdp.freerdpcore.presentation.SessionActivity.onKeyUp ( int keycode,
KeyEvent event )
inline

Definition at line 729 of file SessionActivity.java.

730 {
731 if (keycode == KeyEvent.KEYCODE_BACK)
732 return super.onKeyUp(keycode, event);
733 return inputManager.onAndroidKeyEvent(event);
734 }

◆ onPause()

void com.freerdp.freerdpcore.presentation.SessionActivity.onPause ( )
inlineprotected

Definition at line 350 of file SessionActivity.java.

351 {
352 super.onPause();
353 Log.v(TAG, "Session.onPause");
354 if (activeSession == this)
355 activeSession = null;
356 // hide any visible keyboards
357 inputManager.hideKeyboards();
358 }

◆ OnPointerSet()

void com.freerdp.freerdpcore.presentation.SessionActivity.OnPointerSet ( int[] pixels,
int width,
int height,
int hotX,
int hotY )
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 889 of file SessionActivity.java.

890 {
891 Bundle data = new Bundle();
892 data.putIntArray("pixels", pixels);
893 data.putInt("width", width);
894 data.putInt("height", height);
895 data.putInt("hotX", hotX);
896 data.putInt("hotY", hotY);
897 Message msg = uiHandler.obtainMessage(POINTER_SET);
898 msg.setData(data);
899 uiHandler.sendMessage(msg);
900 }

◆ OnPointerSetDefault()

void com.freerdp.freerdpcore.presentation.SessionActivity.OnPointerSetDefault ( )
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 907 of file SessionActivity.java.

908 {
909 sessionView.setDefaultCursor();
910 }

◆ OnPointerSetNull()

void com.freerdp.freerdpcore.presentation.SessionActivity.OnPointerSetNull ( )
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 902 of file SessionActivity.java.

903 {
904 uiHandler.sendEmptyMessage(POINTER_SET);
905 }

◆ OnRailMonitoredDesktop()

void com.freerdp.freerdpcore.presentation.SessionActivity.OnRailMonitoredDesktop ( long[] windowIds,
long activeWindowId )
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 937 of file SessionActivity.java.

938 {
939 railManager.onMonitoredDesktop(windowIds, activeWindowId);
940 }

◆ OnRailSessionEnd()

void com.freerdp.freerdpcore.presentation.SessionActivity.OnRailSessionEnd ( )
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 932 of file SessionActivity.java.

933 {
934 railManager.onSessionEnd();
935 }

◆ OnRailWindowDestroy()

void com.freerdp.freerdpcore.presentation.SessionActivity.OnRailWindowDestroy ( long windowId)
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 927 of file SessionActivity.java.

928 {
929 railManager.onWindowDestroy(windowId);
930 }

◆ OnRailWindowHide()

void com.freerdp.freerdpcore.presentation.SessionActivity.OnRailWindowHide ( long windowId)
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 922 of file SessionActivity.java.

923 {
924 railManager.onWindowHide(windowId);
925 }

◆ OnRailWindowMove()

void com.freerdp.freerdpcore.presentation.SessionActivity.OnRailWindowMove ( long windowId,
int x,
int y,
int w,
int h )
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 917 of file SessionActivity.java.

918 {
919 railManager.onWindowMove(windowId, x, y, w, h);
920 }

◆ OnRailWindowUpdate()

void com.freerdp.freerdpcore.presentation.SessionActivity.OnRailWindowUpdate ( long windowId,
int width,
int height,
int[] pixels )
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 912 of file SessionActivity.java.

913 {
914 railManager.onWindowUpdate(windowId, width, height, pixels);
915 }

◆ OnReconnecting()

void com.freerdp.freerdpcore.presentation.SessionActivity.OnReconnecting ( )
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 792 of file SessionActivity.java.

793 {
794 railManager.onSessionEnd();
795 uiHandler.sendMessage(Message.obtain(null, DISPLAY_TOAST,
796 getResources().getText(R.string.info_reconnecting)));
797 }

◆ OnRemoteClipboardChanged()

void com.freerdp.freerdpcore.presentation.SessionActivity.OnRemoteClipboardChanged ( String data)
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 877 of file SessionActivity.java.

878 {
879 Log.v(TAG, "OnRemoteClipboardChanged: " + data);
880 mClipboardManager.setClipboardData(data);
881 }

◆ OnRemoteClipboardImageChanged()

void com.freerdp.freerdpcore.presentation.SessionActivity.OnRemoteClipboardImageChanged ( byte[] data)
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 883 of file SessionActivity.java.

884 {
885 Log.v(TAG, "OnRemoteClipboardImageChanged: " + data.length + " bytes");
886 mClipboardManager.setClipboardImage(data);
887 }

◆ onRequestPermissionsResult()

void com.freerdp.freerdpcore.presentation.SessionActivity.onRequestPermissionsResult ( int requestCode,
@NonNull String[] permissions,
@NonNull int[] grantResults )
inline

Definition at line 604 of file SessionActivity.java.

606 {
607 super.onRequestPermissionsResult(requestCode, permissions, grantResults);
608 if (requestCode == REQUEST_MEDIA_PERMISSIONS && pendingConnectBookmark != null)
609 {
610 BookmarkBase bookmark = pendingConnectBookmark;
611 pendingConnectBookmark = null;
612 connectWithTitle(bookmark.getLabel());
613 }
614 }

◆ onRestart()

void com.freerdp.freerdpcore.presentation.SessionActivity.onRestart ( )
inlineprotected

Definition at line 337 of file SessionActivity.java.

338 {
339 super.onRestart();
340 Log.v(TAG, "Session.onRestart");
341 }

◆ onResume()

void com.freerdp.freerdpcore.presentation.SessionActivity.onResume ( )
inlineprotected

Definition at line 343 of file SessionActivity.java.

344 {
345 super.onResume();
346 Log.v(TAG, "Session.onResume");
347 activeSession = this;
348 }

◆ OnSettingsChanged()

void com.freerdp.freerdpcore.presentation.SessionActivity.OnSettingsChanged ( int width,
int height,
int bpp )
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 748 of file SessionActivity.java.

749 {
750
751 if (bpp > 16)
752 bitmap = Bitmap.createBitmap(width, height, Config.ARGB_8888);
753 else
754 bitmap = Bitmap.createBitmap(width, height, Config.RGB_565);
755
756 session.setSurface(new BitmapDrawable(getResources(), bitmap));
757
758 if (inputManager != null)
759 inputManager.setBitmap(bitmap);
760
761 if (session.getBookmark() == null)
762 {
763 // Return immediately if we launch from URI
764 return;
765 }
766 // check this settings and initial settings - if they are not equal the
767 // server doesn't support our settings
768 // FIXME: the additional check (settings.getWidth() != width + 1) is for
769 // the RDVH bug fix to avoid accidental notifications
770 // (refer to android_freerdp.c for more info on this problem)
771 BookmarkBase.ScreenSettings settings = session.getBookmark().getActiveScreenSettings();
772 if ((settings.getWidth() != width && settings.getWidth() != width + 1) ||
773 settings.getHeight() != height || settings.getColors() != bpp)
774 uiHandler.sendMessage(Message.obtain(
775 null, DISPLAY_TOAST, getResources().getText(R.string.info_capabilities_changed)));
776 }

◆ onStart()

void com.freerdp.freerdpcore.presentation.SessionActivity.onStart ( )
inlineprotected

Definition at line 329 of file SessionActivity.java.

330 {
331 super.onStart();
332 Log.v(TAG, "Session.onStart");
333 if (session != null)
334 LibFreeRDP.setForeground(session.getInstance(), true);
335 }

◆ onStop()

void com.freerdp.freerdpcore.presentation.SessionActivity.onStop ( )
inlineprotected

Definition at line 360 of file SessionActivity.java.

361 {
362 super.onStop();
363 Log.v(TAG, "Session.onStop");
364 if (session != null)
365 LibFreeRDP.setForeground(session.getInstance(), false);
366 }

◆ OnVerifiyCertificateEx()

int com.freerdp.freerdpcore.presentation.SessionActivity.OnVerifiyCertificateEx ( String host,
long port,
String commonName,
String subject,
String issuer,
String fingerprint,
long flags )
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 833 of file SessionActivity.java.

835 {
836 if (ApplicationSettingsActivity.getAcceptAllCertificates(this))
837 return 0;
838 return dialogs.verifyCertificate(host, port, subject, issuer, fingerprint, flags);
839 }

◆ OnVerifyChangedCertificateEx()

int com.freerdp.freerdpcore.presentation.SessionActivity.OnVerifyChangedCertificateEx ( String host,
long port,
String commonName,
String subject,
String issuer,
String fingerprint,
String oldSubject,
String oldIssuer,
String oldFingerprint,
long flags )
inline

Implements com.freerdp.freerdpcore.services.LibFreeRDP.UIEventListener.

Definition at line 842 of file SessionActivity.java.

846 {
847 if (ApplicationSettingsActivity.getAcceptAllCertificates(this))
848 return 0;
849 return dialogs.verifyChangedCertificate(host, port, subject, issuer, fingerprint, flags);
850 }

◆ onWindowFocusChanged()

void com.freerdp.freerdpcore.presentation.SessionActivity.onWindowFocusChanged ( boolean hasFocus)
inline

Definition at line 319 of file SessionActivity.java.

320 {
321 super.onWindowFocusChanged(hasFocus);
322 if (hasFocus)
323 {
324 hideSystemBars();
325 mClipboardManager.getPrimaryClipManually();
326 }
327 }

Field Documentation

◆ PARAM_CONNECTION_REFERENCE

final String com.freerdp.freerdpcore.presentation.SessionActivity.PARAM_CONNECTION_REFERENCE = "conRef"
static

Definition at line 64 of file SessionActivity.java.

◆ PARAM_INSTANCE

final String com.freerdp.freerdpcore.presentation.SessionActivity.PARAM_INSTANCE = "instance"
static

Definition at line 65 of file SessionActivity.java.


The documentation for this class was generated from the following file: