Update OffTheRecord profile API usage in AccessibilityManager.
Profile API is being updated (issue 1033903) and the usage of GetOffTheRecordProfile and HasOffTheRecordProfile without argument is getting deprecated. Use cases of this call that ONLY refer to incognito or guest mode can use [Get/Has]PrimaryOTRProfile() instead. Use cases of these functions in AccessibilityManager are updated to use the new APIs. This CL does not change any behavior. Bug: 1060940 Change-Id: I51877f1b5d4e8d520b640ef91134a3291dc59bb5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2239845 Auto-Submit: Ramin Halavati <rhalavati@chromium.org> Reviewed-by:David Tseng <dtseng@chromium.org> Commit-Queue: Ramin Halavati <rhalavati@chromium.org> Cr-Commit-Position: refs/heads/master@{#777262}
Showing
Please register or sign in to comment