Merge "Check for exported and category before starting activity." into lmp-dev