Commit d3231b3e4204499ae5fd90479fb3382dda0a75bc

Authored by 王琳
1 parent e9471c37

修改传参

.idea/misc.xml
@@ -37,7 +37,7 @@ @@ -37,7 +37,7 @@
37 <ConfirmationsSetting value="0" id="Add" /> 37 <ConfirmationsSetting value="0" id="Add" />
38 <ConfirmationsSetting value="0" id="Remove" /> 38 <ConfirmationsSetting value="0" id="Remove" />
39 </component> 39 </component>
40 - <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK"> 40 + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
41 <output url="file://$PROJECT_DIR$/build/classes" /> 41 <output url="file://$PROJECT_DIR$/build/classes" />
42 </component> 42 </component>
43 <component name="ProjectType"> 43 <component name="ProjectType">
app/src/main/java/com/cnlive/demo/stream/MainActivity.java
@@ -58,7 +58,7 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe @@ -58,7 +58,7 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
58 } 58 }
59 59
60 if (!TextUtils.isEmpty(channelId.getText().toString())) { 60 if (!TextUtils.isEmpty(channelId.getText().toString())) {
61 - channelID = activityId.getText().toString(); 61 + channelID = channelId.getText().toString();
62 } 62 }
63 landscape = mLandscapeButton.isChecked(); 63 landscape = mLandscapeButton.isChecked();
64 StreamActivity.startActivity(getApplicationContext(), 0, activityID, channelID, landscape); 64 StreamActivity.startActivity(getApplicationContext(), 0, activityID, channelID, landscape);