m8: add market filter feature from 4.4.4

Change-Id: If55714aa8bffa326698042154e1bd7bf945d6227
(cherry picked from commit 2e612d4bf5f3800cbff3bf79e19a59847254c97d)