{"action":"opened","issue":{"url":"https://api.github.com/repos/limpoxe/Android-Plugin-Framework/issues/16","repository_url":"https://api.github.com/repos/limpoxe/Android-Plugin-Framework","labels_url":"https://api.github.com/repos/limpoxe/Android-Plugin-Framework/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/limpoxe/Android-Plugin-Framework/issues/16/comments","events_url":"https://api.github.com/repos/limpoxe/Android-Plugin-Framework/issues/16/events","html_url":"https://github.com/limpoxe/Android-Plugin-Framework/issues/16","id":158544361,"number":16,"title":"调用new AlertDialog.Builder()，手机重启","user":{"login":"uk702","id":19758410,"avatar_url":"https://avatars.githubusercontent.com/u/19758410?v=3","gravatar_id":"","url":"https://api.github.com/users/uk702","html_url":"https://github.com/uk702","followers_url":"https://api.github.com/users/uk702/followers","following_url":"https://api.github.com/users/uk702/following{/other_user}","gists_url":"https://api.github.com/users/uk702/gists{/gist_id}","starred_url":"https://api.github.com/users/uk702/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uk702/subscriptions","organizations_url":"https://api.github.com/users/uk702/orgs","repos_url":"https://api.github.com/users/uk702/repos","events_url":"https://api.github.com/users/uk702/events{/privacy}","received_events_url":"https://api.github.com/users/uk702/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-05T08:37:06Z","updated_at":"2016-06-05T08:37:06Z","closed_at":null,"body":"修改 PluginTest 工程下的 com.example.plugintest.fragment.PluginNormalFragment 这个类，在 public void onClick(View v)  函数的最开头位置，加入如下测试代码：\r\n\r\n\t\tnew AlertDialog.Builder(getContext()).setTitle(\"测试测试\").\r\n\t\t\t\tsetPositiveButton(\"确定\", new DialogInterface.OnClickListener() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\r\n\t\t\t\t\t\tdialog.dismiss();\r\n\t\t\t\t\t\tToast.makeText(getContext(), \"你点了确定\",\r\n\t\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\r\n\t\t\t\t\t}\r\n\t\t\t\t}).\r\n\t\t\t\tsetNegativeButton(\"取消\", new DialogInterface.OnClickListener() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\r\n\t\t\t\t\t\tdialog.dismiss();\r\n\t\t\t\t\t}\r\n\t\t\t\t}).show();\r\n\r\n然后打开测试页面，点击“打开PLUGINNORMALFRAGMENT”，继续点击“来自插件的文字”，手机重启。\r\n\r\n手机型号：华为X1 和 华为荣耀6PLUS，Android版本：4.4.2\r\n"}}
{"actor":{"display_login":"uk702"}}