Decode URI in RequestManageCredentials

* URI should be human readable and not
  in percent-encoded form

Manual Testing steps
* Install TestDPC
* Select preference Request to manage credentials
* Verify activity displays URIs in a human
  readable format

Bug: 177900145
Test: Manual testing
Change-Id: I7b5f92f4939491a40bc3728aab56e06886fc08f1
This commit is contained in:
Alex Johnston
2021-02-23 15:56:33 +00:00
parent fcdd955dff
commit b77e2b4f69

View File

@@ -74,7 +74,7 @@ public class UriAuthenticationPolicyAdapter extends
public void onBindViewHolder(UriAuthenticationPolicyAdapter.UriViewHolder holder,
int position) {
Uri uri = mUris.get(position);
holder.mUriNameView.setText(uri.toString());
holder.mUriNameView.setText(Uri.decode(uri.toString()));
}
@Override