mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
turn off faker device (but make easy to enable)
This commit is contained in:
parent
c87161307c
commit
4fcc5fd99b
1 changed files with 3 additions and 1 deletions
|
@ -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" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue