My native android app screen size is 2322 by 1080 in full screen mode.
but when I go back to the full screen mode from the “pop-up view”, the screen size is abnormal.
the screen size is 2358 by 1116.
full screen mode → menu button in navigation bar → app icon → Open in pop-up view → blue bar in pop-up view → restore button
android native activity
ndk version 21.3d
opengl es 3
function list used
int32_t aWidth = ANativeWindow_getWidth(app_->window);
int32_t aHeight = ANativeWindow_getHeight(app_->window);
int32_t glWidth = 0;
int32_t glHeight = 0;
eglQuerySurface(display_, surface_, EGL_WIDTH, &glWidth);
eglQuerySurface(display_, surface_, EGL_HEIGHT, &glHeight);