Giter Club home page Giter Club logo

Comments (6)

apsun avatar apsun commented on May 31, 2024

What is "the app", the one implementing the RemotePreferenceProvider or the one using RemotePreferences? And by kill do you mean removing the app from the app switcher, or force stopping the app, or something else?

I can't tell if this is one exception or two, can you post the full logs and the demo you are testing, if possible? Thanks!

from remotepreferences.

chengxuncc avatar chengxuncc commented on May 31, 2024

The app is the one implementing the RemotePreferenceProvider, and I am writing a Xposed module. When I kill the Xposed module application from either app switcher or force stopping, other hooked apps that using RemotePreferences to get preferences will not work.

from remotepreferences.

apsun avatar apsun commented on May 31, 2024

What phone/ROM are you using? I ask because some phones will disable providers if you quit the app (to "save battery").

from remotepreferences.

chengxuncc avatar chengxuncc commented on May 31, 2024

oneplus 3 H2OS

from remotepreferences.

apsun avatar apsun commented on May 31, 2024

OnePlus has a particularly bad track record (I would know, I used to use a 3T). Disable battery optimization for the app and see if that fixes it.

from remotepreferences.

chengxuncc avatar chengxuncc commented on May 31, 2024

Although I had disabled battery optimization, it still not working when got killed. Maybe I should find an another way.

from remotepreferences.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.