Hi,
Can anyone please help me knowing the reason for this behaviour.
The activity which shows the Emergency Dialer
(packages/apps/Phone/src/com/android/phone) is EmergencyDialer.java.
Now i have a question that if my phone is *not provisioned* (means :
Secure.DEVICE_PROVISIONED is set to 0), how come the Home key is functional
on the Emergency Dialer screen and not on any other activity *till this bit
get sets to 1 ?*?
Suppose when my phone boots up for the first time after a factory reset (I
set my activity as high priority home app category), and in my Home
activity I launch emergency dialer through a button click, and then press
Home key there, why my existing Home activity is destroyed and i get the
Home Intent such that my Home activity gets created again and also i
recieve the onNewIntent followed by the onCreate. My Home activity is
singleTask launch mode.
but this happens only for the first time when Emergency dialer is launched
and home key is pressed there. (Sequence :
Phone boots up -> My Home activity is launched (onCreate) -> click button
to launch emergency dialer -> press home key -> my Home activity recieves
onDestroy -> onCreate -> onNewIntent. ) === is it not something strange
what i read from android docs for onNewIntent.
For the other tries after this (Sequence : My Home activity is there ->
click button to launch emergency dialer -> press home key -> my Home
activity recieves onNewIntent.) ===This is expected behaviour.
Why the first time i got onDestroy when i pressed Home key on Emergency
dialer.
Is this some Android framework Bug . Please help me on this.
I shall be thankful to you.
Thanks & Regards,
Sudeep.
--
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