bk138 / multivnc

MultiVNC is a cross-platform Multicast-enabled VNC viewer based on LibVNCClient. The desktop client runs on Unix, Mac OS X and Windows. There also is an Android client.
GNU General Public License v3.0
472 stars 67 forks source link

Android: Fix last key-combo not being remembered. #132

Closed gujjwal00 closed 3 years ago

gujjwal00 commented 3 years ago

This was a regression caused by migration to Room.

Old library would update the id of _currentKeyBean automatically inside its Gen_insert method but Room does't do that so the id of _currentKeyBean was always 0. So _connection.lastMetaKeyId would always be 0 instead of pointing to correct id.