Fix typos in previous bugfixes.

The commits 2c9fbdd and 12b6d29 introduced minor bugs. This change fixes
them.
This commit is contained in:
Deepanshu Gupta
2014-11-18 21:53:47 +00:00
parent c79173c7da
commit cb09bc45c5
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ public class TimePickerSpinnerDelegate_Delegate {
private static final int PM = 1;
@LayoutlibDelegate
static int getAmOrPmKeyCode(int amOrPm) {
static int getAmOrPmKeyCode(TimePickerSpinnerDelegate tpsd, int amOrPm) {
// We don't care about locales here.
if (amOrPm == AM) {
return KeyEvent.KEYCODE_A;

View File

@@ -482,7 +482,7 @@ public final class BridgeContext extends Context {
// In some cases, style may not be a dynamic id, so we do a full search.
ResourceReference ref = resolveId(resid);
if (ref != null) {
mRenderResources.getStyle(ref.getName(), ref.isFramework());
style = mRenderResources.getStyle(ref.getName(), ref.isFramework());
}
}