Skip to content

Commit

Permalink
Fix ab result format
Browse files Browse the repository at this point in the history
  • Loading branch information
imknown committed Jan 2, 2020
1 parent f806ef1 commit 7f40a05
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,9 @@ class HomeFragment : BaseListFragment() {
// val bootPartitions = sh(CMD_BOOT_PARTITION)[0]

val isAbUpdateSupported = getStringProperty(PROP_AB_UPDATE, isAtLeastAndroid7()).toBoolean()
val abUpdateSupportedArgs = translate(isAbUpdateSupported)
var abUpdateSupportedArgs = translate(isAbUpdateSupported)

var abFinalResult =
val abFinalResult =
MyApplication.getMyString(
R.string.ab_seamless_update_enabled_title
)
Expand All @@ -340,7 +340,7 @@ class HomeFragment : BaseListFragment() {
MyApplication.getMyString(android.R.string.unknownName)
}

abFinalResult += MyApplication.getMyString(
abUpdateSupportedArgs += MyApplication.getMyString(
R.string.current_using_ab_slot_result,
slotSuffixUsing
)
Expand Down

0 comments on commit 7f40a05

Please sign in to comment.