Revert "Update link branches to main" (#146880)
Reverts flutter/flutter#146558 Causes failure
This commit is contained in:
@@ -39,7 +39,7 @@ Future<String> getChromiumKeys() async {
|
||||
|
||||
/// Get contents of the file that contains the key codes in Android source.
|
||||
Future<String> getAndroidKeyCodes() async {
|
||||
final Uri keyCodesUri = Uri.parse('https://android.googlesource.com/platform/frameworks/native/+/main/include/android/keycodes.h?format=TEXT');
|
||||
final Uri keyCodesUri = Uri.parse('https://android.googlesource.com/platform/frameworks/native/+/master/include/android/keycodes.h?format=TEXT');
|
||||
return utf8.decode(base64.decode(await http.read(keyCodesUri)));
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ Future<String> getWindowsKeyCodes() async {
|
||||
/// common keyboards. Other than some special keyboards and game pads, this
|
||||
/// should be OK.
|
||||
Future<String> getAndroidScanCodes() async {
|
||||
final Uri scanCodesUri = Uri.parse('https://android.googlesource.com/platform/frameworks/base/+/main/data/keyboards/Generic.kl?format=TEXT');
|
||||
final Uri scanCodesUri = Uri.parse('https://android.googlesource.com/platform/frameworks/base/+/master/data/keyboards/Generic.kl?format=TEXT');
|
||||
return utf8.decode(base64.decode(await http.read(scanCodesUri)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user