Merge "Launch subscreens with the correct user" into rvc-dev am: 0c99ecaec1 am: f1801907d8 am: d2d8115ac9 am: fb328c7bc6

Change-Id: I8384671d90c0bb08df14840ddd9813129da63bfd
This commit is contained in:
Julia Reynolds
2020-04-16 14:53:53 +00:00
committed by Automerger Merge Worker
4 changed files with 24 additions and 12 deletions

View File

@@ -191,7 +191,7 @@ public class ConversationListPreferenceControllerTest {
}
@Test
public void testGetIntent() {
public void testGetSubSettingLauncher() {
ConversationChannelWrapper ccw = new ConversationChannelWrapper();
NotificationChannel channel = new NotificationChannel("a", "child", 2);
channel.setConversationId("parent", "convo id");
@@ -199,7 +199,7 @@ public class ConversationListPreferenceControllerTest {
ccw.setPkg("pkg");
ccw.setUid(1);
ccw.setParentChannelLabel("parent label");
Intent intent = mController.getIntent(ccw, "title");
Intent intent = mController.getSubSettingLauncher(ccw, "title").toIntent();
Bundle extras = intent.getExtras();
assertThat(extras.getString(AppInfoBase.ARG_PACKAGE_NAME)).isEqualTo(ccw.getPkg());