Fix FrameLayout cast exception.

I was seeing a ClassCastException: android.widget.FrameLayout
cannot be cast to com.android.dialer.widget.SearchEditTextLayout.

But, it's kind of bizarre, because it disappeared after I tried
implementing this fix, even when creating what should have been
a clean branch replicating the original conditions (?).

In any case, this would make us more resilient to changes in the
custom view used by the action bar by searching for the
SearchEditTextLayout by id.

Change-Id: I9f4909b55e4ef29562712643048eb3fb942ff684
1 file changed
tree: d4430f9342f35b8d956ccd1444b744f9ed907606
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. proguard.flags