Skip to content

Commit

Permalink
Merge pull request #7663 from ashcoding/TIMOB-19769-B
Browse files Browse the repository at this point in the history
[TIMOB-19769] (5_2_X) Android: Fix for fullscreen behavior in Camera
  • Loading branch information
sriks committed Feb 2, 2016
2 parents cf6a2e1 + 341bcd5 commit 65ccc05
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
import android.view.SurfaceView;
import android.view.View;
import android.view.ViewGroup;
import android.view.WindowManager;
import android.view.ViewGroup.LayoutParams;
import android.widget.FrameLayout;

Expand Down Expand Up @@ -134,7 +135,8 @@ protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
@Override
public void onCreate(Bundle savedInstanceState)
{
setFullscreen(true);
// setting Fullscreen
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);

super.onCreate(savedInstanceState);

Expand Down

0 comments on commit 65ccc05

Please sign in to comment.