[Home] Fix bottom sheet expansion after inactivity.

Fixes incorrect toolbar showing when expanding the bottom sheet to half
after inactivity, caused by an incorrect return value from
maybeLaunchNtpOrResetBottomSheetFromMainIntent.

Also fixes janky icons when launching NTP at full height when displaying
the tab switcher with zero tabs, caused by setting the bottom sheet
height to half unnecessarily.

Bug: 794334
Change-Id: Ibc8edc6bd30bc3c9cd26c187cb9f596f4ca70ded
Reviewed-on: https://chromium-review.googlesource.com/832820
Reviewed-by: Theresa <twellington@chromium.org>
Reviewed-by: David Trainor <dtrainor@chromium.org>
Commit-Queue: Troy Hildebrandt <thildebr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#525100}
1 file changed