Thu, 17 Jan 2019 14:59:46 +0100Android: remove another hard-coded constant for Samsung DeX (no op!)
Sylvain Becker <sylvain.becker@gmail.com> [Thu, 17 Jan 2019 14:59:46 +0100] rev 12559
Android: remove another hard-coded constant for Samsung DeX (no op!)

Thu, 17 Jan 2019 13:42:13 +0100Android: minor change in the evaluation of SOURCE_CLASS_JOYSTICK (no op!)
Sylvain Becker <sylvain.becker@gmail.com> [Thu, 17 Jan 2019 13:42:13 +0100] rev 12558
Android: minor change in the evaluation of SOURCE_CLASS_JOYSTICK (no op!)

InputDevice.SOURCE_CLASS_* are one bit
More readable to check that the source has this class_joystick set,
compared to the other statements, where the source is gamepad or dpad.
(Clean-up from bug 3958)

Thu, 17 Jan 2019 12:25:19 +0100Android: remove hard-coded constant for Samsung DeX (no op!)
Sylvain Becker <sylvain.becker@gmail.com> [Thu, 17 Jan 2019 12:25:19 +0100] rev 12557
Android: remove hard-coded constant for Samsung DeX (no op!)

12290 = 0x3002 = SOURCE_MOUSE | SOURCE_TOUCHSCREEN

SOURCE_MOUSE Constant Value: 8194 (0x00002002)
SOURCE_TOUCHSCREEN Constant Value: 4098 (0x00001002)
SOURCE_CLASS_POINTER Constant Value: 2 (0x00000002)

https://developer.android.com/reference/android/view/InputDevice.html

Thu, 17 Jan 2019 11:05:05 +0100Android: prevent concurrency in Android_SetScreenResolution() when exiting
Sylvain Becker <sylvain.becker@gmail.com> [Thu, 17 Jan 2019 11:05:05 +0100] rev 12556
Android: prevent concurrency in Android_SetScreenResolution() when exiting
by checking Android_Window validity

- SDLThread: user application is exiting:
SDL_VideoQuit() and clearing SDL_GetVideoDevice()

- ActivityThread is changing orientation/size
surfaceChanged() > Android_SetScreenResolution() > SDL_GetVideoDevice()

- Separate function into Android_SetScreenResolution() and Android_SendResize(),
formating, and mark Android_DeviceWidth/Heigh as static

Thu, 17 Jan 2019 09:28:30 +0100Android: also update APP_PLATFORM to android-16 in Application.mk
Sylvain Becker <sylvain.becker@gmail.com> [Thu, 17 Jan 2019 09:28:30 +0100] rev 12555
Android: also update APP_PLATFORM to android-16 in Application.mk

https://hg.libsdl.org/SDL/rev/8db358c7a09a
https://hg.libsdl.org/SDL/rev/787e86a461f5

Wed, 16 Jan 2019 14:03:35 +0100Fixed bug 4024 - remove trailing comma of Controller mappings
Sylvain Becker <sylvain.becker@gmail.com> [Wed, 16 Jan 2019 14:03:35 +0100] rev 12554
Fixed bug 4024 - remove trailing comma of Controller mappings
because it reports an error "Unexpected controller element"

Wed, 16 Jan 2019 10:48:28 +0100Android: add mutex protection to onNativeOrientationChanged
Sylvain Becker <sylvain.becker@gmail.com> [Wed, 16 Jan 2019 10:48:28 +0100] rev 12553
Android: add mutex protection to onNativeOrientationChanged

it's possible receive try to send an event between the check first for SDL_GetVideoDevice
and SDL_VideoQuit is called

Wed, 16 Jan 2019 10:31:51 +0100Android: move static variable isPaused/isPausing to SDL_VideoData structure
Sylvain Becker <sylvain.becker@gmail.com> [Wed, 16 Jan 2019 10:31:51 +0100] rev 12552
Android: move static variable isPaused/isPausing to SDL_VideoData structure

- remove unneed check to Android_Window->driverdata
- add window check into context_backup/restore

Wed, 16 Jan 2019 09:22:20 +0100Android: merge SDLJoystickHandler_API12 and SDLJoystickHandler_API16
Sylvain Becker <sylvain.becker@gmail.com> [Wed, 16 Jan 2019 09:22:20 +0100] rev 12551
Android: merge SDLJoystickHandler_API12 and SDLJoystickHandler_API16

Wed, 16 Jan 2019 09:12:31 +0100Android: remove trailing spaces
Sylvain Becker <sylvain.becker@gmail.com> [Wed, 16 Jan 2019 09:12:31 +0100] rev 12550
Android: remove trailing spaces