screen state string
This commit is contained in:
		| @@ -1579,7 +1579,7 @@ public class Trigger | |||||||
| 						state = Miscellaneous.getAnyContext().getString(R.string.off); | 						state = Miscellaneous.getAnyContext().getString(R.string.off); | ||||||
| 						break; | 						break; | ||||||
| 					case "1": | 					case "1": | ||||||
| 						state = Miscellaneous.getAnyContext().getString(R.string.on); | 								state = Miscellaneous.getAnyContext().getString(R.string.on); | ||||||
| 						break; | 						break; | ||||||
| 					case "2": | 					case "2": | ||||||
| 						state = Miscellaneous.getAnyContext().getString(R.string.unlocked); | 						state = Miscellaneous.getAnyContext().getString(R.string.unlocked); | ||||||
| @@ -1587,6 +1587,8 @@ public class Trigger | |||||||
| 					default: | 					default: | ||||||
| 						state = Miscellaneous.getAnyContext().getString(R.string.unknown); | 						state = Miscellaneous.getAnyContext().getString(R.string.unknown); | ||||||
| 				} | 				} | ||||||
|  | 				returnString.append(String.format(Miscellaneous.getAnyContext().getResources().getString(R.string.screenIs), state)); | ||||||
|  | 				break; | ||||||
| 			case deviceStarts: | 			case deviceStarts: | ||||||
| 				// This type doesn't have an activate/deactivate equivalent | 				// This type doesn't have an activate/deactivate equivalent | ||||||
| 				returnString.append(Miscellaneous.getAnyContext().getResources().getString(R.string.deviceHasJustStarted)); | 				returnString.append(Miscellaneous.getAnyContext().getResources().getString(R.string.deviceHasJustStarted)); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user