Merge "App restriction for restricted profile sample." into jb-mr2-dev