|
12 | 12 | // See the License for the specific language governing permissions and
|
13 | 13 | // limitations under the License.
|
14 | 14 |
|
15 |
| -package com.google.firebase.perf.session; |
| 15 | +package com.google.firebase.perf.session.gauges; |
16 | 16 |
|
17 | 17 | import android.content.Context;
|
18 | 18 | import androidx.annotation.Keep;
|
19 | 19 | import androidx.annotation.Nullable;
|
20 | 20 | import androidx.annotation.VisibleForTesting;
|
21 | 21 | import com.google.firebase.perf.config.ConfigResolver;
|
22 | 22 | import com.google.firebase.perf.logging.AndroidLogger;
|
23 |
| -import com.google.firebase.perf.session.collectors.CpuGaugeCollector; |
24 |
| -import com.google.firebase.perf.session.collectors.MemoryGaugeCollector; |
| 23 | +import com.google.firebase.perf.session.PerfSession; |
25 | 24 | import com.google.firebase.perf.transport.TransportManager;
|
26 | 25 | import com.google.firebase.perf.util.Timer;
|
27 | 26 | import com.google.firebase.perf.v1.AndroidMemoryReading;
|
@@ -253,7 +252,7 @@ private void syncFlush(String sessionId, ApplicationProcessState appState) {
|
253 | 252 | * @param appState The {@link ApplicationProcessState} for which these gauges are collected.
|
254 | 253 | * @return true if GaugeMetadata was logged, false otherwise.
|
255 | 254 | */
|
256 |
| - boolean logGaugeMetadata(String sessionId, ApplicationProcessState appState) { |
| 255 | + public boolean logGaugeMetadata(String sessionId, ApplicationProcessState appState) { |
257 | 256 | if (gaugeMetadataManager != null) {
|
258 | 257 | GaugeMetric gaugeMetric =
|
259 | 258 | GaugeMetric.newBuilder()
|
|
0 commit comments