Comments (5)
from taptap.
@KieronQuinn Thanks for the quick feedback! So, what does "maximum number of sensor listeners" mean? In my case, this happened overnight while the phone was not in use and no processes should have been starting (besides whatever routine background stuff happens 24/7).
Is there any possibility that Tap Tap has a "listener leak" (like memory leak) where it registers new sensor listeners over time without properly destroying previous ones?
Some reasons to think this might be the case:
- I do get this Tap Tap crash every so often, and while I don't regularly reboot my phone, I do just restart Tap Tap, and I don't immediately get the crash again. In fact, I don't get a crash again for days or weeks, even if I haven't rebooted my phone in that period. That suggests that Tap Tap is the source of the majority of the sensor listeners.
- While I do have some other apps that utilize sensor listeners, I have never gotten a crash like this for one of them.
- This crash happened in the middle of the night. Tap Tap had been started many hours, maybe even days, previous. Why is Tap Tap trying to register a new sensor listener in the middle of the night, while nothing is happening on the phone? Again, it suggests that for some reason, Tap Tap is registering more listeners than expected.
Thoughts?
from taptap.
The limit is local, per app, so other apps not getting it is irrelevant.
I know it happens sometimes, but it's very much edge case - there's only been a handful of cases in the thousands of users, so it's very rare. Tracking it down would be nigh on impossible without physical device access as I've never had it happen on my test stack.
from taptap.
Oh ok, interesting. I suppose it's more complicated than, wherever in the code is the "register listener" command, to put a "delete listeners" right before it?
from taptap.
Just want to mention that this is still happening every week or so. The most recent time it was while sitting in my home, locked, charging, not being interacted with in any way.
I understand this apparently doesn't happen to many other users, but if you can help me do a little investigating into how tap tap operates, at least:
Why is Tap Tap trying to register a new sensor listener in the middle of the night, while nothing is happening on the phone?
Is registering new listeners a schedule-based event or a trigger-based one?
Is there some way Tap Tap could clear the cache, so to speak, of listeners so that it doesn't run the risk of hitting the maximum?
from taptap.
Related Issues (20)
- Unable to enable Accessibility service HOT 6
- Gates not working HOT 11
- Suggestion: Allow tasker to call Tap, Tap's actions HOT 1
- Can't install on TCL devices HOT 1
- [Feature Request] Media Output controls present in Notification Shade HOT 1
- Availability of official Android API? HOT 1
- Gesture not recognized if Microphone is disabled HOT 1
- Problem with accessibility HOT 1
- Accessibility permission issue HOT 2
- Help testing on Android 14 HOT 1
- Please add support for Android 6 devices HOT 1
- Please support non-portrait screen orientations
- please specify that in addition to root, you can install shizuku on android 12+ HOT 1
- Notification Shade Annoyance. HOT 4
- Low power mode requires one extra tap when Triple Tap is enabled HOT 1
- Update Tasker Icon
- Suggestion- Door App option HOT 1
- Tap tap not working on big screen device HOT 6
- Tap tap HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taptap.