Skip to content

Commit 7d374a5

Browse files
committed
rename upload job method
1 parent 43c939c commit 7d374a5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

misc/src/main/java/com/example/snippets/profiling/ProfilingManagerJavaSnippets.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public void accept(ProfilingResult profilingResult) {
9797
Log.d(
9898
"ProfileTest",
9999
"Received profiling result file=" + profilingResult.getResultFilePath());
100-
setupUploadJob(profilingResult.getResultFilePath());
100+
setupProfileUploadWorker(profilingResult.getResultFilePath());
101101
} else {
102102
Log.e(
103103
"ProfileTest",
@@ -121,7 +121,7 @@ public void accept(ProfilingResult profilingResult) {
121121
// [END android_profiling_manager_triggered_trace_java]
122122

123123
// [START android_profiling_manager_triggered_trace_setup_upload_job_java]
124-
public void setupUploadJob(String resultFilePath) {
124+
public void setupProfileUploadWorker(String resultFilePath) {
125125
// Setup job to upload the profiling result file.
126126
}
127127
// [END android_profiling_manager_triggered_trace_setup_upload_job_java]

misc/src/main/java/com/example/snippets/profiling/ProfilingManagerKotlinSnippets.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class ProfilingManagerKotlinSnippets {
110110
"ProfileTest",
111111
"Received profiling result file=" + profilingResult.resultFilePath
112112
)
113-
setupUploadJob(profilingResult.resultFilePath)
113+
setupProfileUploadWorker(profilingResult.resultFilePath)
114114
} else {
115115
Log.e(
116116
"ProfileTest",
@@ -132,7 +132,7 @@ class ProfilingManagerKotlinSnippets {
132132
// [END android_profiling_manager_triggered_trace]
133133

134134
// [START android_profiling_manager_triggered_trace_setup_upload_job]
135-
fun setupUploadJob(resultFilePath: String?) {
135+
fun setupProfileUploadWorker(resultFilePath: String?) {
136136
// Setup job to upload the profiling result file.
137137
}
138138
// [END android_profiling_manager_triggered_trace_setup_upload_job]

0 commit comments

Comments
 (0)