Loading android/app/src/com/android/bluetooth/AlertActivity.java +4 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ package android.bluetooth; import static android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; Loading Loading @@ -46,6 +48,8 @@ public abstract class AlertActivity extends Activity implements DialogInterface. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().addPrivateFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); requestWindowFeature(Window.FEATURE_NO_TITLE); mAlertBuilder = new AlertDialog.Builder(this); mAlertBuilder.setOnDismissListener(this); Loading android/app/src/com/android/bluetooth/opp/BluetoothOppBtEnableActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,8 @@ package com.android.bluetooth.opp; import static android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS; import android.bluetooth.AlertActivity; import android.content.DialogInterface; import android.content.Intent; Loading @@ -53,6 +55,7 @@ public class BluetoothOppBtEnableActivity extends AlertActivity protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().addPrivateFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); // Set up the "dialog" mOppManager = BluetoothOppManager.getInstance(this); mOppManager.mSendingFlag = false; Loading android/app/src/com/android/bluetooth/opp/BluetoothOppBtEnablingActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,8 @@ package com.android.bluetooth.opp; import static android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS; import android.bluetooth.AlertActivity; import android.bluetooth.BluetoothAdapter; import android.content.BroadcastReceiver; Loading Loading @@ -68,6 +70,7 @@ public class BluetoothOppBtEnablingActivity extends AlertActivity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().addPrivateFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); // If BT is already enabled jus return. BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); if (adapter.isEnabled()) { Loading android/app/src/com/android/bluetooth/opp/BluetoothOppBtErrorActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,8 @@ package com.android.bluetooth.opp; import static android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS; import android.bluetooth.AlertActivity; import android.content.DialogInterface; import android.content.Intent; Loading @@ -51,6 +53,7 @@ public class BluetoothOppBtErrorActivity extends AlertActivity protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().addPrivateFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); Intent intent = getIntent(); String errorTitle = intent.getStringExtra("title"); String errorContent = intent.getStringExtra("content"); Loading android/app/src/com/android/bluetooth/opp/BluetoothOppIncomingFileConfirmActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,8 @@ package com.android.bluetooth.opp; import static android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS; import android.bluetooth.AlertActivity; import android.content.BroadcastReceiver; import android.content.ContentValues; Loading Loading @@ -93,6 +95,7 @@ public class BluetoothOppIncomingFileConfirmActivity extends AlertActivity } super.onCreate(savedInstanceState); getWindow().addPrivateFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); Intent intent = getIntent(); mUri = intent.getData(); mTransInfo = new BluetoothOppTransferInfo(); Loading Loading
android/app/src/com/android/bluetooth/AlertActivity.java +4 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ package android.bluetooth; import static android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; Loading Loading @@ -46,6 +48,8 @@ public abstract class AlertActivity extends Activity implements DialogInterface. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().addPrivateFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); requestWindowFeature(Window.FEATURE_NO_TITLE); mAlertBuilder = new AlertDialog.Builder(this); mAlertBuilder.setOnDismissListener(this); Loading
android/app/src/com/android/bluetooth/opp/BluetoothOppBtEnableActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,8 @@ package com.android.bluetooth.opp; import static android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS; import android.bluetooth.AlertActivity; import android.content.DialogInterface; import android.content.Intent; Loading @@ -53,6 +55,7 @@ public class BluetoothOppBtEnableActivity extends AlertActivity protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().addPrivateFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); // Set up the "dialog" mOppManager = BluetoothOppManager.getInstance(this); mOppManager.mSendingFlag = false; Loading
android/app/src/com/android/bluetooth/opp/BluetoothOppBtEnablingActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,8 @@ package com.android.bluetooth.opp; import static android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS; import android.bluetooth.AlertActivity; import android.bluetooth.BluetoothAdapter; import android.content.BroadcastReceiver; Loading Loading @@ -68,6 +70,7 @@ public class BluetoothOppBtEnablingActivity extends AlertActivity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().addPrivateFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); // If BT is already enabled jus return. BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); if (adapter.isEnabled()) { Loading
android/app/src/com/android/bluetooth/opp/BluetoothOppBtErrorActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,8 @@ package com.android.bluetooth.opp; import static android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS; import android.bluetooth.AlertActivity; import android.content.DialogInterface; import android.content.Intent; Loading @@ -51,6 +53,7 @@ public class BluetoothOppBtErrorActivity extends AlertActivity protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().addPrivateFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); Intent intent = getIntent(); String errorTitle = intent.getStringExtra("title"); String errorContent = intent.getStringExtra("content"); Loading
android/app/src/com/android/bluetooth/opp/BluetoothOppIncomingFileConfirmActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,8 @@ package com.android.bluetooth.opp; import static android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS; import android.bluetooth.AlertActivity; import android.content.BroadcastReceiver; import android.content.ContentValues; Loading Loading @@ -93,6 +95,7 @@ public class BluetoothOppIncomingFileConfirmActivity extends AlertActivity } super.onCreate(savedInstanceState); getWindow().addPrivateFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); Intent intent = getIntent(); mUri = intent.getData(); mTransInfo = new BluetoothOppTransferInfo(); Loading