cv.java
1.15 KB
import android.annotation.TargetApi;
import android.app.RemoteInput;
import android.app.RemoteInput.Builder;
import android.support.annotation.RequiresApi;
import android.support.v4.app.RemoteInputCompatBase.RemoteInput;
@TargetApi(20)
@RequiresApi(20)
public final class cv
{
public static RemoteInput[] a(RemoteInputCompatBase.RemoteInput[] paramArrayOfRemoteInput)
{
if (paramArrayOfRemoteInput == null) {
return null;
}
RemoteInput[] arrayOfRemoteInput = new RemoteInput[paramArrayOfRemoteInput.length];
int i = 0;
while (i < paramArrayOfRemoteInput.length)
{
RemoteInputCompatBase.RemoteInput localRemoteInput = paramArrayOfRemoteInput[i];
arrayOfRemoteInput[i] = new RemoteInput.Builder(localRemoteInput.getResultKey()).setLabel(localRemoteInput.getLabel()).setChoices(localRemoteInput.getChoices()).setAllowFreeFormInput(localRemoteInput.getAllowFreeFormInput()).addExtras(localRemoteInput.getExtras()).build();
i += 1;
}
return arrayOfRemoteInput;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/cv.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/