Remove usage of deprecated toolbar methods am: 1033c500cf am: 9c268ce5a6

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

Change-Id: I15ef48e492342362798966fd01c41cad172a4ea9