Replace deprecated getLastUsedProfile function in settings.
|Profile#getLastUsedProfile| is deprecated and replaced with |Profile#getLastUsedRegularProfile|. This CL updates HelpAndFeedback activity initialization at settings classes. Since settings is considered as always running on regular mode, it is safe to use regular profile even called in incognito mode. For this reason, there is no need to make change on code behavior to act differently for each profile. Therefore, it is safe to leave behavior as-is today. Note: This change is only code clean-up, does not change any behavior. Bug: 1041781 Change-Id: Ic3bc99d747d28aa6269b7243d7f9feb7337ed75a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2058817Reviewed-by:Boris Sazonov <bsazonov@chromium.org> Commit-Queue: Side YILMAZ <sideyilmaz@chromium.org> Cr-Commit-Position: refs/heads/master@{#742527}
Showing
Please register or sign in to comment