am 11254ade: Merge "Add provideAssistData attr to public.xml" into klp-dev

* commit '11254adec733956085567af38036ab0e1e0e300f':
  Add provideAssistData attr to public.xml
This commit is contained in:
Adam Skory
2013-09-04 05:24:11 -07:00
committed by Android Git Automerger
4 changed files with 7 additions and 4 deletions

View File

@@ -845,6 +845,7 @@ package android {
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

View File

@@ -52,7 +52,7 @@ public class ServiceInfo extends ComponentInfo
* 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;

View File

@@ -2075,5 +2075,6 @@
<public type="attr" name="supportsSwitchingToNextInputMethod" />
<public type="attr" name="requireDeviceUnlock" />
<public type="attr" name="apduServiceBanner" />
<public type="attr" name="provideAssistData" />
</resources>

View File

@@ -407,12 +407,13 @@ public final class ActivityManagerService extends ActivityManagerNative
@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) {