Skip to content

Commit

Permalink
Merge pull request #32 from prprhyt/master
Browse files Browse the repository at this point in the history
完全にプロセスが終了しない問題を解決
  • Loading branch information
NewNotMoon committed Mar 10, 2016
2 parents 2c0b43a + 4df83c0 commit 27ed63d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ public void onClick(View v){
@Override
public void onClick(DialogInterface dialog, int which) {
MainActivity.this.moveTaskToBack(true);
android.os.Process.killProcess(android.os.Process.myPid());
}
});
alertdialog.setNegativeButton("Cancel", new DialogInterface.OnClickListener() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public void onClick(View v){//デバッグ用
@Override
public void onClick(DialogInterface dialog, int which) {
WearPlayingActivity.this.moveTaskToBack(true);
android.os.Process.killProcess(android.os.Process.myPid());
}
});
alertdialog.setNegativeButton("Cancel", new DialogInterface.OnClickListener() {
Expand Down
2 changes: 1 addition & 1 deletion wear/src/main/res/layout/activity_playing_wear.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:keepScreenOn="true">

<GridLayout
android:layout_width="match_parent"
Expand Down
2 changes: 1 addition & 1 deletion wear/src/main/res/layout/activity_title_wear.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:keepScreenOn="true">

<ImageView
android:layout_width="match_parent"
Expand Down

0 comments on commit 27ed63d

Please sign in to comment.