jianlinwei / openintents

Automatically exported from code.google.com/p/openintents
0 stars 0 forks source link

OI Safe doesn't seem to start the logoff activity correctly when interacting with oi notepad #181

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open up oi notepad and get it to encrypt/decrypt some notes
2. pull down the notification screen and click on the oi safe icon, which
is supposed to start the logoff activity
3. sometimes it seems to start it, and sometimes not.

I would expect the logoff screen to start, but instead it seems to
sometimes go to the front door, sometimes go to the category list, and
lolcat gives me the following:

I/ActivityManager(   53): Starting activity: Intent {
action=android.intent.action.EDIT
data=content://org.openintents.notepad/notes/1
comp={org.openintents.notepad/org.openintents.notepad.NoteEditor} }
D/Notes   (  176): onResume
I/ActivityManager(   53): Displayed activity
org.openintents.notepad/.NoteEditor: 258 ms
I/ActivityManager(   53): Starting activity: Intent {
comp={org.openintents.safe/org.openintents.safe.LogOffActivity} }
W/ActivityManager(   53): startActivity called from non-Activity context;
forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent {
comp={org.openintents.safe/org.openintents.safe.LogOffActivity} }

Original issue reported on code.google.com by isaac.jo...@gmail.com on 17 Jan 2009 at 7:42

GoogleCodeExporter commented 9 years ago
Could not reproduce this. Does it still occur? If yes, are there step-by-step 
instructions?

Original comment by peli0...@googlemail.com on 30 Jan 2009 at 9:52

GoogleCodeExporter commented 9 years ago
These steps caused a crash with the Market versions released today.

0. OI Safe should not be unlocked.
1. In Portrait orientation, with OI Notepad open and a note "Encrypted", open 
the
encrypted note.
2. OI Safe prompts for Master Password, switch to Landscape in order to type
3. Enter password and click Continue
4. OI Notepad displays "Edit note" and shows the note
5. Switch to Portrait orientation.
6. Pull Notification down and Lock OI Safe
7. At Master Password prompt, hit Back key to avoid entering it
8. "Failed to invoke encrypt" is displayed by OI Notepad
9. Hit Back to perform a save at the "Edit note" screen in OI Notepad.
10. OI Safe prompts for Master Password
11. Switch to Landscape orientation.
12. Enter Master Password and click Continue
13. OI Notepad crashes

Original comment by rmce...@gmail.com on 3 Feb 2009 at 1:06