Hi Ramesh, It is in Android IceCream Sanditch code. It is an open source code. U just have to search for AccountUnlockScreen.java. ( http://source-android.frandroid.com/frameworks/base/policy/src/com/android/internal/policy/impl/AccountUnlockScreen.java )
See the getProgressDialog() method in here. The progressDialog is hidden after getting the results or in cleanUp() method. Regards, Shruthi. On Thu, May 10, 2012 at 8:05 PM, ramesh mandare <[email protected]>wrote: > give me code... > > > On 5/10/12, saran vonteddu <[email protected]> wrote: > > 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 > > <[email protected]>wrote: > > > >> PFA screenshot. > >> > >> > >> On Fri, May 4, 2012 at 7:18 PM, Shruthi Varma > >> <[email protected]>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 > [email protected] > >> To unsubscribe from this group, send email to > >> [email protected] > >> 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 [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

