check pending
This commit is contained in:
parent
83e63f0abf
commit
24f83e6cd7
1 changed files with 3 additions and 1 deletions
|
|
@ -104,7 +104,9 @@ public class MainActivity extends AppCompatThemeActivity {
|
|||
receiver = new ScreenReceiver() {
|
||||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
if (!shared.getBoolean(MainApplication.PREFERENCE_CONTROLS, false))
|
||||
boolean p = storage.recordingPending();
|
||||
boolean c = shared.getBoolean(MainApplication.PREFERENCE_CONTROLS, false);
|
||||
if (!p && !c)
|
||||
return;
|
||||
super.onReceive(context, intent);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue