Remove usage of deprecated toolbar methods am: 1033c500cf am: f8dafc97e2 am: 6bdcc8da26

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

Change-Id: I989f4a0c9f08a4c5923cf94bbb0c25c904648007