Sunny Goyal
7fb55d25e3
[Do NOT MERGE] Fixing AppWidgetInfo not initialized with proper user
...
Bug: 21673750
Change-Id: I1e03c3cb10a87e394e963cc2001c9c1c293eb2ca
2015-07-15 17:37:24 -07:00
Sunny Goyal
469fea0b39
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
2015-07-01 10:35:16 -07:00
Sunny Goyal
922eed5762
Removing unused logging
...
> 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
2015-06-30 18:29:32 -07:00
Sunny Goyal
5aa2fe13b5
[DO NOT MERGE] Build fix.
...
Change-Id: I625b92d6e4e19aa903e1e1e483c4330e2b631ce3
2015-06-26 15:52:54 -07:00
Sunny Goyal
c767689be7
Merge "[DO NOT MERGE] Removing junit.framework.Assert from wallpaper picker code" into ub-launcher3-almonte
2015-06-26 22:43:01 +00:00
Sunny Goyal
42ea0db889
[DO NOT MERGE] Adding constants already available in burnaby
...
Change-Id: I653fe653c4a7ee3644d17f45f3df34e3621aaee8
2015-06-26 15:35:27 -07:00
Sunny Goyal
1a4b1eacd6
[DO NOT MERGE] Removing junit.framework.Assert from wallpaper picker code
...
Bug: 22124692
Change-Id: Ifd41727a2ce4af660818b4f0cd6b95110ffdeec4
2015-06-26 15:34:39 -07:00
Dave Hawkey
79f25bedd2
Merge "Add LauncherCallbacks for requesting permissions on MNC" into ub-launcher3-almonte
2015-06-26 16:48:32 +00:00
Dave Hawkey
3a43ed61cb
Add LauncherCallbacks for requesting permissions on MNC
...
Change-Id: Ia8f704590e03e16db04c2f7acee1e79ce7334749
2015-06-26 10:27:47 -06:00
Sunny Goyal
bb87053ef9
[DO NOT MERGE] Making some constants public
...
Change-Id: I95665184b100ab83b2171718d82fcc1e31c2fae1
2015-06-26 09:07:39 -07:00
Winson Chung
21a4ccc627
Merge "Add extras required for compilation" into ub-launcher3-almonte
2015-06-19 23:00:34 +00:00
Adam Cohen
54c50bc08f
Add extras required for compilation
...
-> Patching back from a future branch
Change-Id: I5127a82560e39bf391fe083d0eb8932cf2473562
2015-06-19 12:12:50 -07:00
Winson Chung
78564d4e2d
Updating ComponentKey for compatibility with build.
...
Change-Id: I293177c0eff8c162c2d21bfc2aebf83926c62690
2015-06-18 21:05:55 +00:00
Hyunyoung Song
0c979d1f2f
Catch TransactionTooLargeException when loading widget provider list
...
b/19904873
Change-Id: Ic0d13ee7513731706bc0f9fde8502acba0899cb3
Note: fix for almonte will be separate due to diff btw the branches..
(cherry picked from commit 3abd5488cc )
2015-06-09 19:06:29 +00:00
Hyunyoung Song
a14cb230da
Merge "Guard against monkey actor test NPE inside FocusHelper b/19626762" into ub-launcher3-almonte
2015-05-28 21:49:43 +00:00
Hyunyoung Song
89aeda1b78
Guard against monkey actor test NPE inside FocusHelper
...
b/19626762
Change-Id: Icaff5931f4076323855f23e7165b0e78a11241b6
2015-05-28 14:45:59 -07:00
Adam Cohen
c3d4553d46
[DO NOT MERGE] Use custom slide-up animation on LMP MR1 instead of system default
...
issue 21402755
Change-Id: I87ddef08e7b3134c791f769fc279e62d520cd18c
2015-05-22 16:19:42 -07:00
Sunny Goyal
a6095969bb
Preventing NullPointerException when cancelling a shortcut addition
...
Bug: 21024018
Change-Id: Iac09d9e4f1411aa9fe1ec89fbfe749b009c7d457
(cherry picked from commit f044bb1edd )
2015-05-13 01:07:17 +00:00
Hyunyoung Song
3af56b6052
Remove duplicate calls to getSortedWidgetsAndShortcuts
...
b/19904873
Change-Id: I2e56bc0c7524caa2ef3c5fb00f35cb032cd1860b
2015-04-20 21:22:46 -07:00
Adam Cohen
68fdeaadc6
Stop using custom activity transition, rely on system default in these cases
...
-> workaround for platform issue related to this resource, but also
a decent code cleanup
issue 20006693
Change-Id: Iea3a2fb14be5ed78d882ddf9d970b12d177f4249
2015-04-02 11:53:48 -07:00
Robert Kozikowski
67c3086163
Adding Launcher3 callbacks for trimming memory.
...
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
2015-03-30 23:57:46 +01:00
Adam Cohen
b823ae4fca
Avoid casting AppWidgetProviderInfo to LauncherAppWidgetProviderInfo upon unparcel
...
issue 19904413
Change-Id: Ie1b4a2b1331f6a707f8590cd0396138a20946658
2015-03-27 18:09:01 -07:00
Adam Cohen
173f711e03
Ensure that we capture all paths for starting activity for result
...
-> 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
2015-03-27 22:19:38 +00:00
Robin Lee
2dd9f018ff
Don't clobber widgets with the same component - DO NOT MERGE
...
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
2015-03-19 21:16:34 +00:00
Sunny Goyal
ef30a2a831
[DO NOT MERGE] Fixing build error in launcher_protoutil_lib
...
> 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 d68725cd20 )
2015-03-16 17:57:33 +00:00
Hyunyoung Song
fe1dcbf0c5
Fix widget refresh issue on package install/uninstall
...
Culprit CL: https://googleplex-android-review.git.corp.google.com/#/c/592303/3/src/com/android/launcher3/LauncherModel.java
b/19658229
Change-Id: I02b0b2a0ed9bc3200bbe1edcb251cf0efe939e53
2015-03-11 17:40:23 -07:00
Sunny Goyal
c6c8fef3e9
Clearing DB if necessary, when applying the default layout
...
Bug: 19574498
Change-Id: I34850d9a7f7316bcc2cb9fc8a5be57d2488c16a6
2015-03-04 15:20:24 -08:00
Sunny Goyal
e72f3d53f8
Fixing wronk rowID check.
...
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
2015-03-02 14:26:31 -08:00
Sunny Goyal
633325c4c2
DO NOT MERGE: Setting workspace id as primary key
...
Bug: 19475231
Change-Id: I0385e97868db73dafe148ce45af7dda4555ee593
2015-02-25 16:56:54 -08:00
Sunny Goyal
7470c817e4
Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.
...
Bug: 17298128
Change-Id: If64b6957a594bcc48f6454689d11cd63d31b9239
(cherry picked from commit 3c1865ad50 )
2015-02-23 17:55:46 +00:00
Sunny Goyal
fce720f39a
Merge "Fixing crash when dragging and dropping a restored widget." into ub-launcher3-almonte
2015-02-17 20:34:56 +00:00
Sunny Goyal
2434d40ef2
Fixing crash when dragging and dropping a restored widget.
...
> When the widget is in pending state, AppWidgetProviderInfo is not available
Bug: 19364311
Change-Id: If3126a375853e6e710c6eba4b8824e18f3f0d391
2015-02-17 12:00:30 -08:00
Adam Cohen
80e6beb48c
Ensure that layers are properly removed after animation
...
Bug 19243980
Change-Id: Ic1d54f92051f7d937878898cae210ec18ecbaff8
2015-02-13 16:39:10 -08:00
Sunny Goyal
c87775d8e6
Fixing rank migration code to handle null values correctly.
...
Bug: 19297508
Change-Id: I652ef30ab37f5b09204f0388de8e065d64b7724d
2015-02-10 19:53:41 -08:00
Sunny Goyal
8f9a787945
Launcher crashes on widget bind permission prompt
...
Change-Id: If09feb357e1604e5ee1a66305b022674f466833e
(cherry picked from commit e6b63a3d73 )
2015-02-06 23:38:45 +00:00
Adam Cohen
bd4a78937f
Merge "Revert "Adding Launcher3 callbacks for trimming memory."" into ub-launcher3-almonte
2015-02-06 23:29:32 +00:00
Adam Cohen
e2d4ee1b21
Revert "Adding Launcher3 callbacks for trimming memory."
...
This reverts commit 42f3b9e028 .
Change-Id: I65a7c893576c0901b231bab9abe6937f99415f1e
2015-02-06 23:28:49 +00:00
Robert Kozikowski
acbe9f6546
Merge "Adding Launcher3 callbacks for trimming memory." into ub-launcher3-almonte
2015-02-04 18:38:31 +00:00
Sunny Goyal
4802b4107a
Adding null-check before parsing an intent
...
Bug: 18962665
Change-Id: Iae02435f019fa205f3ee3ae721a29f26b3b56dd2
2015-02-04 10:05:47 -08:00
Robert Kozikowski
42f3b9e028
Adding Launcher3 callbacks for trimming memory.
...
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
2015-02-04 15:06:54 +00:00
Adam Cohen
b76c165aad
Fix ClassCastException due to typo
...
issue 19159790
Change-Id: I5f9fa0e3672c10a460606dcb13b158bd4e614813
2015-01-30 10:29:26 -08:00
Nilesh Agrawal
a258f812fa
Modify strict mode thread policy for LauncherProvider.
...
Allowing thread writes too as SQLiteOpenHelper.getWritableDatabase needs it.
Bug: 19094644
Change-Id: I39fe97a9e7fc07c38a4f8e5c5979196b742e36bf
2015-01-26 14:07:29 -08:00
Geoff Mendal
b3e5e4f541
Import translations. DO NOT MERGE
...
Change-Id: I0424587be34af78b7720a9a29d09b7e0ba129790
Auto-generated-cl: translation import
2015-01-26 06:25:08 -08:00
Sunny Goyal
b564efb024
Adding support for <include> tag in AutoInstall layout
...
Bug: 19121893
Change-Id: I760fa76d6e63c1aa0152e8cd710aba0d6ef4462a
2015-01-23 13:53:38 -08:00
Adam Cohen
71701f8145
Add project / classpath to gitignore
...
Change-Id: I157d480ebaa6d3873d03fd547fe4a8e4a4e9e015
2015-01-22 19:44:47 -08:00
Nilesh Agrawal
fde11852cf
Add strict mode exception in LauncherProvider.
...
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
2015-01-21 11:50:57 -08:00
Geoff Mendal
f32cd5fbbb
Import translations. DO NOT MERGE
...
Change-Id: I56a37f9442adf586d40bfbb2b41b22ccf2052f51
Auto-generated-cl: translation import
2015-01-21 08:02:36 -08:00
Geoff Mendal
60197ff979
Import translations. DO NOT MERGE
...
Change-Id: I5435a134c4c9ebd14acf9cca343e71b06fd72758
Auto-generated-cl: translation import
2015-01-19 10:34:06 -08:00
Sunny Goyal
54cdef77db
Merge "Adding accessibility controls" into ub-launcher3-almonte
2015-01-17 01:58:01 +00:00
Sunny Goyal
2d26480275
Merge "Avoiding writing the Metadata in the backup if nothing was changed in the backup" into ub-launcher3-almonte
2015-01-17 01:56:51 +00:00