Proto commits in CyanogenMod/android_packages_apps_Launcher3

These 33 commits are when the Protocol Buffers files have changed:

Commit:ffad962
Author:Hyunyoung Song

Add user event logging for action on search box b/31772967 Change-Id: Ide652ddfad931e392b21f5a2bbdf9f07729d0383

The documentation is generated from this commit.

Commit:5aa2714
Author:Hyunyoung Song

Add user event log for deep shortcuts and all apps opening interaction. b/30114798 Change-Id: I11ad99d0bc1983294d6a5329b98917cb87250823

Commit:eb77aae
Author:Sunny Goyal
Committer:Sunny Goyal

Removing Key-Value pair backup logic as Launcher now uses full-data backup Change-Id: I3bbaec2b33afe8c1da3ca1468c7c733cc3194604

Commit:eb4b799
Author:Sunny Goyal
Committer:Sunny Goyal

Removing icon_type column Icon type is not used consistently. It is used initially during the loader. Afterwards, we save both the icon and resource to the db. Instead of changing the logic to always read the shortcut-resource first, and fallback to the bitmap if the resource is not available, always write the bitmap to DB whenever the shortcut is edited. Change-Id: I0ea5e88f8904bd3250ca669220b3e5d6aeef1bfd

Commit:ddec1c7
Author:Hyunyoung Song
Committer:Hyunyoung Song

Refactor UserEventLogging, Add predictedRank, replace Bundle with Proto b/26494415 - Removed bundle object that became redundant now that we have LauncherEvent proto - Combined Stats and UserEventLogger as they are effectively doing same thing - Removed parent field inside Target - added predictedRank target inside Target b/27967359 - make com.android.launcher3.action.LAUNCH broadcast explicit Later CL: finish packageName/intent/componentHash/predictedRank fields Change-Id: I441fb46c834f73e58a4d2324e8da7971e8713ec8

Commit:726eb82
Author:Hyunyoung Song

Fix the broken build Change-Id: I2750cde454a6604f33b910ac8b31fd07bba567bb

Commit:3650019
Author:Hyunyoung Song

Trim down the logging class b/26494415 Change-Id: I9035f515e4eb54af8f8ad2f29ab294d2ac9760e8

Commit:c619edb
Author:Hyunyoung Song

[DO NOT MERGE] Upload proto file to burnaby-polish b/26494415 - needed for ag/879262 getLogger function parameter - prediction to start parsing proto instead of the bundle Change-Id: I002ceb5faad0f2272ae5676b891f20826dbfcf3f

Commit:ddaeff6
Author:Hyunyoung Song

Define launcher_log.proto used for user event logging b/26494415 Change-Id: I117f290bec3c2b4cbdb43dae03adafbc9cb35a00

Commit:a6164c5
Author:Sunny Goyal

Adding a .nano prefix in the proto package name Change-Id: Ia513089f813567953ca146538f79d21ca5fd8ddf

Commit:1cebcca
Author:Sunny Goyal
Committer:android-build-merger

Merge "Update the Launcher3 backup.proto to use the deprecated nano package." am: 54076676a5 * commit '54076676a516d87a265196715a0f3b35da751067': Update the Launcher3 backup.proto to use the deprecated nano package.

Commit:01079ac
Author:Daniel Weis

Update the Launcher3 backup.proto to use the deprecated nano package. This fixes the build breakage that will be caused by I0b930811a3a8240c236d3708d51f11bc04241593 Change-Id: Ie824b04fdaa80ebfa0ba1f0675cf08ede134be12

Commit:857c7ba
Author:Sunny Goyal
Committer:Android Git Automerger

am a1adb5c3: am 54d17dff: am 00e827c7: am 5fcaab43: am ea9ad5ce: Merge remote-tracking branch \'origin/ub-launcher3-burnaby\' into mnc-dev * commit 'a1adb5c3e4dd8f342ea188046f0f75cb4714ce14': (76 commits) Restoring provider behavior for reloading app on old devices > For older devices, launcher will only reload in case of inserts with specific query parameters > For older devices, launcehr will notify content observers of any internal inserts > Chaning TAG for Launcher provider as max logging tag is only 23 characters Removing items which are on invalid screen Preventing null pointer crash when opening a folder Revert workaround for move to default screen on home intent. Fixing NPE in recycler view scroll bar. Adding workaround for regression caused by ag/752175 Adding gradle script for Android Studio Override the overscroll color for the widget rows. Adding graphic for all apps empty search screen. Using GET_UNINSTALLED_PACKAGES flag when getting packageInfo for a managed profile app Revert "Adding viewId for the QSB" Adding viewId for the QSB Fixing issue with missing scroll bar after fast-scrolling and searching. Fixing an issue where you would inadvertently start fastscrolling. Pending bind callbacks should be cleared before starting the loader, similar to startBinding Fixing widgets container inactive scroll bar color. Making the detached scrollbar catch up faster to the actual scroll position. Updating theme to use the light theme by default, instead of wallpaper theme > This allows us to use all the goodness of material theme > Cursor in folder edit text is no longer 1px wide Updating the target sdk to launcher Using the usermanager api to get creation time ...

Commit:519a40f
Author:Adam Cohen
Committer:Android Git Automerger

am a547c451: Revert "Add proto flag "javanano_use_deprecated_package" to avoid build breakage" * commit 'a547c4516c1a2dfd87f3466fccffd5ca6c5cab8c': Revert "Add proto flag "javanano_use_deprecated_package" to avoid build breakage"

Commit:a547c45
Author:Adam Cohen

Revert "Add proto flag "javanano_use_deprecated_package" to avoid build breakage" This reverts commit cb7674118c6fa6849e657fb8fea25c8fd93477cc. Change-Id: I831abe3746be49fd164046655e8c5e059bae074f

Commit:e40e77b
Author:Adam Cohen
Committer:Android Git Automerger

am cb767411: Add proto flag "javanano_use_deprecated_package" to avoid build breakage * commit 'cb7674118c6fa6849e657fb8fea25c8fd93477cc': Add proto flag "javanano_use_deprecated_package" to avoid build breakage

Commit:0284c10
Author:Adam Cohen
Committer:Adam Cohen

Add proto flag "javanano_use_deprecated_package" to avoid build breakage Change-Id: Iea8a7bc2bb385e066b3f972105224fee3eb7c894 (cherry picked from commit cb7674118c6fa6849e657fb8fea25c8fd93477cc)

Commit:cb76741
Author:Adam Cohen
Committer:Adam Cohen

Add proto flag "javanano_use_deprecated_package" to avoid build breakage Change-Id: Iea8a7bc2bb385e066b3f972105224fee3eb7c894

Commit:107ea63
Author:Sunny Goyal
Committer:Sunny Goyal

Adding rank column in backup > targetType was only added for M builds, so it can also be considered as v4 change. V3 which introduced minSpanX and minSpanY didn't contain targetType Bug: 22417713 Change-Id: I5c353674f7e0c2b5b4ab46e574fdb347d82028cd

Commit:e1d69c9
Author:Hyunyoung Song
Committer:Ed Heyl

resolved conflicts for merge of 13ef17a3 to mnc-dev-plus-aosp Change-Id: Iec5916b2323d0fb36b4d619da9e6c4e0d57a9b56

Commit:e612775
Author:Hyunyoung Song
Committer:Ed Heyl

resolved conflicts for merge of 13ef17a3 to mnc-dr-dev b/22609402 Change-Id: I140cf972d57e14737a6f91c0b4a8ec6c7ff1af2b

Commit:3a30cfe
Author:Sunny Goyal
Committer:Sunny Goyal

Adding minSpanX and minSpanY for all the launcher widgets Bug: 22353460 Change-Id: Id4450dee42a83e4603dcd56e1c4dec2b0e405858

Commit:249a510
Author:Sunny Goyal
Committer:Sunny Goyal

[DO NOT MERGE] Adding minSpanX and minSpanY for all the launcher widgets Bug: 22353460 Change-Id: Id4450dee42a83e4603dcd56e1c4dec2b0e405858

Commit:9e0fcdb
Author:Sunny Goyal
Committer:Android Git Automerger

am 1d8f4ad5: Revert "Add "option javanano_use_deprecated_package = true;\n" to protos compiled with the nano proto compiler that are referenced in Java files." * commit '1d8f4ad59dbb17d80c6b910be8ad85904cb08d68': Revert "Add "option javanano_use_deprecated_package = true;\n" to protos compiled with the nano proto compiler that are referenced in Java files."

Commit:487c4aa
Author:Sunny Goyal
Committer:Android Git Automerger

am 469fea0b: Add "option javanano_use_deprecated_package = true;\n" to protos compiled with the nano proto compiler that are referenced in Java files. * commit '469fea0b390e893c1eb8115ff6c5f997916be4c1': Add "option javanano_use_deprecated_package = true;\n" to protos compiled with the nano proto compiler that are referenced in Java files.

Commit:1d8f4ad
Author:Sunny Goyal

Revert "Add "option javanano_use_deprecated_package = true;\n" to protos compiled with the nano proto compiler that are referenced in Java files." This reverts commit 469fea0b390e893c1eb8115ff6c5f997916be4c1. Change-Id: I2977f49a9836fd08038028c6cd8d3eed73185dde

Commit:469fea0
Author:Sunny Goyal

Add "option javanano_use_deprecated_package = true;\n" to protos compiled with the nano proto compiler that are referenced in Java files. Bug: 21273801 Change-Id: I6d9986f5f93980d8a3400e488609a28082fc2cdb

Commit:bb3b02f
Author:Sunny Goyal
Committer:Sunny Goyal

Replacing hotseat icon to an appropriate system app > During backupi, store the hotseat target app type, based on some predefined common system apps > During restore, save this app type in the restore flag, if it is a hotseat app > During first launcher load, if an app is not being restored, try to replace it with an appropriate replacement for that type, otherwise delete it. Bug: 18764649 Change-Id: Ic49e40bd707bd8d7de18bbab8b1e58a0a36426a2

Commit:7d17629
Author:Dave Hawkey

Add syntax option to backup.proto. This is required to properly compile the file in google3. Change-Id: Ib9ff3163974a5180797c0ecadb833dae93619b2c

Commit:33d4438
Author:Sunny Goyal
Committer:Sunny Goyal

Updating backup restore logic > Adding DeviceProfile information in the backup > Removing SharedPreference backup > Adding helper methods to abort backup in the middle > Comparing keys against the backup journal during restore to avoid restoring corrupt/lost entries > Old backups are still compatible, but lost keys verification will be ignored in that case. Bug: 17937935 Bug: 17951775 Bug: 17260941 Change-Id: Iad48646cfdd69abaff5c163b2055f3b8a9b39b19

Commit:fd13c71
Author:Chris Wren
Committer:Chris Wren

backup widget assets. Bug: 10778984 Change-Id: I842a88c517401fa4eb3798fd03e0fbc3634e3144

Commit:22e130d
Author:Chris Wren
Committer:Chris Wren

backup launcher icons Only allow a small number of icons to be backed up in any given pass. Also refactor common code out of favorite and screen backups. Bug: 10778984 Change-Id: I54bc769c1d1c1c9087ea4bc58f258bd15c167aea

Commit:1ada10d
Author:Chris Wren
Committer:Chris Wren

add a backup agent. backup only, restore path is just debugging/verification. todo: restore path todo: additional asset backup for widgets and launcher items Bug: 10778984 Change-Id: I01aed4794a02f03daf21bca28f99cfbea90e4967