Remove palette hooks.

Make the method be part of the official palette API.

Bug: 186016399
Bug: 185778652
Test: m
Change-Id: I49291b0685263e2655f51baf16704af101079e40
5 files changed