In Facebook-Android SDK 3.0.1, there is LoginActivity. In LoginActivity, callingPackage is get from getCallingPackage() and save it through onSaveInstanceState and restore from savedInstanceState in onCreate(). https://github.com/facebook/facebook-android-sdk/blob/master/facebook/src/com/facebook/LoginActivity.java
I wonder if this is even necessary. >From my test, Activity.getCallingPackage() is still available after process is killed and restored. so it seems I don't have to save callingPackage to bundle at all. -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.