Commit Graph

160 Commits

Author SHA1 Message Date
Adam Cohen
3ed316a71d Adding broadcast to indicate first launcher load
-> fixing small thing from previous CL

issue 16191557

Change-Id: I015859f6028066e7c8664436f291ed226a539e29
2014-07-23 20:40:09 -07:00
Sunny Goyal
651077bdd6 Adding app widget restore support in Launcher3 for android L
When the app is restored, it displays placeholders for all pending widgets.
These placeholders can be moved and removed similar to a widget (size is fixed
to what defined in backup). Once the system notifies the launcher of the new
widget ids, the place holders are replaced with actual widgets.

issue: 10779035

Change-Id: I68cbe4da01e9ca2978cb4471a7c645d2aa592055
2014-07-21 10:34:21 -07:00
Sunny Goyal
ebf50c93b0 Merge "Merging Motorola's patch to disable apps when is safe mode." into ub-now-master 2014-07-18 18:24:25 +00:00
Sunny Goyal
c5c60ad359 Merging Motorola's patch to disable apps when is safe mode.
issue: 16044192

Change-Id: I10069dcdf459ecc71361271e883eabb743d77822
2014-07-18 16:10:34 -07:00
Adam Cohen
df3ac430b1 Specify permission.RECEIVE_LAUNCH_BROADCASTS in String resource
Change-Id: I2aca0108e3b41dc1db80d552dd6242a5a8d0245d
2014-07-16 14:48:43 -07:00
Chris Wren
803a4bec0f Drop support for remove all dead promises.
Bug: 12764789
Change-Id: Id876b66cf8da4388cb3ed5670a0bbdcf73f2982d
2014-07-01 17:13:04 -04:00
Chris Wren
8d8d62249e Update text on dead shortcut removal dialog.
Bug: 12764789
Change-Id: I9eda1abba2edc3857ce63da2c7c14e13b9a2505e
2014-07-01 09:47:50 -04:00
Chris Wren
40c5ed3039 Offer to delete broken promise icons.
Track state of promise in the info, not the view.
Fix bugs around moving promises to folders.
Fix bugs around filterign and removing promises.

Bug: 12764789
Change-Id: If5e8b6d315e463154b5bafe8aef7ef4f9889bb95
2014-06-27 15:17:56 -04:00
Adam Cohen
76ac344cb6 Merge "Allow the old launcher content URI to be overrided" into ub-now-mister-ugly 2014-04-17 00:53:52 +00:00
Chris Wren
c6e7d9e917 update strings for welcome back
Bug: 13531041
Change-Id: Iabcb40df50850bd91b9ec972b407e4267960e4b9
2014-04-01 16:14:00 -04:00
Jason Monk
0bfccebc9b Allow the old launcher content URI to be overrided
Move the URI used to import favorites from launcher2 to be loaded
from a string resource.  This allows it to be overridden.

This will enable permissions fix for GoogleSearch.

Bug: 12058200
Change-Id: I31243fe89f545c9771d5cceffe1c9e7668a42bc5
2014-03-21 15:42:06 -04:00
Chris Wren
aeff7ea434 update promise icon status
also fix a crash in LauncherModel.DEBUG_LOADERS

Bug: 10778992
Change-Id: Iafc28c1e0c2f2a1283783a7ce27e181634b62993
2014-03-11 13:41:05 -04:00
Adam Cohen
71e03b9979 Fix issue where clings didn't appear after set up wizard (issue 13077829)
-> Also removed the db-created as a criteria for showing the clings
   (this was a bit problematic in some cases and going forward)
-> Instead, we use database upgrade as a signal to not show the clings.
   This is used instead of the above criteria (to prevent old users from
   seeing the migration cling and losing their data.)
-> Stripped some old code related to custom clings that's no longer used.

Change-Id: Ib5e5285e5ddbc60e69eb998ee9fd092ae879150d
2014-02-21 14:37:53 -08:00
Adrian Roos
a0d5a040b8 Replace "hotseat" with "Favorites tray" in user visible strings.
Bug: 12078955
Change-Id: I824948d8820276caab18d6df095754a4cfb67640
2014-01-14 17:48:26 -08:00
Winson Chung
c83d136ce4 Increasing string length for translation (Bug 12524122)
Change-Id: I24e053790812779ec07de99c6f763965584a1bb7
2014-01-13 14:53:24 -08:00
Winson Chung
5317c2b7ad Updating assets and text for migration cling. (Bug 11973614)
Change-Id: I69ffc1581cc43511b4f42ebb2735afe4c0b44131
2014-01-10 16:59:09 -08:00
Winson Chung
a694524047 Adding migration Clings. (Bug 11973614)
- Refactoring Launcher cling code out to LauncherClings.

Change-Id: Iff4f84f5b8bfeb69b1be0b4802022c3eb20b6f2c
2014-01-10 22:28:16 +00:00
Michael Jurka
96749c1321 Revert "Revert "Move wallpaper picker code to a separate directory""
This reverts commit 39de459a86.
2013-12-11 15:41:28 +01:00
Michael Jurka
39de459a86 Revert "Move wallpaper picker code to a separate directory"
This reverts commit 8e88cb8478.
2013-12-10 23:47:28 +01:00
Michael Jurka
8e88cb8478 Move wallpaper picker code to a separate directory
Change-Id: Id79d11ed08085c4fe356739498a8b77952e30392
2013-12-10 18:28:50 +01:00
Winson Chung
49ac59cbb3 Merge "Removing unused cling, tweaking translation character limits (Bug 11151675)" into jb-ub-now-jetsonic 2013-10-31 18:32:52 +00:00
Michael Jurka
619a180be5 Make wallpaper picker/cropper more robust
- don't crash if image passed to wallpaper picker
is invalid
- close input streams correctly

Bug: 11413915
Bug: 11380658
Bug: 11362731

Change-Id: I973e6bdc532d24a64efd6d174e89fdac626d7ee3
2013-10-29 22:50:30 +01:00
Winson Chung
0091e3766e Removing unused cling, tweaking translation character limits (Bug 11151675)
Change-Id: I601d92ecca5a479d7778824e3b120634bdae6a45
2013-10-22 14:40:17 -07:00
Alan Viverette
c5da25f75a Update description for wallpaper accessibility announcement string
BUG: 11168576
Change-Id: I0911a0413eba9215411e378477e059c1fa15d986
2013-10-10 17:29:30 -07:00
Winson Chung
f7e11e9080 Fixing RTL issues with Clings. (Bug 11008488)
Change-Id: I78f891eabab53d6ded18f7c843504219d71e2883
2013-10-10 17:18:53 -07:00
Alan Viverette
89a233fb0a Announce wallpaper selection for accessibility
BUG: 11012903
Change-Id: Ie926b131f3781a413f551943cc6ac19c42ca6c67
2013-10-08 16:01:53 -07:00
Michael Jurka
6b783a06d2 Add content description for wallpaper thumbs
Bug: 11012903
2013-10-07 15:39:42 -07:00
Winson Chung
16de08e83e Tweaking clings again to support smaller folders (Bug 10965184)
Change-Id: I324d770fafd7db5d66a870f7825caeb6440ac467
2013-10-01 11:36:16 -07:00
Winson Chung
fa54513308 Tweaking folder cling to support large folders.
Change-Id: I3c500463fba8db71807ad4fc27c6923f3e1d0770
2013-09-26 18:29:08 -07:00
Adam Cohen
410f3cdfb4 Getting the Overview Mode to look up to spec
-> New assets, text, fonts
-> New spacing of pages (translated upwards)
-> Updated outline color to white (the ones we're drawing)

Change-Id: Ie664ac0598ae18b86ae6d54d1d6b497c13d2ee95
2013-09-22 17:41:40 -07:00
Winson Chung
af40f205d7 Initial changes to restore clings.
Change-Id: Ie23e6e9f39679e8d35955a4a7db804d03f8b4d3f
2013-09-20 17:22:05 -07:00
Michael Jurka
42a7174255 Update styling of tile to pick image as wallpaper
Bug: 10743257
2013-09-18 00:45:45 +02:00
Michael Jurka
adc574ccb1 Update to using new crop intent
Also, unify WallpaperCropActivity so it's
identical to the system default version (mainly
removing Launcher dependencies)

Change-Id: I1ebc390bce23de62d76daced6f8cb44d57e4ac0c
2013-09-13 18:16:54 +02:00
Michael Jurka
d6dc6043ad Adding ability to delete previously saved wallpapers
- Also preserving temporarily picked wallpapers on
rotation

Change-Id: I35361e2a5619cd986bd8b66268ce9e94b9a0027e
2013-09-12 20:49:17 +02:00
Michael Jurka
5f92956617 Re-add string that's used as title of wallpaper picker 2013-09-10 14:24:49 +02:00
Michael Jurka
2d8de5845b Create a separate wallpaper crop activity
Change-Id: Ifb0a7dcb5a6e9ddd4f4bbccc793d9b4db1256cf2
2013-09-05 20:37:56 +02:00
Adam Cohen
30bacb2158 Added settings button to overview mode
Change-Id: Idcbfa49fe2710dec460155f34bd371321af6cf17
2013-08-29 14:37:46 -07:00
Michael Jurka
104c456776 Initial implementation of new wallpaper picker.
Change-Id: Ib4c5ac4989b4959fa62465d9cde3cac662e24949
2013-08-21 13:18:29 +02:00
Adam Cohen
f358a4bbd6 Adding overview mode for reordering, widget adding and wallpaper switching
Change-Id: I082ba0b90ca4b3fbba32e8dfdec8ba79486d841c
2013-08-13 18:53:36 -07:00
Adam Cohen
39a0604255 Adding switch to toggle Memory Overlay
-> The overlay causes performance regressions so it's hard to evaluate
   performance with it on.
-> Also, the WeightWatcher is still running regardless, so you can
   always check it
-> Saved as a shared pref

Change-Id: Iad5ccbeca2c2b4e0ec86294879f3eb09caa594e9
2013-07-19 14:32:09 -07:00
Daniel Sandler
a127b7ad15 New icon to dump heap information and share it.
Alternatively,
  $ adb shell am start -n <pkg>/com.android.launcher3.MemoryDumpActivity

Change-Id: I8c615ec3abffaf6ad693c93bdf569550d8f97298
2013-06-17 15:29:22 -04:00
Adam Cohen
b5fe60c8a5 Add a dummy activity which we can catch on-click in launcher to open allapps/widgets
Change-Id: Idc718a9e03e7358f972c59fcfc3bf2eaf75e56ee
2013-06-06 22:04:27 -07:00
Daniel Sandler
325dc23624 Launcher2 is now Launcher3.
Changes include
  - moving from com.android.launcher{,2} to
    com.android.launcher3
  - removing wallpapers
  - new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
2013-06-05 23:30:20 -04:00
Fabrice Di Meglio
2d8387154e Fix for bug #8456352 [BiDi][fa] Widget dimensions are RTL in Farsi
- make the string translatable

After this patch, there will need to have the string translated for all
supported languages.

For Farsi (the only exception), the string should be defined as:

<string name="widget_dims_format">%2$d \u00d7 %1$d</string>

Change-Id: I7acd305b677a8dbc0d12a751a6faad54424c641d
2013-04-08 13:37:20 -07:00
Fabrice Di Meglio
cc11f74258 Add first RTL support to Launcher
See bug #8064062 Launcher needs to be RTL aware

Change-Id: I24b1f1977fb65246afd2005440567b5850939621
2013-01-23 18:23:06 -08:00
Baligh Uddin
41aeb57975 Bring dummy cling strings back as 'strings'
The translations import recognizes 'string', 'string-array' and
'plurals' as valid items to parse, all others are ignored.  This is the
reason, why these strings have not been imported back into the codebase.
Making the string declaration same as when it was removed in cl/236665

Change-Id: I6d53ba9d6267706834cb66e9ca99a1335aa01d14
Bug: 7203884
2012-10-18 10:39:11 -07:00
Michael Jurka
22beb9043e Add entries for string resources that appear in clings 2012-10-11 11:04:43 +02:00
Michael Jurka
a113121fd3 Stop using mcc for custom workspace cling on sw600dp devices
Bug: 7203884
2012-10-09 14:46:26 +02:00
Michael Jurka
45355c4596 Re-merge "Add support for custom manta cling"
Also, fix issue where mako was crashing because
Launcher was trying to load a custom cling for it.
It was doing this because a custom home layout was
specified by SetupWizard, but for now we only want
custom clings on large devices

Bug: 7302705
Bug: 6992663

This reverts commit 2ebcf509f0.

Change-Id: I46533309d5c62edfbd3a3b178c6965ffc73b6476
2012-10-08 15:53:53 +02:00
Michael Jurka
2ebcf509f0 Revert "Add support for custom manta cling"
This reverts commit 68255cbabe.
2012-10-08 02:38:56 +02:00