summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge "[Do NOT MERGE] Fixing AppWidgetInfo not initialized with proper user" ↵Sunny Goyal2015-07-161-1/+8
|\ | | | | | | into ub-launcher3-almonte
| * [Do NOT MERGE] Fixing AppWidgetInfo not initialized with proper userSunny Goyal2015-07-151-1/+8
| | | | | | | | | | Bug: 21673750 Change-Id: I1e03c3cb10a87e394e963cc2001c9c1c293eb2ca
* | Updating onRequestPermissionsResult signature to publicSunny Goyal2015-07-071-1/+1
|/ | | | | Change-Id: Ie08caa55a195e9062006d13e86238cca827ef249 (cherry picked from commit dd2e6dfc16b7c6ae65123e4df545d42124b76cb0)
* Removing unused loggingSunny Goyal2015-06-302-145/+6
| | | | | | | | > We store some local logs which are never propagated to the server and cause unnecessary file-io during app launch Change-Id: I2b41c3af182de2a87f38ad88f3bae9d250574c26 Bug: 19940630
* [DO NOT MERGE] Adding constants already available in burnabySunny Goyal2015-06-261-0/+3
| | | | Change-Id: I653fe653c4a7ee3644d17f45f3df34e3621aaee8
* Merge "Add LauncherCallbacks for requesting permissions on MNC" into ↵Dave Hawkey2015-06-263-0/+16
|\ | | | | | | ub-launcher3-almonte
| * Add LauncherCallbacks for requesting permissions on MNCDave Hawkey2015-06-263-0/+16
| | | | | | | | Change-Id: Ia8f704590e03e16db04c2f7acee1e79ce7334749
* | [DO NOT MERGE] Making some constants publicSunny Goyal2015-06-261-43/+43
|/ | | | Change-Id: I95665184b100ab83b2171718d82fcc1e31c2fae1
* Merge "Add extras required for compilation" into ub-launcher3-almonteWinson Chung2015-06-191-0/+16
|\
| * Add extras required for compilationAdam Cohen2015-06-191-0/+16
| | | | | | | | | | | | -> Patching back from a future branch Change-Id: I5127a82560e39bf391fe083d0eb8932cf2473562
* | Updating ComponentKey for compatibility with build.Winson Chung2015-06-181-1/+6
| | | | | | | | Change-Id: I293177c0eff8c162c2d21bfc2aebf83926c62690
* | Catch TransactionTooLargeException when loading widget provider listHyunyoung Song2015-06-091-17/+42
| | | | | | | | | | | | | | | | b/19904873 Change-Id: Ic0d13ee7513731706bc0f9fde8502acba0899cb3 Note: fix for almonte will be separate due to diff btw the branches.. (cherry picked from commit 3abd5488cca5b06c97251db453a5a6ed61e33ce8)
* | Merge "Guard against monkey actor test NPE inside FocusHelper b/19626762" ↵Hyunyoung Song2015-05-281-0/+6
|\ \ | |/ |/| | | into ub-launcher3-almonte
| * Guard against monkey actor test NPE inside FocusHelperHyunyoung Song2015-05-281-0/+6
| | | | | | | | | | | | b/19626762 Change-Id: Icaff5931f4076323855f23e7165b0e78a11241b6
* | [DO NOT MERGE] Use custom slide-up animation on LMP MR1 instead of system ↵Adam Cohen2015-05-222-1/+10
|/ | | | | | | | default issue 21402755 Change-Id: I87ddef08e7b3134c791f769fc279e62d520cd18c
* Preventing NullPointerException when cancelling a shortcut additionSunny Goyal2015-05-131-1/+3
| | | | | | Bug: 21024018 Change-Id: Iac09d9e4f1411aa9fe1ec89fbfe749b009c7d457 (cherry picked from commit f044bb1edd8670fbc2cf9eeb1a51c31b91f0889c)
* Remove duplicate calls to getSortedWidgetsAndShortcutsHyunyoung Song2015-04-202-16/+24
| | | | | | b/19904873 Change-Id: I2e56bc0c7524caa2ef3c5fb00f35cb032cd1860b
* Stop using custom activity transition, rely on system default in these casesAdam Cohen2015-04-021-3/+4
| | | | | | | | | -> workaround for platform issue related to this resource, but also a decent code cleanup issue 20006693 Change-Id: Iea3a2fb14be5ed78d882ddf9d970b12d177f4249
* 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
* 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
* Adding support for <include> tag in AutoInstall layoutSunny Goyal2015-01-232-22/+15
| | | | | Bug: 19121893 Change-Id: I760fa76d6e63c1aa0152e8cd710aba0d6ef4462a
* 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
* Merge "Adding accessibility controls" into ub-launcher3-almonteSunny Goyal2015-01-1713-340/+483
|\
| * Adding accessibility controlsSunny Goyal2015-01-1613-340/+483
| | | | | | | | | | | | | | | | | | | | | | > 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
* | Avoiding writing the Metadata in the backup if nothing was changed in the backupSunny Goyal2015-01-162-9/+25
|/ | | | Change-Id: I4608ab5511b01f0d0018596d68e4341635649f73
* 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
* 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
* Merge "Supporting custom widgets provided by launcher" into ub-now-masterAdam Cohen2014-12-0623-231/+514
|\
| * Supporting custom widgets provided by launcherAdam Cohen2014-12-0523-231/+514
| | | | | | | | | | | | | | -> 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