http://ag/323631 added the provideAssistData
attribute to the Service manifest tag.
It did not, however, add that attribute to
public.xml - making it impossible to actually
build a service that defines said tag.
So, add it.
Now that the attribute is where it should be,
restore @link notation to ServiceInfo.java
without breaking the offline docs build
( see http://ag//340279 ).
Also, make some log warnings related to
providing assist data slightly more verbose.
Bug:
10573008
Change-Id: Ie2bcb411c182d69738a2fa4a74de3171b9b9c455
field public static final int prompt = 16843131; // 0x101017b
field public static final int propertyName = 16843489; // 0x10102e1
field public static final int protectionLevel = 16842761; // 0x1010009
+ field public static final int provideAssistData = 16843756; // 0x10103ec
field public static final int publicKey = 16843686; // 0x10103a6
field public static final int queryActionMsg = 16843227; // 0x10101db
field public static final int queryAfterZeroResults = 16843394; // 0x1010282
* Bit in {@link #flags}: If set,
* {@link android.app.Service#onProvideAssistData(android.os.Bundle)} will
* be called on the service when it is running in the foreground. Set from
- * the android.R.attr#provideAssistData attribute.
+ * the {@link android.R.attr#provideAssistData} attribute.
*/
public static final int FLAG_PROVIDE_ASSIST_DATA = 0x0004;
<public type="attr" name="supportsSwitchingToNextInputMethod" />
<public type="attr" name="requireDeviceUnlock" />
<public type="attr" name="apduServiceBanner" />
+ <public type="attr" name="provideAssistData" />
</resources>
@Override
public void run() {
if (activityExtras == null) {
- Slog.w(TAG, "getAssistContextExtras failed: timeout retrieving from " + activity);
+ Slog.w(TAG, "getAssistContextExtras failed: timeout retrieving from activtity "
+ + activity);
}
for (int i = 0; i < services.size(); i++) {
if (servicesExtras[i] == null) {
- Slog.w(TAG, "getAssistContextExtras failed: timeout retrieving from "
- + services.get(i));
+ Slog.w(TAG, "getAssistContextExtras failed: timeout retrieving from service "
+ + i + " " + services.get(i));
}
}
synchronized (this) {