commit | 084350833ee35453ad8f8c38b2df8183f9d16d6c | [log] [tgz] |
---|---|---|
author | Christoffer Adamsen <[email protected]> | Mon Jan 06 13:01:27 2025 +0100 |
committer | Christoffer Adamsen <[email protected]> | Tue Jan 07 23:54:07 2025 -0800 |
tree | e4cd6e391797775bfbd72222dc79e7c25f456569 | |
parent | 870559c0fb6394d3fb10bce16b2db96a6b3bb8b1 [diff] |
Explicitly keep default constructor in rules without members R8 implicitly keeps the default constructor when no member rules are specified. Future versions of R8 will require apps to explicitly keep the default constructors that are required for the build to work. This conservatively changes all keep rules that currently keep the default constructor to explicitly keep the default constructor. Future work will attempt to tighten up the rules that do not require the default constructor to be kept. Bug: 373579455 Bug: 387953561 Test: existing Change-Id: Ibfb967417af6914cdf04a7f242fd6773d7dd8b7a
Running ./logging.sh
will enable all verbose logs for the queries in the provider. More details in the script itself.
There are 2 different ways to easily query the database, qc
and contatcsproviderutils.sh
.
qc
queries the deivce directly. For usage, append the query in single quotes after the command:
e.g.
qc/qc 'select * from raw_contacts'
or to get all the tables
qc/qc '.tables'
QC support SQLite language, but it might have some limitations working with complex nested queries.
This script downlaods the database locally and logins into a local version. It is also possible to push any change back to the device.
source contactsproviderutils.sh
contacts2.db
and query:sqlite3-pullThis will open a sql terminal with
rlwrap
which can be easily used for queries.contacts2.db
and query with a graphical interface:sqlitebrowser-pull
sqlite3-push