mokee / android_packages_apps_dialer Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
My phone has an irritating tone for call drop/call waiting/ etc.
After a little digging, i found that ToneGenerator.java, ToneGenerator.h, ToneGenerator.cpp are crucial in generating these tones. When I compared these files in ICS and Kitkat, i hardly found any changes.
Later I realized, this problem happens only during a call. e.g the above files also control the DTMF tones of the dial pad. When idle (no call connected), dial tones sound proper. But when in a call and I try to use the dial pad, the same horrible sound is played. This horrible sound is like a very slowed (slow tempo) version of the original tone.
This leads me to believe there is some problem with the incallui (or the section of dialer handling incallevents) which probably uses a lot of resources: hences slows down "ToneGeneration" .
Other Mokee users, please check if you have this problem.
I use Moto Atrix 2 [edison] running MK44.4-edison-141019-RELEASE.zip
Have observed this from the first time I installed Mokee in August 2014
Looks like your using the same code as described in this issue over here: AICP/packages_apps_Dialer#4, so basically the same applies to your repo.
When pressing the first number in the dialer, the phone searches for any number stored as speed dial or shows possible matches.
The DTMF tone for the first digit does not stop to play until the results for the possible contacts is shown. During this time, the screen freezes and you cannot enter any other digit.
Occurrence: This does not happen everytime you dial the first digit. Rather, when the dialer is minimized (not in focus) and then brought to front to dial a number,
Probable Cause: The function to query the contacts runs in the same thread and is not asynchronous.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.