RESTRICT AUTOMERGE Fix phishing attacks over Bluetooth due to unclear warning message
This CL add more prompts presented for users to avoid phishing attacks.
Screenshot:
https://screenshot.googleplex.com/p5PZbphN46ddPFV.png
https://screenshot.googleplex.com/6Q2wKfPbNQmTtx8.png
https://screenshot.googleplex.com/987VpYgNUZL2K4T.png
https://screenshot.googleplex.com/9eVg6SAGScVXU8U.png
Bug: 167403112
Test: manually test
Change-Id: Iadec059b662fd91754ad573bbe688702cdd3c9af
(cherry picked from commit 10e4599219
)
This commit is contained in:
@@ -144,13 +144,17 @@ public final class BluetoothPermissionRequest extends BroadcastReceiver {
|
||||
R.string.bluetooth_message_access_notification_content);
|
||||
break;
|
||||
case BluetoothDevice.REQUEST_TYPE_SIM_ACCESS:
|
||||
title = context.getString(R.string.bluetooth_sap_request);
|
||||
message = context.getString(R.string.bluetooth_sap_acceptance_dialog_text,
|
||||
title = context.getString(
|
||||
R.string.bluetooth_sim_card_access_notification_title);
|
||||
message = context.getString(
|
||||
R.string.bluetooth_sim_card_access_notification_content,
|
||||
deviceAlias, deviceAlias);
|
||||
break;
|
||||
default:
|
||||
title = context.getString(R.string.bluetooth_connection_permission_request);
|
||||
message = context.getString(R.string.bluetooth_connection_dialog_text,
|
||||
title = context.getString(
|
||||
R.string.bluetooth_connect_access_notification_title);
|
||||
message = context.getString(
|
||||
R.string.bluetooth_connect_access_notification_content,
|
||||
deviceAlias, deviceAlias);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user