am: de26442649 -s ours
am skip reason: change_id Idfa2aa392ae1da9582e7691a8c06c986baad5088 with SHA1 e53786e864 is in history
Change-Id: Ida2dbab0975cd9af137b4472e03a7287e0fdcff5
Metalava no longer requires it at least for droidstubs in this
directory. Even when local_sourcepath is not set, the -sourcepath option
is set to the module directory (frameworks/base in this case), and
metalava tries to find package.html files under the directory to know if
a package is hidden or not.
Exempt-From-Owner-Approval: cherry-pick from internal
Bug: 144264106
Test: m
Merged-In: Idfa2aa392ae1da9582e7691a8c06c986baad5088
(cherry picked from commit e53786e864)
Change-Id: Idfa2aa392ae1da9582e7691a8c06c986baad5088
am: 9dfeec91dc -s ours
am skip reason: change_id I6bbe8e938846d07b1260eb83e532b7f46aeabeaf with SHA1 ffc2c11604 is in history
Change-Id: I5192d0865340c3a451a920c3e58e2fa1d931b70c
* changes:
Expand ContentProviderOperation support of extras.
Extend insert/update/delete to provide extras.
Query arguments for grouping, other SQL clauses.
am: 49960bdd5f -s ours
am skip reason: change_id I22b5029a8dbd7a50ad6faf0bb3b15269af839956 with SHA1 80c86d5c08 is in history
Change-Id: I991e8991b4a82c6363f7cc45ad419725b463e6ab
This restores a local copy of a state variable that was changed in
http://ag/9466628. The state variable needs to be briefly cached for
everything to work correctly.
Bug: 144285356
Test: manual
Change-Id: Iafe2abe9cd8202955b51309a048e9fc4b52732f3
NavigationBarEdgePanel now implements the new plugin. As part of that,
some of the UI-specific logic from EdgeBackGestureHandler has been
moved to NavigationBarEdgePanel (e.g. Dark region detector and logic
around the arrow position).
Test: Built and manually tested existing back behavior.
Fixes: 143907351
Change-Id: I0e01581d6b69e6a8a03a4338be83ed5ff8b2da65
Now that we allow extras in more ContentProvider calls, we should
also allow CPO to define and pass those extras into a provider. We
recently added flexible utility methods like withExtraBackReference(),
so this change starts passing those values to insert, update, delete,
and query.
Bug: 131643582
Test: atest CtsContentTestCases
Change-Id: I4a445c061bbd84f45bdb80d336a2d0928b7fbe9c
A few releases ago we added ContentResolver.QUERY_ARG_* constants
to query() as a new best-practice that will help wean us off raw
SQL arguments. (For example, a provider could add their own
custom arguments like QUERY_ARG_INCLUDE_PENDING to cause the query
to reveal pending items that would otherwise be hidden.) This
change expands update() and delete() to accept those arguments.
This change also expand insert() to accept extras too, as part of
preparing to support an upcoming MediaProvider feature that will let
apps place new media "adjacent" to an existing media item. (Sending
that adjacent item through extras is cleaner than trying to send it
through escaped query parameters.)
Bug: 131643582
Test: atest CtsContentTestCases
Change-Id: I436296155b9b5f371b4cbe661feaf42070285fcc