79801800

Date: 2025-10-27 12:19:44
Score: 1
Natty:
Report link

I doubt that it is ever really needed to have empty default shared preferences. Maybe you should explain what you really want to achieve.

If you only want to know if preferences don't contain any of your settings you could write your own isEmpty() where you check for bg_startup_tracing if sharedPreferencesInstance.getAll().size() is 1.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: The incredible Jan