Adding suport for Private Space QsTile fulfillment.
Adding logic to unlock private space and scroll to the container after unlock event is received by Launcher. This change also moves pieces of Private Space Animation to different classes, in order to make it more robust. Bug: 289024009 Test: atest PrivateProfileManagerTest Flag: ACONFIG com.google.android.apps.nexuslauncher.inject_private_space_tile TEAMFOOD Change-Id: Ica2fbc00ff3516ed5aca7fbbfc0bd2aa036a4cee
This commit is contained in:
1 parent
c52860263a
commit
ce495f13e3
7 files changed
+87
-22
No files matched your search
@@ -64,13 +64,16 @@ public class PrivateSpaceHeaderViewControllerTest {
|
||||
private RelativeLayout mPsHeaderLayout;
|
||||
@Mock
|
||||
private PrivateProfileManager mPrivateProfileManager;
|
||||
@Mock
|
||||
private ActivityAllAppsContainerView mAllApps;
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
MockitoAnnotations.initMocks(this);
|
||||
mContext = new ActivityContextWrapper(getApplicationContext());
|
||||
mLayoutInflater = LayoutInflater.from(getApplicationContext());
|
||||
mPsHeaderViewController = new PrivateSpaceHeaderViewController(mPrivateProfileManager);
|
||||
mPsHeaderViewController = new PrivateSpaceHeaderViewController(mAllApps,
|
||||
mPrivateProfileManager);
|
||||
mPsHeaderLayout = (RelativeLayout) mLayoutInflater.inflate(R.layout.private_space_header,
|
||||
null);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user