Hi Shruthi,

         when you click on "Sign in" btn check the telephony state, and if
it is in call state, try to hide progressDialog. May b below code is
useful.
if (mTelephonyManager.getCallState() != TelephonyManager.CALL_STATE_IDLE)
         getProgressDialog().hide();

let me know if it is not working... :-)



regards,
Saran



On Fri, May 4, 2012 at 7:19 PM, Shruthi Varma <shruthi.tlis...@gmail.com>wrote:

> PFA screenshot.
>
>
> On Fri, May 4, 2012 at 7:18 PM, Shruthi Varma 
> <shruthi.tlis...@gmail.com>wrote:
>
>> Hi All,
>>
>> I encountered a problem in Google Nexus phone having Android 4.0 (*Ice
>> Cream Sandwich*).
>>
>> [Steps]
>>         1. Set up a Gmail account in an Android device.
>>         2. Set up a Security lock, may be a Pin/ pattern Screen Lock in
>> Setting - Security and lock the phone (by pressing power button).
>>  3. Phone screen is locked with PIN/ Pattern. Enter wrong  PIN/
>> Pattern 5 times and phone displays "Forgot PIN?".
>> 4. Press "Forgot PIN", enter correct gmail account and password, then
>> press "Sign in", phone is checking i.e a ProgressDialog box appears
>> displaying "checking" on the screen.
>>  5. Give a call to this device from any other device during this time
>> when the deice is checking the Gmail credentials. We can see the incoming
>> call Screen in the background of the ProgressDialog as seen in the
>> screenshot attached. Hence the user cannot answer the call till it finishes
>> checking and dismiss the dialog box.
>>
>> The code to this dialog box is in android base ICS -
>> (frameworks/base/policy/src/com/android/internal/policy/impl/AccountUnlockScreen.java
>> )
>>
>>
>> Please help me fixing this issue.
>>
>>
>> Thanks and Regards,
>>
>> Shruthi.
>>
>>
>>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to