Remove usage of deprecated toolbar methods am: 1033c500cf

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/SettingsIntelligence/+/11723392

Change-Id: I1345aa1bb7164137faf1190a8c802df0efe4356d