Revert "Temporarily point winscope_proxy.py download link to Code Search"
This reverts commit 30a6979344.
Reason for revert: https://android-review.git.corp.google.com/q/topic:%22winscope-1.0%22 is updating the proxy files in aosp, this temporary fix is no longer necessary
Change-Id: I3e4d8370e0a947c8491b470cefbd04ddc6f3ef0b
This commit is contained in:
committed by
Android (Google) Code Review
parent
30a6979344
commit
8e25c2ed36
@@ -32,12 +32,12 @@ import {proxyClient, ProxyClient, ProxyState} from 'trace_collection/proxy_clien
|
||||
python3 $ANDROID_BUILD_TOP/development/tools/winscope/src/adb/winscope_proxy.py
|
||||
</code>
|
||||
</p>
|
||||
<p class="mat-body-1">Or get it from Code Search.</p>
|
||||
<p class="mat-body-1">Or get it from the AOSP repository.</p>
|
||||
</div>
|
||||
|
||||
<div class="further-adb-info-actions">
|
||||
<button color="primary" mat-stroked-button (click)="downloadFromCodeSearch()">
|
||||
Download from Code Search
|
||||
<button color="primary" mat-stroked-button (click)="downloadFromAosp()">
|
||||
Download from AOSP
|
||||
</button>
|
||||
<button color="primary" mat-stroked-button class="retry" (click)="restart()">
|
||||
Retry
|
||||
@@ -58,12 +58,12 @@ import {proxyClient, ProxyClient, ProxyState} from 'trace_collection/proxy_clien
|
||||
python3 $ANDROID_BUILD_TOP/development/tools/winscope/src/adb/winscope_proxy.py
|
||||
</code>
|
||||
</p>
|
||||
<p class="mat-body-1">Or get it from Code Search.</p>
|
||||
<p class="mat-body-1">Or get it from the AOSP repository.</p>
|
||||
</div>
|
||||
|
||||
<div class="further-adb-info-actions">
|
||||
<button color="primary" mat-stroked-button (click)="downloadFromCodeSearch()">
|
||||
Download from Code Search
|
||||
<button color="primary" mat-stroked-button (click)="downloadFromAosp()">
|
||||
Download from AOSP
|
||||
</button>
|
||||
<button color="primary" mat-stroked-button class="retry" (click)="restart()">
|
||||
Retry
|
||||
@@ -136,7 +136,7 @@ export class AdbProxyComponent {
|
||||
proxyKeyItem = '';
|
||||
readonly proxyVersion = this.proxy.VERSION;
|
||||
readonly downloadProxyUrl: string =
|
||||
'https://source.corp.google.com/android/development/tools/winscope/src/adb/winscope_proxy.py';
|
||||
'https://android.googlesource.com/platform/development/+/master/tools/winscope/adb_proxy/winscope_proxy.py';
|
||||
|
||||
restart() {
|
||||
this.addKey.emit(this.proxyKeyItem);
|
||||
@@ -144,7 +144,7 @@ export class AdbProxyComponent {
|
||||
this.proxyChange.emit(this.proxy);
|
||||
}
|
||||
|
||||
downloadFromCodeSearch() {
|
||||
downloadFromAosp() {
|
||||
window.open(this.downloadProxyUrl, '_blank')?.focus();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user