fix(fullscreen magnification): Fix action in configuration changes

1. Save the activation status information and guard the activation check
   in onFullscreenMagnificationActivationChanged
2. When there is a configuration change on CONFIG_DENSITY/
   CONFIG_SCREEN_SIZE/CONFIG_ORIENTATION: (1) update the dimension of the
   resources and the current window bounds (2) update the border view
   layout parameters accordingly.

Bug: 291891390
Bug: 334888523
Test: atest FullscreenMagnificationControllerTest
      atest AccessibilityMagnificationTest
Flag: ACONFIG always_draw_magnification_fullscreen_border STAGING
Change-Id: I723b58a0111fa3db608d99e5f1c52e5c942b34d6
2 files changed