<feed xmlns='http://www.w3.org/2005/Atom'>
<title>frameworks_base/services/voiceinteraction, branch replicant-10</title>
<subtitle>Fork of frameworks/base
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/'/>
<entry>
<title>DO NOT MERGE - Use TimingsTraceLog on SystemServiceManager and VoiceInteractionManagerService.</title>
<updated>2020-02-05T06:21:57+00:00</updated>
<author>
<name>Felipe Leme</name>
<email>felipeal@google.com</email>
</author>
<published>2019-12-05T17:55:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=ed30689e2190b19641db6cef664eb32d2f7cf0e0'/>
<id>ed30689e2190b19641db6cef664eb32d2f7cf0e0</id>
<content type='text'>
(NOTE: this change is manually cherry-picked from master - master has the same
trace calls, but they were introduced by larger changes)

Bug: 145626101
Bug: 145027829
Test: manual verification

Change-Id: I5cae10c9c7e5ed6f733c72659643708dfa826fc7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(NOTE: this change is manually cherry-picked from master - master has the same
trace calls, but they were introduced by larger changes)

Bug: 145626101
Bug: 145027829
Test: manual verification

Change-Id: I5cae10c9c7e5ed6f733c72659643708dfa826fc7
</pre>
</div>
</content>
</entry>
<entry>
<title>SoundTriggerHelper: fix state after audioserver death</title>
<updated>2019-09-12T01:37:15+00:00</updated>
<author>
<name>Eric Laurent</name>
<email>elaurent@google.com</email>
</author>
<published>2019-09-12T01:10:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=2fedc5592046ef401714aefacba07a97f449ae79'/>
<id>2fedc5592046ef401714aefacba07a97f449ae79</id>
<content type='text'>
Make sure mRecognitionRequested is reset when a failure
condition disables all recognitions: A stale value would
prevent from registering call and power state listeners
and properly update the states.

Also:
- In isRecognitionAllowed(), read current call and power
states directly from services if listeners are not registered.
- Also add missing null checks on mModule at various places.

Bug: 139268184
Test: repro steps in the bug
Change-Id: I763130b4d491a1a6a9e0756c7a18943e406ce73e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure mRecognitionRequested is reset when a failure
condition disables all recognitions: A stale value would
prevent from registering call and power state listeners
and properly update the states.

Also:
- In isRecognitionAllowed(), read current call and power
states directly from services if listeners are not registered.
- Also add missing null checks on mModule at various places.

Bug: 139268184
Test: repro steps in the bug
Change-Id: I763130b4d491a1a6a9e0756c7a18943e406ce73e
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Bind voice interactor as top-app when it is being used" into qt-qpr1-dev</title>
<updated>2019-09-05T19:41:09+00:00</updated>
<author>
<name>TreeHugger Robot</name>
<email>treehugger-gerrit@google.com</email>
</author>
<published>2019-09-05T19:41:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=6183d81af6d9f0e57264180c466eae29eea3ce77'/>
<id>6183d81af6d9f0e57264180c466eae29eea3ce77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix legacy role holder resolution for assistant, dialer and SMS.</title>
<updated>2019-08-22T05:08:22+00:00</updated>
<author>
<name>Hai Zhang</name>
<email>zhanghai@google.com</email>
</author>
<published>2019-08-21T23:35:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=dbffb693a57602704ae08ede208df07f4560b8e9'/>
<id>dbffb693a57602704ae08ede208df07f4560b8e9</id>
<content type='text'>
The legacy settings for them can actually remain null and it was
handled specially to use the system default instead. If the legacy
role holders aren't resolved correctly, role implementation will do a
fallback grant which overrides permission state, whereas if they are
resolved correctly the normal fix up won't do an override.

Fixes: 139752137
Test: manual
Change-Id: I5cc301c3b7b459bdfaece0117bcacd984d1cb78f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The legacy settings for them can actually remain null and it was
handled specially to use the system default instead. If the legacy
role holders aren't resolved correctly, role implementation will do a
fallback grant which overrides permission state, whereas if they are
resolved correctly the normal fix up won't do an override.

Fixes: 139752137
Test: manual
Change-Id: I5cc301c3b7b459bdfaece0117bcacd984d1cb78f
</pre>
</div>
</content>
</entry>
<entry>
<title>Bind voice interactor as top-app when it is being used</title>
<updated>2019-08-21T17:06:43+00:00</updated>
<author>
<name>Philip Cuadra</name>
<email>philipcuadra@google.com</email>
</author>
<published>2019-08-20T20:50:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=1e84d67493a9666e1e9b83edf492de5893118fc6'/>
<id>1e84d67493a9666e1e9b83edf492de5893118fc6</id>
<content type='text'>
When voice interactor is being used, it should run as the top app to
handle processing as quickly as possible.  This is similar to what IME
does when IME is shown.

Bug 139756725
Test: invoke assistant, confirm :interactor becomes top-app and then
goes back to foreground after use.

Change-Id: Id13b47dcb4de6658eede13a650e6ef631f649f4f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When voice interactor is being used, it should run as the top app to
handle processing as quickly as possible.  This is similar to what IME
does when IME is shown.

Bug 139756725
Test: invoke assistant, confirm :interactor becomes top-app and then
goes back to foreground after use.

Change-Id: Id13b47dcb4de6658eede13a650e6ef631f649f4f
</pre>
</div>
</content>
</entry>
<entry>
<title>SoundTriggerHelper: fix power save mode listener</title>
<updated>2019-07-19T19:06:24+00:00</updated>
<author>
<name>Eric Laurent</name>
<email>elaurent@google.com</email>
</author>
<published>2019-07-18T15:22:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=80565fbf36d3a3fddcb1610a19cb20fbe78bf907'/>
<id>80565fbf36d3a3fddcb1610a19cb20fbe78bf907</id>
<content type='text'>
When stopping a recognition, do not unregister power save mode
listener if no recognition is active any more but only if no recognition
is requested. Otherwise recognitions suspended due to power save mode will
never resume.

Bug: 136978230
Test: Activate power save mode, plug USB and verify OK G works.
Change-Id: I426e11447fcde5c578ae2f64aa1fe18ef00fba0f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When stopping a recognition, do not unregister power save mode
listener if no recognition is active any more but only if no recognition
is requested. Otherwise recognitions suspended due to power save mode will
never resume.

Bug: 136978230
Test: Activate power save mode, plug USB and verify OK G works.
Change-Id: I426e11447fcde5c578ae2f64aa1fe18ef00fba0f
</pre>
</div>
</content>
</entry>
<entry>
<title>SoundTriggerService: Track model stats</title>
<updated>2019-06-11T20:20:41+00:00</updated>
<author>
<name>Benjamin Schwartz</name>
<email>bsschwar@google.com</email>
</author>
<published>2019-06-07T00:39:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=9e7a0158fc26c218d632ca0fecf54882d728f0b5'/>
<id>9e7a0158fc26c218d632ca0fecf54882d728f0b5</id>
<content type='text'>
Bug: 133868565
Test: adb bugreport
Test: In bugreport, check DUMPSYS - voiceinteraction
Change-Id: I09750de4b3de1088ac6fba5ad08f01a4b1249112
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 133868565
Test: adb bugreport
Test: In bugreport, check DUMPSYS - voiceinteraction
Change-Id: I09750de4b3de1088ac6fba5ad08f01a4b1249112
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Revert "Offload role manager work to background thread"" into qt-dev</title>
<updated>2019-06-03T21:48:24+00:00</updated>
<author>
<name>TreeHugger Robot</name>
<email>treehugger-gerrit@google.com</email>
</author>
<published>2019-06-03T21:48:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=b13d88af5232b2c0a20b3dc576c7d8acc94a337b'/>
<id>b13d88af5232b2c0a20b3dc576c7d8acc94a337b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Offload role manager work to background thread"</title>
<updated>2019-06-03T18:50:55+00:00</updated>
<author>
<name>Hai Zhang</name>
<email>zhanghai@google.com</email>
</author>
<published>2019-06-03T18:50:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=c00c31e97e7756efde01682aeabc06de20d560ef'/>
<id>c00c31e97e7756efde01682aeabc06de20d560ef</id>
<content type='text'>
This reverts commit f105c93c4aa6d1cbebe94c5c8d7d6297258f6fc9.

Reason for revert: b/132974796#23 the offloaded thread will be holding a lock for a noticeable period of time and cause contention.

Bug: 132974796
Change-Id: Ic81a2e3ee7226266c8f97b606fc1a2834240f689
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit f105c93c4aa6d1cbebe94c5c8d7d6297258f6fc9.

Reason for revert: b/132974796#23 the offloaded thread will be holding a lock for a noticeable period of time and cause contention.

Bug: 132974796
Change-Id: Ic81a2e3ee7226266c8f97b606fc1a2834240f689
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Limit GetModelState API to generic sound models (ie music detector)" into qt-dev</title>
<updated>2019-05-24T05:37:10+00:00</updated>
<author>
<name>Michael Dooley</name>
<email>mdooley@google.com</email>
</author>
<published>2019-05-24T05:37:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=58ac2ae2cb89d0f28a1e9e071cb53417c9e584e7'/>
<id>58ac2ae2cb89d0f28a1e9e071cb53417c9e584e7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
