Skip to content

Commit

Permalink
update v2.0.4
Browse files Browse the repository at this point in the history
update to version 2.0.4
  • Loading branch information
baishixian committed Dec 7, 2016
1 parent ebf974d commit cb14ec5
Show file tree
Hide file tree
Showing 16 changed files with 37 additions and 12 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
- [Getting Started with STVideoSDK](https://github.com/shunfei/STVideoSDK-Android/blob/master/Docs/Getting_Started.md)

## Change Log
12/07/2016 - v2.0.4
* New support Https.
* Modify UI impression.

11/09/2016 - v2.0.3
* Update API.
* New support Security verification
Expand Down
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion STVideoSDKSample/VideoAdSample/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions STVideoSDKSample/VideoAdSample/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion STVideoSDKSample/VideoAdSample/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
apply plugin: 'com.android.application'

android {
signingConfigs {
config {
keyAlias 'sunteng'
keyPassword 'bai1994'
storeFile file('/Users/baishixian/keystore/release-sign-key.jks')
storePassword 'bai1994'
}
}
compileSdkVersion 25
buildToolsVersion "25.0.0"
defaultConfig {
Expand All @@ -26,5 +34,5 @@ dependencies {
})
compile 'com.android.support:appcompat-v7:24.2.1'
testCompile 'junit:junit:4.12'
compile files('libs/STVideoSDK-2.0.3.jar')
compile files('libs/STVideoSDK-2.0.4.jar')
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

//避免非静默安装apk文件时,导致按home键退到后台再点击图标进入程序出现的内容展示错误。
if (!isTaskRoot()){
finish();
return;
}

setContentView(R.layout.activity_main);

mContext = this;
Expand Down

0 comments on commit cb14ec5

Please sign in to comment.