File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
src/main/java/com/box/androidsdk/browse/activities Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ android {
77 defaultConfig {
88 minSdkVersion 14
99 targetSdkVersion 23
10- versionCode 20000
11- versionName " 2.0.0 "
12- version " 2.0.0 "
10+ versionCode 20001
11+ versionName " 2.0.1 "
12+ version " 2.0.1 "
1313 group " com.box"
1414 }
1515 buildTypes {
@@ -40,7 +40,7 @@ dependencies {
4040 compile fileTree(dir : ' libs' , include : [' *.jar' ])
4141
4242// compile 'com.box:box-android-sdk:3.0.3'
43- compile ' com.box:box-android-sdk:[ 4.0,4.1) '
43+ compile ' com.box:box-android-sdk:4.0.8 '
4444 compile ' com.android.support:appcompat-v7:23.4.0'
4545 compile ' com.android.support:recyclerview-v7:23.4.0'
4646 compile ' com.android.support:support-v4:23.4.0'
Original file line number Diff line number Diff line change 1717import android .text .style .ForegroundColorSpan ;
1818import android .text .style .TextAppearanceSpan ;
1919import android .view .View ;
20+ import android .view .WindowManager ;
2021import android .widget .Toast ;
2122
2223import com .box .androidsdk .browse .R ;
24+ import com .box .androidsdk .content .BoxConfig ;
2325import com .box .androidsdk .content .BoxFutureTask ;
2426import com .box .androidsdk .content .auth .BoxAuthentication ;
2527import com .box .androidsdk .content .models .BoxItem ;
@@ -72,6 +74,9 @@ else if (intent.getAction().equals(ACTION_ENDING_TASK)) {
7274 @ Override
7375 protected void onCreate (Bundle savedInstanceState ) {
7476 super .onCreate (savedInstanceState );
77+ if (BoxConfig .IS_FLAG_SECURE ){
78+ getWindow ().addFlags (WindowManager .LayoutParams .FLAG_SECURE );
79+ }
7580 mDialogHandler = new LastRunnableHandler ();
7681 String userId = null ;
7782 if (savedInstanceState != null && savedInstanceState .getSerializable (EXTRA_ITEM ) != null ){
You can’t perform that action at this time.
0 commit comments