diff options
author | John Wang <johnwang@google.com> | 2010-09-17 18:07:23 -0700 |
---|---|---|
committer | John Wang <johnwang@google.com> | 2010-09-17 18:07:23 -0700 |
commit | 0a30e454eb2d2969dcff612de5c3ae5872577f00 (patch) | |
tree | 0ff1b5e600f18d9a45778feeb9e8923bdc46fef2 /graphics/java/android/renderscript/ProgramFragment.java | |
parent | 25945ca2e67c0e46ff2ad46590cd71ca5b4b4266 (diff) |
Use PhoneBase in the phone list.
For bug 3001613.
Only use PhoneBase (not PhoneProxy) in CallManager.
Both PhoneBase and PhoneProxy implement Phone interface,
such as dial(). The real implementation, for
example in GSM, is in GSMPhone extending from PhoneBase.
So that foregroundCall.getPhone() returns GSMPhone obj. On the other hand,
PhoneFactory.getDefaultPhone() returns PhoneProxy obj, which has a class
member of GSMPhone.
Therefore for phone returned by PhoneFacotry, which is used by PhoneApp,
phone.getForegroundCall().getPhone() != phone
Change-Id: I8a304098dd86762aaee56fb3c8b76c883e8c9a4f
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions