Always snapshots in kioskmode
This commit is contained in:
parent
741f8c83c8
commit
90c898db82
2 changed files with 7 additions and 4 deletions
|
@ -100,6 +100,7 @@ public class MirrorMenuActivity extends AppCompatActivity implements Detector.Im
|
||||||
highscoresButton .setTypeface(font);
|
highscoresButton .setTypeface(font);
|
||||||
creditsButton .setTypeface(font);
|
creditsButton .setTypeface(font);
|
||||||
settingsButton.setTypeface(font);
|
settingsButton.setTypeface(font);
|
||||||
|
settingsButton.setVisibility(View.INVISIBLE); // kiosk mode doesn't have settings
|
||||||
messageText.setTypeface(font);
|
messageText.setTypeface(font);
|
||||||
nextButton.setTypeface(font);
|
nextButton.setTypeface(font);
|
||||||
readyButton.setTypeface(font);
|
readyButton.setTypeface(font);
|
||||||
|
|
|
@ -64,13 +64,15 @@ public class Player {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasSetSnapshotConfirm() {
|
public boolean hasSetSnapshotConfirm() {
|
||||||
SharedPreferences settings = c.getSharedPreferences(PREFS_NAME, 0);
|
return true; // this is kioskmode, always snapshot!
|
||||||
return settings.contains("snapshot_confirm");
|
// SharedPreferences settings = c.getSharedPreferences(PREFS_NAME, 0);
|
||||||
|
// return settings.contains("snapshot_confirm");
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean allowsSnapshots() {
|
public boolean allowsSnapshots() {
|
||||||
SharedPreferences settings = c.getSharedPreferences(PREFS_NAME, 0);
|
return true; // this is kioskmode: always snapshot!
|
||||||
return settings.getBoolean("snapshot_confirm", false);
|
// SharedPreferences settings = c.getSharedPreferences(PREFS_NAME, 0);
|
||||||
|
// return settings.getBoolean("snapshot_confirm", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAllowsSnapshots(boolean allows) {
|
public void setAllowsSnapshots(boolean allows) {
|
||||||
|
|
Loading…
Reference in a new issue