File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
src/processing/mode/android Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -510,8 +510,6 @@ private void setFullScreenVisibility() {
510
510
// However, this visibility does not fix a bug where the navigation area
511
511
// turns black after resuming the app:
512
512
// https://code.google.com/p/android/issues/detail?id=170752
513
-
514
- visibility = View .SYSTEM_UI_FLAG_HIDE_NAVIGATION | 4096 ;
515
513
}
516
514
surface .setSystemUiVisibility (visibility );
517
515
}
Original file line number Diff line number Diff line change @@ -988,8 +988,7 @@ private void writeFragmentActivity(final File srcDirectory) {
988
988
final PrintWriter writer = PApplet .createWriter (mainActivityFile );
989
989
writer .println ("package " + manifest .getPackageName () +";" );
990
990
writer .println ("import android.app.Activity;" );
991
- writer .println ("import android.os.Bundle;" );
992
- writer .println ("import android.view.Window;" );
991
+ writer .println ("import android.os.Bundle;" );
993
992
writer .println ("import android.view.View;" );
994
993
writer .println ("import android.view.ViewGroup;" );
995
994
writer .println ("import android.widget.FrameLayout;" );
@@ -1002,8 +1001,7 @@ private void writeFragmentActivity(final File srcDirectory) {
1002
1001
writer .println (" PFragment fragment;" );
1003
1002
writer .println (" @Override" );
1004
1003
writer .println (" protected void onCreate(Bundle savedInstanceState) {" );
1005
- writer .println (" super.onCreate(savedInstanceState);" );
1006
- writer .println (" requestWindowFeature(Window.FEATURE_NO_TITLE);" );
1004
+ writer .println (" super.onCreate(savedInstanceState);" );
1007
1005
writer .println (" FrameLayout frame = new FrameLayout(this);" );
1008
1006
writer .println (" frame.setId(viewId);" );
1009
1007
writer .println (" setContentView(frame, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, "
You can’t perform that action at this time.
0 commit comments