Remove usage of deprecated toolbar methods am: 1033c500cf am: e37e75983e am: 108f9c2818 am: e350cca3ba

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

Change-Id: Ied71c2a9d737cf6189ebca8297d184d7386007d3