Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00001111 authored by Billy Lau's avatar Billy Lau
Browse files

BinaryTransparencyService: change params to FrameworkStatsLog.write

Due to the extension of the definition of the ApexInfoGathered atom,
we are changing the params to `FrameworkStatsLog.write()` to match
the atom definition.

Bug: 245944675

Test: Manual.
Change-Id: If5a2df21ecb13d0bc34b70116cc133ef823a642a
parent 1e389754
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -685,7 +685,9 @@ public class BinaryTransparencyService extends SystemService {
                        FrameworkStatsLog.write(FrameworkStatsLog.APEX_INFO_GATHERED,
                                packageInfo.packageName,
                                packageInfo.getLongVersionCode(),
                                mBinaryHashes.get(packageInfo.packageName));
                                mBinaryHashes.get(packageInfo.packageName),
                                4,  // indicating that the digest is SHA256
                                null);  // TODO: This is to comform to the extended schema.
                    }
                }
            } catch (PackageManager.NameNotFoundException e) {