Skip to content

[Discussion] Hookee writable configuration #55

@Dr-TSNG

Description

@Dr-TSNG

Currently remote preferences and remote files are only allowed to be written on the module app side. There are two reasons for this: first, bidirectional writable configurations pose security risks, and second, synchronizing multiple processes is complicated.

However, we noticed that many modules still need this feature due to unstable ContentProvider (tied to auto start permission) on some ROMs.

Issues under discussion:

  • Should the callee writable configuration be stored in the same context with the module?
  • Should the framework provide a way to pass a binder from the hookee to the module?
  • Do you really need a permanent storage for hookee writable configuration or just need a way to "notify" the module app that something has changed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions