| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Seems like mSessionManager is not initialised in some cases,
and the call to destroy() causes a RuntimeException.
Wrap with a null check to prevent the failure.
Change-Id: I4713e303f3223d60a6674a0a1096c7b7f37a9814
Reference: BugDumps 13-20161014-20 L#3
(cherry picked from commit 57e73c474580531513c016f76bb486190685173d)
|
|
|
|
|
|
|
|
|
|
|
| |
The only reliable thing is the initialisation with null ->
if it will not be overriden in any of the loops, the call to
setChecked() causes an NPE.
Wrap the operation with a null check
Change-Id: I7aaacf9f5ae53434643df1c477c8ea536f8602ff
Reference: BugDumps 13-20161014-20 L#11
(cherry picked from commit b1c9efb6550a7e39ec41c00b08f853279b855ce9)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the device doesn't have headphones plugged in, and the speaker
reports that it doesn't support virtualizer strength in speaker mode, we
made the assumption it was never available. Just check for a valid
refernce to the effect, all AndroidEffects _should_ have a virtualizer.
Also moved the prefs version to the prefs manager.
Change-Id: Id44087c509ece3d55b42c985660a61222bbdfe17
Ticket: AUDIO-152
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* New Qualcomm DSP supports Psychoacoustic Bass Enhancement
for the speaker. When the effect is created in this mode,
it does not have a strength control. Since the effects are
discovered by attaching to the global session, likely on
speaker, the user will end up with the effect disabled.
* Ideally we want to show a toggle switch for these kinds of
effects, but that can come later.
* Bump the prefs version so nothing stays cached.
Change-Id: I85b6f504d9037ff290f18724dfc201392b9f46b4
|
|
|
|
|
|
| |
* Not needed in OSS
Change-Id: I44a93fab6888d37dce41a402f8603ae9952857d1
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
The CYNGN AudioFX has been open-sourced, so the
original copyright header no longer holds true.
Change-Id: Id15e14f5037cf8e1914139477edf12ffaae27833
|
|/
|
|
|
|
| |
DSPManager hasn't even been included in the manifest since CM 12.
Change-Id: I6e7c8434361d22491aab32d63969398608eb4de3
|
|
|
|
|
|
|
|
|
|
| |
In case updateQsTile() has not been executed before (or been interrupted),
mLastLocale has never been set and therefore results in an NPE.
Turn around the logic to prevent this
Change-Id: Iee6f8fede51c5002820e1ebe9045be79fcd54223
Reference: BugDumps 13-20160902-8 L#8
(cherry picked from commit dfc3f3691163ff3fd254a1ccda720daaecbb38ed)
|
|\ |
|
| |
| |
| |
| |
| | |
Change-Id: I947b27818fa23e28495545962687b302dde6ddf5
Ticket: -
|
|/
|
|
|
| |
Change-Id: I5ca8a3297a5c5ad7f53f24089f4cc9ecb7762e0d
Ticket: -
|
|
|
|
|
| |
Change-Id: I6cc4bd01aef7bfe92c042004466c5ed5e63773eb
Ticket: -
|
|
|
|
| |
Change-Id: I87b3725f993f2d5601ef7d919853667fc6d0cfb2
|
|
|
|
|
| |
Change-Id: I749db9a76e31ee023283edc30796874d18425c98
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Set persistent flag for app in the manifest, this backing process shouldn't be
dying when the user swipes away the UI
- Fix package structure to be org.cyanogenmod.audiofx
- Add missing java license headers
Change-Id: I03d37b6ca0548d881aaf46754c776da923e1ef59
|
|/
|
|
|
| |
Change-Id: Id6b8041002cb061c8c5d534c802610921d9571f7
Ticket: -
|
|
|
|
| |
Change-Id: I0b06569df74722ee7d7de2685c022ba879e1c3e4
|
|\ |
|
| |
| |
| |
| |
| | |
Change-Id: If69e8ad96bab87d5f73290a9e9aaa3e05da40c33
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|\| |
|
| |
| |
| |
| |
| |
| |
| | |
No longer used
Change-Id: I503812e92da4bd2b40ee84a3838d5c8c46c8af04
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|/
|
|
|
|
| |
Remove unused strings and use the correct app name.
Change-Id: Ie4d14ec6009edadc2391240b4842f192fcbb4f93
|
|\
| |
| |
| | |
Change-Id: Ie762fdbe5b70dec6843ce489e78d802662e148fb
|
| |
| |
| |
| | |
This reverts commit c7dc272e9b7dbddc1931c54ad50ae8a2d6679292.
|
| |
| |
| |
| |
| |
| | |
This reverts commit ecb27c08e3e833304a25160893f6129916ae50c3.
Change-Id: I3485ce7950a3a6c0e7b56b475756289fa74e8fe4
|
| |
| |
| |
| |
| | |
Change-Id: I7326addbad8f4837262fadfbf04712b03a7ca149
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| |
| |
| |
| |
| |
| |
| | |
For internal builds we'll keep the com.cyngn.audiofx package name
Change-Id: I28703a66308c1018ea0a6f82b73a53959f9b7412
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| |
| |
| |
| |
| | |
Change-Id: Ib6f345000b25a17a5c7520ea47355f1d96936522
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| |
| |
| |
| |
| |
| |
| | |
Ticket: CYNGNOS-3256
Change-Id: Ie3d81e78ae40f61fb5bb7c42941e381ecc5a8f1b
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the user clears app data while not on the speaker device, we won't
catch the state properly when the app comes back up and will not serve
the proper values to the backend service.
Ticket: AUDIO-152
Change-Id: I3ed48edb3bae51bd70bc1aad5b96216b9c77a335
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| |
| |
| |
| |
| | |
Change-Id: I47693ae45e7fb99fae3aa7f7487d17160b369db9
Ticket: OPO-343
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reintroduced the first boot race of not getting audio change
callbacks
Ticket: OPO-343
This reverts commit f3954b74ef01463592aa3c89099d95bac4cd1bab.
Change-Id: I23d1f3c6ffc732c29e63e4d471954960bccf4f09
|
| |
| |
| |
| |
| |
| |
| | |
* And guard against races correctly by adding a death marker.
Change-Id: I28b56e7326163d28293f8f5e9b10a53e7c34a2c0
Fixes: AUDIO-139
|
| |
| |
| |
| |
| | |
Ticket: RM-231
Change-Id: Ic6201b4ac8d30d0d7e1d875ec80bc6e98379322f
|
| |
| |
| |
| |
| | |
Ticket: RM-231
Change-Id: Ie12f87bc4c18152c37979656b7db180be5551b29
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We need to actually update the prefs after a tile toggle.
Also we aren't coming from background, so that was not the right flag
for the receiver. Instead we need to tell the receiver to come to the
FOREGROUND!
Ticket: FEIJ-747, FEIJ-695
Change-Id: I43843739958579932ff57c3d83a2e4bce65c33c9
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There is a chance the AudioOutputChangeListener calls back to
AudioFxService via it's callbacks before the DevicePreferenceManager is insantiated.
Ensure the DevicePreferenceManager is created before registering the callback.
Fixes the following error:
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.cyngn.audiofx.service.DevicePreferenceManager.isGlobalEnabled()' on a null object reference
at com.cyngn.audiofx.service.AudioFxService.updateQsTile(AudioFxService.java:272)
at com.cyngn.audiofx.service.AudioFxService.onAudioOutputChanged(AudioFxService.java:249)
at com.cyngn.audiofx.service.AudioOutputChangeListener$1.run(AudioOutputChangeListener.java:80)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)
OPO-743
Change-Id: I6cb52e676f4e91934e151b1d95b5f45a2dc85993
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Disable the ok button using addTextChangedListener when
the rename text editable is of zero length.
FEIJ-727
Change-Id: I1cd8eadb21bbbf7f3dd7bd693a414a61f71796f7
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It was possible for the view pager to pause in between presets and did
not allow the user to touch it.
Ticket: AUDIO-151
Change-Id: I5a73e8c2e6a7f1953e3abb9c8376a121946f4f07
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We need to register with Audio Manager before doing anything else to
receive callbacks properly.
Ticket: OPO-343
Change-Id: I5533b02b533ec160f3ca357692709294c118263f
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| |
| |
| |
| | |
Change-Id: I1542577007a479b82c4907d81315a058e72df849
|
| |
| |
| |
| |
| |
| | |
* And clean up device tracking.
Change-Id: I4dc935c6a1e17b7dd346b1197876089c3436c7a5
|
| |
| |
| |
| |
| |
| | |
* Switch to the new broadcast mechanism for audiosessions.
Change-Id: Ibf0a8cf04a80762f3e44642cbbe8c56468197035
|
| |
| |
| |
| |
| |
| |
| | |
* This breaks the UI
Ticket: AUDIO-147
Change-Id: I090fdf19767baa57e192f3ecfa55e20963ae3155
|
| |
| |
| |
| |
| |
| |
| | |
* Add device selection and internal effect tracking
* Stop calling setGlobalEnabled unconditionally
Change-Id: I617a03b12275c16b0efef6d215b5b7499cd98524
|
| |
| |
| |
| |
| |
| |
| | |
* Some of the first-run code changed to ensure our custom presets
get created.
Change-Id: I6f53a03157f36bedad59bfc366445e78270b67d5
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Some apps use loopback over the headphone path to perform various
functions and tests. Disable auto-attach if this is detected
since we don't want to interfere with it.
Change-Id: I5143fb5b10abc5840331b3393cd12d78c6c43091
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We always assume new sessions are always content type of MUSIC. Actually
parse the incoming intent and set the value correctly so we don't apply
effects unnecessarily as we only want to support Music for now.
Change-Id: I260e3c07ef44ceeaa0d2950f1091b9f4f213f115
Signed-off-by: Roman Birg <roman@cyngn.com>
|