summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author mincheli <mincheli@google.com> 2022-02-08 21:52:46 +0800
committer Minche Li <mincheli@google.com> 2022-02-22 11:14:03 +0000
commitc4f19733257e70df73043fd6ad43631948415cbe (patch)
treef9de990ff5600f0f77659a2453b1916295d293df /api/api.go
parent3e4365b8ed6a9c03ddaf9f420dc31900b0c2fbd0 (diff)
Refactors FullScreenMagnificationController#onMagnificationChangedLocked
Uses MagnificationInfoChangedCallback.onFullScreenMagnificationChanged callback method to notify magnification hange instead of accessing the public method of AccessibilityManagerService directly. It reduces the interaction between AccessibilityManagerService and FullScreenMagnificationControlller. So that MagnificationController would take responsible for handling notifyMagnificationChange(). Bug: 218540156 Test: atest FullScreenMagnificationControllerTest, atest FullScreenMagnificationGestureHandlerTest, atest MagnificationControllerTest, Change-Id: Ib9f31681e442f1700a76250a5206199bad458c84 (cherry picked from commit 3c91f067b11ad9b15f5ea81d73f02d81dbc0d766) Merged-In: Ib9f31681e442f1700a76250a5206199bad458c84
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions