summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adding Launcher3 callbacks for trimming memory.Robert Kozikowski2015-03-303-0/+8
| | | | | | | | | | | | | | | | It will help reduce memory footprint of Launcher, when in background. It is required to help deallocate images, when Google Now Launcher goes into the background. See cl/83222937/ . Plan after this CL: - Generate drop CL with launcher3_drop.sh. Add empty metods to make code compile. - Sync the cl/83222937 and hide the code behind the feature flag. It was previously submitted in ag/628070 and reverted in ag/630423 due to GSA release schedule. Change-Id: I56eee618b86d518d0afc362b6cf44c3bbec1f19c
* Avoid casting AppWidgetProviderInfo to LauncherAppWidgetProviderInfo upon ↵Adam Cohen2015-03-271-1/+3
| | | | | | | | unparcel issue 19904413 Change-Id: Ie1b4a2b1331f6a707f8590cd0396138a20946658
* Ensure that we capture all paths for starting activity for resultAdam Cohen2015-03-271-1/+18
| | | | | | | | | | | -> AppWidgetManagerCompatVL uses an IntentSender to launch the widget config activity (to handle the case of cross profile config activities) -> Launcher was not overriding this method, and so not capturing the fact that we are waiting for a result. issue 19723510 Change-Id: If5751e6d23d31c9f7b3b85f9464a93f935487cec
* Don't clobber widgets with the same component - DO NOT MERGERobin Lee2015-03-195-25/+87
| | | | | | | | | By not storing them in a HashMap keyed against ComponentName (which is almost guaranteed to conflict with other widgets when managed profiles are in play). Bug: 19444068 Change-Id: I6ffce78e8aaf265196239670404cbdaff9fa09be
* [DO NOT MERGE] Fixing build error in launcher_protoutil_libSunny Goyal2015-03-161-2/+3
| | | | | | | | | > Since test build rules were included before the launcher_protoutil_lib rule, all the following paths got prefixed with "tests/" giving file not found error Change-Id: I13f96fc2f14336b0ff40f086176cc4afbc254791 (cherry picked from commit d68725cd20be0c1d5ebd583da5fde0f007a69bf8)
* Fix widget refresh issue on package install/uninstallHyunyoung Song2015-03-113-12/+12
| | | | | | | | Culprit CL: https://googleplex-android-review.git.corp.google.com/#/c/592303/3/src/com/android/launcher3/LauncherModel.java b/19658229 Change-Id: I02b0b2a0ed9bc3200bbe1edcb251cf0efe939e53
* Clearing DB if necessary, when applying the default layoutSunny Goyal2015-03-041-0/+4
| | | | | Bug: 19574498 Change-Id: I34850d9a7f7316bcc2cb9fc8a5be57d2488c16a6
* Fixing wronk rowID check.Sunny Goyal2015-03-021-1/+1
| | | | | | | | Since screenId is changed to primary key, the rowId can now be 0 (earlier it was auto-increment and never 0) Bug: 19566734 Change-Id: Icf0e4294a581039101df1ad1756fdb6e581c4cba
* DO NOT MERGE: Setting workspace id as primary keySunny Goyal2015-02-251-3/+58
| | | | | Bug: 19475231 Change-Id: I0385e97868db73dafe148ce45af7dda4555ee593
* Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.Sunny Goyal2015-02-231-2/+6
| | | | | | Bug: 17298128 Change-Id: If64b6957a594bcc48f6454689d11cd63d31b9239 (cherry picked from commit 3c1865ad5050f594d1684fe8962bfbc8ffcbe4bb)
* Merge "Fixing crash when dragging and dropping a restored widget." into ↵Sunny Goyal2015-02-172-5/+4
|\ | | | | | | ub-launcher3-almonte
| * Fixing crash when dragging and dropping a restored widget.Sunny Goyal2015-02-172-5/+4
| | | | | | | | | | | | | | > When the widget is in pending state, AppWidgetProviderInfo is not available Bug: 19364311 Change-Id: If3126a375853e6e710c6eba4b8824e18f3f0d391
* | Ensure that layers are properly removed after animationAdam Cohen2015-02-132-36/+59
| | | | | | | | | | | | Bug 19243980 Change-Id: Ic1d54f92051f7d937878898cae210ec18ecbaff8
* | Fixing rank migration code to handle null values correctly.Sunny Goyal2015-02-101-1/+2
|/ | | | | Bug: 19297508 Change-Id: I652ef30ab37f5b09204f0388de8e065d64b7724d
* Launcher crashes on widget bind permission promptSunny Goyal2015-02-061-3/+3
| | | | | Change-Id: If09feb357e1604e5ee1a66305b022674f466833e (cherry picked from commit e6b63a3d7335fed5b7bbcc6d2c6230ae28facd3e)
* Merge "Revert "Adding Launcher3 callbacks for trimming memory."" into ↵Adam Cohen2015-02-063-8/+0
|\ | | | | | | ub-launcher3-almonte
| * Revert "Adding Launcher3 callbacks for trimming memory."Adam Cohen2015-02-063-8/+0
| | | | | | | | | | | | This reverts commit 42f3b9e0283c30c40c286f9958ce0f8b02f85c52. Change-Id: I65a7c893576c0901b231bab9abe6937f99415f1e
* | Merge "Adding Launcher3 callbacks for trimming memory." into ↵Robert Kozikowski2015-02-043-0/+8
|\| | | | | | | ub-launcher3-almonte
| * Adding Launcher3 callbacks for trimming memory.Robert Kozikowski2015-02-043-0/+8
| | | | | | | | | | | | | | | | It will help reduce memory footprint of Launcher, when in background. It is required to help deallocate images, when Google Now Launcher goes into the background. See cl/83222937/ . Change-Id: I6d3d4d1f0457c67abcad3ba4516c87abcf666b05
* | Adding null-check before parsing an intentSunny Goyal2015-02-041-1/+3
|/ | | | | Bug: 18962665 Change-Id: Iae02435f019fa205f3ee3ae721a29f26b3b56dd2
* Fix ClassCastException due to typoAdam Cohen2015-01-301-1/+1
| | | | | | issue 19159790 Change-Id: I5f9fa0e3672c10a460606dcb13b158bd4e614813
* Modify strict mode thread policy for LauncherProvider.Nilesh Agrawal2015-01-261-1/+1
| | | | | | | Allowing thread writes too as SQLiteOpenHelper.getWritableDatabase needs it. Bug: 19094644 Change-Id: I39fe97a9e7fc07c38a4f8e5c5979196b742e36bf
* Import translations. DO NOT MERGEGeoff Mendal2015-01-261-1/+1
| | | | | Change-Id: I0424587be34af78b7720a9a29d09b7e0ba129790 Auto-generated-cl: translation import
* Adding support for <include> tag in AutoInstall layoutSunny Goyal2015-01-232-22/+15
| | | | | Bug: 19121893 Change-Id: I760fa76d6e63c1aa0152e8cd710aba0d6ef4462a
* Add project / classpath to gitignoreAdam Cohen2015-01-221-0/+2
| | | | Change-Id: I157d480ebaa6d3873d03fd547fe4a8e4a4e9e015
* Add strict mode exception in LauncherProvider.Nilesh Agrawal2015-01-211-0/+3
| | | | | | | | | | | Content providers are created during process startup (before Application.onCreate), and we should not be doing expensive stuff in Provider.onCreate Adding an exception for now as it looks like LauncherProvider initialization is needed before we can show meaningful UI. Bug: 19094644 Change-Id: I860c2934c110d3a43f1a3afa00729077dc64796c
* Import translations. DO NOT MERGEGeoff Mendal2015-01-2172-144/+72
| | | | | Change-Id: I56a37f9442adf586d40bfbb2b41b22ccf2052f51 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2015-01-1972-79/+151
| | | | | Change-Id: I5435a134c4c9ebd14acf9cca343e71b06fd72758 Auto-generated-cl: translation import
* Merge "Adding accessibility controls" into ub-launcher3-almonteSunny Goyal2015-01-1718-359/+494
|\
| * Adding accessibility controlsSunny Goyal2015-01-1618-359/+494
| | | | | | | | | | | | | | | | | | | | | | > Adding 'Remove' option to workspace items > Adding 'Add to workspace' to all apps and widget list items, which adds the item to the first available space, giving preference to the current workspace screen > Adding 'App info' and 'Uninstall' options to appropriate items Bug: 18482913 Change-Id: Ifab7423af2d9ba502b5a2771b37bb5436b3df937
* | Merge "Avoiding writing the Metadata in the backup if nothing was changed in ↵Sunny Goyal2015-01-172-9/+25
|\ \ | | | | | | | | | the backup" into ub-launcher3-almonte
| * | Avoiding writing the Metadata in the backup if nothing was changed in the backupSunny Goyal2015-01-162-9/+25
| |/ | | | | | | Change-Id: I4608ab5511b01f0d0018596d68e4341635649f73
* / Import translations. DO NOT MERGEGeoff Mendal2015-01-1624-13/+627
|/ | | | | Change-Id: I49acadd887529f73104e7f612be9a54f7689dd97 Auto-generated-cl: translation import
* Adding a rank column for itemInfoSunny Goyal2015-01-138-66/+100
| | | | | | | | > Rank is used to determine position of an item in a folder. Bug: 18590192 Change-Id: I2826a7c570b4cc58e719d685f17a24ec6133804f
* Removing dead code from Launcher providerSunny Goyal2015-01-051-530/+12
| | | | | | | | | | | > Removing DB upgrade logic for versions before 12. Launcher3 was forked off Launcher2 when DB version was already 12, so, there can never be a lower version of the DB. > Removing logic for auto import of launcher2 DB. This flow had been permanently disabled by a flag, and we show a confirmation prompt/cling before migration Change-Id: I2ac2f21fefc41ee247164566a088927263b09459
* Add syntax option to backup.proto.Dave Hawkey2014-12-191-1/+3
| | | | | | This is required to properly compile the file in google3. Change-Id: Ib9ff3163974a5180797c0ecadb833dae93619b2c
* Updating version codes from L to LOLLIPOPBrian Parfett2014-12-122-2/+2
| | | | | | | This is required so Launcher3 can compile within IntelliJ. Change-Id: I99a98a6d2326a8f8b0f0320430de9b555ea430c6 Bugs: b/18720914
* Import translations. DO NOT MERGEGeoff Mendal2014-12-103-7/+7
| | | | | Change-Id: Id66a36209915e770779ef3c41cf18135c5180ac3 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2014-12-083-7/+7
| | | | | Change-Id: I3eb761fffcf27ceb4d79749da589dbaa9e7b9444 Auto-generated-cl: translation import
* Merge "Supporting custom widgets provided by launcher" into ub-now-masterAdam Cohen2014-12-0626-231/+555
|\
| * Supporting custom widgets provided by launcherAdam Cohen2014-12-0526-231/+555
| | | | | | | | | | | | | | -> This change provides integration for widgets provided by the launcher package which can run arbitrary code. Change-Id: I6052da5c4afed7ee72e3b44d045b9c46f2d84c42
* | am 02509457: Avoid db exception on L and aboveAdam Cohen2014-12-041-4/+2
|\ \ | | | | | | | | | | | | * commit '0250945759f7ac58aab912448d62dc108b1770c5': Avoid db exception on L and above
| * | Avoid db exception on L and aboveAdam Cohen2014-12-041-4/+2
| | | | | | | | | | | | | | | | | | Bug 18554839 Change-Id: I43f391b7cc376f697ce7b5b363e8be3aa85814b5
* | | am 2975e341: (-s ours) am d2285942: (-s ours) Merge "Ignoring specific db ↵Adam Cohen2014-12-040-0/+0
|\| | | | | | | | | | | | | | | | | | | | exception DO NOT MERGE" into ub-now-porkchop * commit '2975e34145b38e44dc8a7def2617e3fe0d15321d': Ignoring specific db exception DO NOT MERGE
| * | am d2285942: (-s ours) Merge "Ignoring specific db exception DO NOT MERGE" ↵Adam Cohen2014-12-040-0/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | into ub-now-porkchop * commit 'd2285942dde8f2633f1d79abc01e598da7925090': Ignoring specific db exception DO NOT MERGE
| | * \ Merge "Ignoring specific db exception DO NOT MERGE" into ub-now-porkchopAdam Cohen2014-12-041-8/+19
| | |\ \
| | | * | Ignoring specific db exception DO NOT MERGEWinson Chung2014-12-041-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 18554839. Change-Id: I80f2dd62297eea671f2d129ae22263e72e506ae4 (cherry picked from commit 5f05913f71da68a6c406f905ec6979586e3ba27a)
* | | | | am e6673dc1: am 268b8907: Ensure that FirstFrameAnimatorHelper doesn\'t set ↵Adam Cohen2014-12-040-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | play time when animation is complete * commit 'e6673dc1fa94945925f4097f88dc2f5264c4316d': Ensure that FirstFrameAnimatorHelper doesn't set play time when animation is complete
| * | | | am 268b8907: Ensure that FirstFrameAnimatorHelper doesn\'t set play time ↵Adam Cohen2014-12-040-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when animation is complete * commit '268b8907d1f2fcf9775880c69899b3c6fbe85ea3': Ensure that FirstFrameAnimatorHelper doesn't set play time when animation is complete
| | * | | Ensure that FirstFrameAnimatorHelper doesn't set play time when animation is ↵Adam Cohen2014-12-041-3/+5
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | complete Bug: 18567716 Change-Id: I656e869b8553d650916c2abe6dc83282c8b6fd65 (cherry picked from commit 5c18b80ed9aaa57b27b56667e3699fd76bcce8ed)