turn off faker device (but make easy to enable)

This commit is contained in:
Eric House 2019-01-08 09:49:10 -08:00
parent c87161307c
commit 4fcc5fd99b

View file

@ -48,6 +48,8 @@ public class BTInviteDelegate extends InviteDelegate {
R.id.button_settings, R.id.button_settings,
R.id.button_clear, R.id.button_clear,
}; };
private static final boolean ENABLE_FAKER = false;
private Activity m_activity; private Activity m_activity;
private ProgressDialog m_progress; private ProgressDialog m_progress;
@ -222,7 +224,7 @@ public class BTInviteDelegate extends InviteDelegate {
private void scan() private void scan()
{ {
if ( BuildConfig.DEBUG && Utils.nextRandomInt() % 5 == 0 ) { if ( ENABLE_FAKER && Utils.nextRandomInt() % 5 == 0 ) {
mPersisted.add( "00:00:00:00:00:00", "Do Not Invite Me" ); mPersisted.add( "00:00:00:00:00:00", "Do Not Invite Me" );
} }