Skip to content

Commit

Permalink
Aperture: Don't use resource from other package
Browse files Browse the repository at this point in the history
In AOSP this isn't possible anymore, simply
create a new string with the same content.

Change-Id: I72daae766615a9b3f0f6ed29502b2d66e4177ee1
  • Loading branch information
luca020400 committed Nov 1, 2024
1 parent b0e033b commit e926ecd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class QrImageAnalyzer(private val activity: Activity, private val scope: Corouti
Intent.EXTRA_TEXT, text
)
},
activity.getString(androidx.transition.R.string.abc_shareactionprovider_share_with)
activity.getString(R.string.qr_share_with_action)
)
)
}
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<string name="qr_copy_description">Copy to clipboard</string>
<string name="qr_icon_description">Icon</string>
<string name="qr_share_description">Share</string>
<string name="qr_share_with_action">Share with</string>
<string name="qr_no_app_available_for_action">No app available to handle this action</string>

<!-- QR types -->
Expand Down

0 comments on commit e926ecd

Please sign in to comment.