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

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

Change-Id: I14f33af953d95908f2bbe314a81e024836937efb