Remove palette hooks.

Make the method be part of the official palette API.

Bug: 186016399
Bug: 185778652
Change-Id: I3dc9e879c647fd63f5826091813613fd97e25c0d
13 files changed