Skip to content

use sqlite to store paired auditee data #321

Description

@master-hax

the app currently uses SharedPreferences to store auditee pairings, with one file for one paired auditee.

moving the paired auditee data to a sqlite database makes a lot of sense:

  1. it becomes possible to enumerate all the devices in a consistent ordering without having to do sorting
  2. the web app already uses sqlite, so this can help unify the two apps.
  3. using many SharedPreferences files significantly increases memory usage as iiuc each SharedPreference file gets loaded & cached in memory
  4. the graphene os development guidelines explicit call out sqlite as a trusted library

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions