Commit Graph

167 Commits

Author SHA1 Message Date
Sunny Goyal 25aba0aea5 Removing boot receiver.
> Registering the receiver at runtime, only when it is required
> Using system property sys.boot_completed to check if boot completion
> This prevents unnecessary process startup during system bootup

Change-Id: I68f99ecf2e1ffd2ca7b6d15a99a282451bf67aec
2015-07-16 15:17:57 -07:00
Sunny Goyal 72db10a93c Moving LauncherExtension to a separate package
Change-Id: I6eef1cbb17295e59eae04f90fa44037be5f7da4b
2015-06-25 18:21:41 -07:00
Adam Cohen 1c5248873a Ensure that Launcher Activity has an exclusive task
-> enforce this at the activity level by giving it an empty affinity
-> the system should probably enforce this, so this is a work around for now

issue 21880868

Change-Id: Iaba4d87781c7fc82ee6c2838c013e01081cdbf9d
2015-06-23 18:08:43 -07:00
Sunny Goyal 7779d62308 Using content provider to update launcher settings
> Removing cross process preference file
> Removed broadcast listener management for settings changes
> Defining content provider method to get/set laucnehr preferences

Change-Id: Ida36eac0ab17c1d48fedc9404817a53a89b36c4f
2015-06-12 11:16:20 -07:00
Sunny Goyal 12e13e467e Removing LauncherApplication to enable us to easily catch LauncherAppState errors
Change-Id: I56e956067692e5b9c4719c5e08b8f558e6011a60
2015-06-04 21:20:08 -07:00
Rahul Chaturvedi 799aa04f2f Use a broadcast receiver instead of a settings observer.
Settings observer doesn't work if a setting is modified in another
process, hence we instead register a receiver which listens for a signal
from the settings process that the rotation preference has changed.

Change-Id: I570e3c67bb64a32347e84ca00a8ac31d9010eac3
2015-06-04 19:17:23 -04:00
Winson Chung 761e820ae2 Enabling resumeWhilePausing for the Launcher activity.
Bug: 21342101
2015-06-01 23:04:33 +00:00
Rahul Chaturvedi 7fc77cad3d Add the Allow Rotation setting to Launcher3.
This CL adds a Settings activity along with the code needed to provide
a "Allow Rotation" setting to all phones and tablets. This setting is
set to false for phones and true for tablets. On changing the setting
from unlocked to locked, the launcher (and the Settings activity)
will get locked to the orientation the user was in when he disabled
"Allow Rotation". This is consistent with how the natural rotation
feature of Android works.

Change-Id: I8a1c59d1fa0bb9262530cad96e0a9bdbab0d9344
2015-06-01 16:50:50 -04:00
Sunny Goyal 1bf0388602 Removing UserInitializeReceiver from manifest as it does not exist
Change-Id: I5f14d93abadfab0bc2822bc0c68648c72b5a082c
2015-04-09 11:18:28 -07:00
Sunny Goyal e9909f58c2 Removing UninstallShortcutReceiver
> Removing support due to its flacky design. Removing a shortcut
causes a full reload. Also we do not have any concept of owner, so
any app can remove any shortcut.

Bug: 11372484
Change-Id: I781c922fac7dc77ea82cd0a2af74a5fca22500de
2015-04-01 10:11:11 -07:00
Sunny Goyal 5319b2bb3b Merge "Removing all dependencies of launcher code on wallpaper-picker" into ub-launcher3-burnaby 2015-03-21 01:19:35 +00:00
Sunny Goyal 6a1e95a3df Removing all dependencies of launcher code on wallpaper-picker
> WallpaperPicker can still depend on launcher code, but not the
other way round.

Change-Id: I93a07f985c3955c638a68a5fad9c09b184a879b9
2015-03-20 18:16:58 -07:00
Sunny Goyal 5b0e669169 Rewrite: Widget preview loader logic
> Widget previews are saved in data dir instead of cache dir
> Expiring widget previews similar to IconCache
> Removed support for setting thread priorities

Bug: 19865031
Change-Id: Ib6033c2b1ff8ae61bba8762ca994ccd8217d3c75
2015-03-20 17:31:11 -07:00
Adam Cohen c2d6e897db First pass of the Launcher Overlay interface / impl
-> Added simple reference launcher extension
-> Make launcher able to handle a null qsb

Change-Id: Ib1575243cac800a335e95bbf00cdc394bb4741c3
2014-10-22 17:40:39 -07:00
Kenny Guy d794a3f465 Update calls now we have an L API version.
Bug: 17543647
Change-Id: I92c652a4ced5a5e783b24e42f9da4d9dfe1118ba
2014-09-18 13:07:49 +01:00
Sunny Goyal 9b8da88eba Fixing install shortcut receiver in launcher3
Change-Id: If22da17630be71fb22277b7a911aae57322b2ecc
2014-09-05 04:42:18 -07:00
Sunny Goyal 0fc1be164e Updating the ui for widget restore flow
> Pending widget show a PreloadIconDrawable to indicate
installation progress
> Only the concerned widgets are reinflated on package
install and not the whole workspace.
> Adding support for storing default package icon in
IconCache

issue: 10779035
issue: 16737660

Change-Id: Id787ae4a5ef72d6e01aeb5a1bae5ab8840037679
2014-08-12 16:00:03 -07:00
Sunny Goyal 0fe505bf82 Autoinstalls loading xml
> Launcher checkes for an apk in the system image with a broadcast
receiver for action:
com.android.launcher3.action.LAUNCHER_CUSTOMIZATION
> Default layout is parsed from that apk, which can also contain
icons and string resources used in the layout config

Change-Id: I44fc9e7c3134f525f7b5db29f4e8bb56e17ce445
2014-08-12 14:13:18 -07:00
Adam Cohen a388a14634 Make com.android.launcher3.action.FIRST_LOAD_COMPLETE protectable on both sides
Change-Id: I7ed482e3f6a85c9d58bfcc999b90e0ecda8db217
(cherry picked from commit b531b6d4965576d36547152f7858ec2ac389f6eb)
2014-08-08 04:30:13 +00:00
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
Sander Alewijnse e8a30577f7 Merge "Revert "Add uses feature managed profiles to Launcher3 manifest."" into ub-now-master 2014-07-17 00:10:10 +00:00
Sunny Goyal f599ccfe96 Showing icons for apps on sdcard which are not available during system boot.
issue 15852084

Change-Id: I1e6f59a413581ae3af4219ab32cb5af3d726d382
2014-07-16 18:59:50 +00:00
Sander Alewijnse 97c492ce4d Revert "Add uses feature managed profiles to Launcher3 manifest."
This reverts commit 4224758a54.

Change-Id: I65ddcc2cac41120e0feb0020c4709cdc5a862f10
2014-07-16 16:39:10 +00:00
Sander Alewijnse 4224758a54 Add uses feature managed profiles to Launcher3 manifest.
Change-Id: If2143424f0d89cc1ed4e504d37106ea52e067e1f
2014-07-15 10:24:29 +01:00
Selim Cinek ffed65886e Changed behaviour of the wallpaper picker.
When opening the picker, the currently chosen wallpaper is
shown in the background.
In this change also the nullpointer was fixed when deleting
the currently selected wallpaper and setting it, because we
revert to the old wallpaper in that case.
When going into the same live wallpaper than the currently
selected we are going back to home if the user sets it or
goes back now, in order for the user not to loose state.
The real fix for this will be done later when the following
bug will be fixed: b/13241760

Bug: 12063773
Bug: 13219612
Change-Id: I7c6abb25755eca99c3255278e0884d1ff4749b55
2014-03-03 18:09:06 +01:00
Winson Chung c66109caf6 Updating Read/Write settings permission protectionLevels. (Bug 11372484) 2014-02-26 11:50:46 -08:00
Dan Sandler d502404a44 New launcher2 icon migration algorithm.
The user will be able to request "icon migration", which is
not a direct mapping of the old workspace, but rather
follows this heuristic for bringing the user's favorite
icons (by dint of their existence on the workspace) into
Launcher3:

Workspace shortcuts are placed in lexicographic order on the workspace
starting at screen 0 (leaving the bottom row of screen 0 empty to make
sure there's room to move things around). Folders are preserved and
their contents sorted. Duplicate icons (that is, shortcuts
with the same intent, pursuant to some cleanups) are removed.

Hotseat icons are migrated in their original place, unless their new
location is not accommodated by the hotseat (i.e. the L3 hotseat is
too small on this device), in which case they're treated like any
other shortcut and tossed into the workspace.

To test, turn on Launcher.ENABLE_DEBUG_INTENTS and then:

$ adb shell am broadcast -a com.android.launcher3.action.DELETE_DATABASE
$ adb shell am broadcast -a com.android.launcher3.action.MIGRATE_DATABASE

Bug: 12416411
Change-Id: Ia5c56f36c11455867ea20a39f70210f595020a87
2014-01-10 15:49:51 -05:00
Michael Jurka 7ad868b86e Create separate project for Wallpaper Picker
Change-Id: Id9e855780b9fb68c63eb6e9f6c19bcbce28a6fd5
2013-12-13 12:50:32 +01:00
Michael Jurka a6a0547fa6 Update suggested wallpaper dimensions in onResume
If another launcher runs in between, it might
change the suggested dimensions. This fixes that
case.

Bug: 11667475
2013-12-03 15:33:12 -08:00
Winson Chung 94d6768c65 Restoring INSTALL_SHORTCUT receiver (Bug. 10343529)
Change-Id: Icd6a97c1d7877241aa9c71bd80dfdbe6e44ca7ee
2013-09-25 17:59:45 -07:00
John Spurlock 2c38e70acd Fix launcher3 standalone build.
Change-Id: Ibfe14c5960211916222fc49389b8776be6bf768b
2013-09-18 10:51:31 -04: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 f56914b2e5 Support new crop wallpaper intent 2013-09-09 16:23:55 +02:00
Michael Jurka 2d8de5845b Create a separate wallpaper crop activity
Change-Id: Ifb0a7dcb5a6e9ddd4f4bbccc793d9b4db1256cf2
2013-09-05 20:37:56 +02:00
Daniel Sandler 8b0405888f Remove obsolete widget adder shortcut.
Bug: 10441366
Change-Id: Ie9d70010ecdee3332595be6296fef604e3d676a8
2013-08-23 00:53:59 -04:00
Daniel Sandler 826420b194 Remove memory-debug-related launcher icons & functionality.
Bug: 10441366
Change-Id: I3ddb95839bcd5c07db7e76ce1a28323b499ea30d
2013-08-23 00:53:59 -04:00
Michael Jurka c8f83f46b6 Oops, fix build breakage caused by missing files.
Also, remove preview images for wallpaper pickers.
2013-08-21 13:50:43 +02:00
Daniel Sandler 6241609bd6 Remove built-in wallpaper picker.
Note that we don't yet have a solution for the user's
initial wallpaper. Bother!

Bug: 9626042
Change-Id: I07ab09a3d10434e444dc27051034d387e692e469
2013-08-21 13:36:18 +02:00
Michael Jurka 104c456776 Initial implementation of new wallpaper picker.
Change-Id: Ib4c5ac4989b4959fa62465d9cde3cac662e24949
2013-08-21 13:18:29 +02:00
Daniel Sandler ff02d49e46 Initial implementation: Broadcasts on app launch.
Look for com.android.launcher3.action.LAUNCH to be sent when
an icon is clicked in Launcher. (Restricted to
com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS
which is a signature permission right now.

This is specifically tracking apps launched via shortcut
icon; any other method of launching apps (notifications,
recents, internal navigation, etc.) is outside of Launcher's
purview and hence not broadcast.

The broadcast currently includes, in the "intent" extra, the
Uri flattening of the specific shortcut clicked.

The file /data/data/<pkg>/files/launches.log contains a
binary log of all such launches, including additional info
like screen# that should probably be in the broadcast too.

This info is summarized in .../stats.log, which encodes a
simple histogram of app launches since basically forever.
This should probably be done over a sliding window, which
will require more processing on startup.

Bug: 10031590
Change-Id: Ifc5921d5dc20701c67678cbfdc89b03cacd62028
2013-08-06 00:18:38 -04: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 8540bb8d72 Include all processes in hprof dumps.
The emailed file is now a zipfile containing one .ahprof
file for each process known to MemoryTracker.

Change-Id: If4a73df9afd38756cc01ff37b2d249346e5f7e9f
2013-06-26 14:30:19 -04:00
Daniel Sandler b9eb2865af Memory tracking is now handled by a service.
Multiple processes may be tracked and viewed simultaneously.

Also, some changes to the graph:
  * show uss and pss together
  * adjust opacity controls

Change-Id: I20eebaa8cc8faf78b46af2a35d71ee538207f02b
2013-06-21 01:16:27 -04: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 e25af79564 HACK: temporary upgrade path from com.android.launcher2
-> load old provider
-> permute pages
-> strip all duplicates from workspace
-> add [allapps minus workspaceapps] to apps folder

Change-Id: Id319d532c6bf1d78370ecc736e95a9475d831de8
2013-06-06 23:09:26 -07: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
Michael Jurka 05713af127 Cache widget previews in a DB
- Smoother All Apps scroll performance

Change-Id: Id2d31a45e71c63d05a46f580667ad94403730616
2013-02-04 20:32:49 +01:00
Michael Jurka 9df38dff2d Updating wallpaper picker icon to higher res
Bug: 7400295
Change-Id: I2c7625ee1ce09ded57d884c229f155ebcf39be07
2012-11-13 15:55:50 -08:00
Scott Main 4cd7f28105 remove old fashioned dream, no longer supported
Change-Id: I87370e8dc7f3159182dac9f650223ce010d6286b
2012-10-18 12:10:03 -07:00
Dianne Hackborn db5dd02ad9 Fix issue #7255954: API Review: rename Dream to DreamService
Change-Id: I4a8fcea6856ea021b22d6e1f317c43d081c7b923
2012-09-28 17:58:10 -07:00
Fabrice Di Meglio e19bbca93e Merge "7225161 Launcher needs to add android:supportsRtl="true" in his AndroidManifest" into jb-mr1-dev 2012-09-25 13:47:37 -07:00
Fabrice Di Meglio 369dd0c3e6 7225161 Launcher needs to add android:supportsRtl="true" in his AndroidManifest
- add basic RTL support in the AndroidManifest so that Widgets will be able
to support RTL too
- force LTR layout direction to AppsCustomizeTabHost so that we dont have to
deal with layout mirroring yet

(do not need to force also LTR layout direction to Wallpaper activity and fragment
as another CL is removing the ActionBar on them)

Change-Id: I66623a3fcec0d7adef62b0ab8c8b2170e09f1b1b
2012-09-25 12:55:37 -07:00
Michael Jurka aee3a0ef78 Remove action bar from wallpaper picker
Bug: 5295678

Change-Id: I50bb4bee3d9d54f28ef4a46ed9754701045d38c7
2012-09-25 11:36:39 -07:00
Dianne Hackborn 804503c75a Add user initialing receiver to select a unique wallpaper.
Change-Id: I14652d8108c2e19db821ab5526b6e630db8fe998
2012-09-16 00:00:27 -07:00
Nick Kralevich 33650301a2 Set permission [UN]INSTALL_SHORTCUT protectionLevel to 'dangerous'
Bug: 5543177
Change-Id: I8b4f1899bc898ae95f9bca004e6fa959ee078903
2012-08-07 10:21:13 -07:00
Nick Kralevich ebe6559794 Explicitly export content providers
In a future version of Android, the default value for
<provider android:exported> will change from true to false.
Explicitly set android:exported="true"

Bug: 3306452
Change-Id: I8fcce3af6949eb245ea97b6e64c191f465f0ae5f
2012-07-28 16:11:07 -07:00
Michael Jurka 14c5a2cdb0 Removing unnecessary config parameter for hw accel
Change-Id: Ibbbca9fb93319400332ba27f9cae62b1c0cc4313
2012-06-28 13:45:33 -07:00
Jeff Brown fa31ac2102 Merge "Revert "Lock launcher to portrait on devices less than sw720dp"" into jb-dev 2012-06-05 19:11:27 -07:00
Jeff Brown a60166386d Revert "Lock launcher to portrait on devices less than sw720dp"
This reverts commit 51726adc25
Bug: 6580571
2012-06-04 14:15:42 -07:00
Michael Jurka a4fe21285b Merge "Skip custom Play cling if no accounts are set up" into jb-dev 2012-05-22 23:39:29 -07:00
Michael Jurka 51726adc25 Lock launcher to portrait on devices less than sw720dp
Bug: 6523269
Change-Id: Ic75040257442a7c8486030702961634b54694f44
2012-05-22 22:13:29 -07:00
Michael Jurka 974c3864bb Skip custom Play cling if no accounts are set up
Bug: 6519934
Change-Id: Ic796b2fb03201a3c767f92b36edfdb4b2e41e5d4
2012-05-22 22:00:31 -07:00
Brian Muramatsu b6a4d983b8 Populate the default workspace earlier
Adds a receiver that populates the default
workspace. It can be called by the system when
it's ready for launcher to preload.

Change-Id: If885fcfd931c459f87e9bb0df4c8bca00906f3c1
2012-05-15 16:31:59 -07:00
Martijn Coenen b34811d8be Prevent "Beaming" from home screen.
Recently Android Beam was also enabled by default for
all system applications. For some system apps this
makes sense, but for an app such as launcher it doesn't.

This meta-data entry prevents the default Beam behavior
for Launcher.

Bug: 6257668
Change-Id: I1d2188969da1c87734190c19c0528ce4d3ce6825
2012-04-19 09:38:20 -07:00
Michael Jurka 4e01d33852 Run wallpaper chooser in a separate process
Fixes cases where the wallpaper previews were not loading due to OOM errors.
Bug #5453040

Change-Id: I96ea5e215e63f0848ca518c982a6d695d0dff75f
2011-10-13 06:07:30 -07:00
Romain Guy 2934433e4b Remove unneeded permissions
Change-Id: I328402278d53aa39459d5c6b21890c9c720a726e
2011-10-05 12:48:33 -07:00
Adam Cohen 446e940fc8 Locking orientation on phones (issue 4967793)
Change-Id: I6b5fe63547f43c408feea75f35dc0a08d06c258c
2011-09-15 20:08:40 -07:00
Adam Cohen 56901eb57c Turning off largeHeap on Crespo
Change-Id: I28dcd1db577688fe24c786f1519f442c690bff1d
2011-07-25 15:08:27 -07:00
Adam Cohen 81e2b9bb74 Fixing bug with renaming
-> in some workspace configs, bringing up the IME wasn't
   properly sliding up launcher to expose the text field

Change-Id: Id98ae732fd8709cff08f156660ae1656feb5bf75
2011-06-27 18:59:37 -07:00
Amith Yamasani 6be594922f A fullscreen wallpaper chooser for all screen sizes.
The wallpaper preview covers the whole screen,
with background protection for the gallery items and button.

Change-Id: Ice31c4fea6503d1a59b59d6fbffb5e4a28eb2143
2011-06-22 11:29:38 -07:00
Adam Cohen 76fc085d28 New folder visualization, renaming, staggering reorder
Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
2011-06-21 18:00:21 -07:00
Michael Jurka f2ff7d9f3e Allow overlays to disable hw acceleration 2011-06-14 14:38:49 -07:00
Michael Jurka 7446fee6cb remove unused/redundant params to turn on HW accel 2011-06-01 15:50:22 -07:00
Daniel Sandler 4e1cd23a51 Rocket Launcher!
This is an Android Dream, which is kind of like an
interactive screensaver implemented as an Activity.

The Rocket Launcher uses the Launcher's own icon cache to
show the user's installed apps in hyperspace. Tap the screen
to slow down to impulse power.  Then, tap an icon to launch.

(depends on I4559a95 for android.dreams in support lib)

Change-Id: Ie6ce34ec1c863667faeada4f39b225f3946e8633
2011-05-26 16:02:09 -04:00
Michael Jurka e72300ee59 Turning on hardware acceleration by default for all devices
(if a device isn't HW accelerated, this flag should have no effect)
2011-05-23 13:31:51 -07:00
Dianne Hackborn a070d98e8f More memory!
Change-Id: If30047e60c4cfe3a278f83189013b4afa7fe6088
2011-01-19 16:37:18 -08:00
Adam Cohen 4c3733f143 Adding wallpaper picker preview
Change-Id: Ib3a10bb02b249f71265fe04b3829465a77fb4a9f
2011-01-18 20:37:35 -08:00
Adam Lesinski 2a898a0ac5 Update Wallpaper picker and fix bug
-Fixed b/3271838
-On a phone, Fragment would not remember its
previous state and crash on rotation
Change-Id: Ida923fba0c7f4622b090e2838fd932328ad68c63
2010-12-13 14:51:15 -08:00
Michael Jurka c46b91a832 Don't ever move Launcher when another app is above it 2010-11-24 15:01:40 -08:00
Adam Lesinski cd5d807f53 Updating the Static Wallpaper picker for Tablet
- Updated WallpaperChooser to use FragmentDialogs
- Backwards compatible with old WallpaperChooser
  UI on non XLarge screens
- There is a known bug with AlertDialogs (b/3225529)
  that prevents an AlertDialog to expand to fit its
  content. The squishing of the GridView is caused
  by that bug.

Change-Id: I49381aab4aa24362e8c92da284797fce0e63823c
2010-11-24 13:37:03 -08:00
Michael Jurka 163c9c0236 cleaning up hardware acceleration XML value a bit
(switch from integer -> bool)
2010-09-28 15:24:13 -07:00
Michael Jurka 821856b67e adding hardware acceleration flag to config.xml
(later, this will let us turn on HW acceleration
via a device-specific overlay)

Change-Id: I33c957911db7ac730770b71d6644568fbfa86adf
2010-09-27 18:30:11 -07:00
Adam Cohen da4dc5edd8 -> Set grid to 8x7 with proper spacing for landscape/portrait
-> Added a button to the top left of Launcher which switches
   between landscape and portrait. For testing purposes only.

Change-Id: I01f8cfcf92c8ba7727eeba0e59a0b8ff055598fe
2010-08-11 10:46:55 -07:00
Winson Chung aafa03cbb9 Allow for NxM layout and in-place rotation of items on homescreen.
Currently, rotation is disabled as designs are still in flux, but the NxM grid is enabled (8x4).

Change-Id: I0026f88c674719e3d67de6d6d481d2d4cd606362
2010-06-30 16:24:40 -07:00
Dianne Hackborn 12687cf144 Allow shared user id and process to be set via overlays.
This fiddles the manifest to allow the app's shared user id and
process to be changed at build time via resource overlays, so we
can build launcher to run in the acore process for low-end devices.

Also switches the cert of launcher back to shared, to allow for
this.  (Note this only really matters if the shared user id is set,
otherwise launcher will still get its own uid.)

Change-Id: I0bd0a06e1442c4bfe5ceb2d438cb58f29d911578
2010-03-09 17:18:11 -08:00
Romain Guy cf8790483d Rename Launcher2's package to com.android.launcher.
This should fix data migration issues.
2010-03-04 12:01:40 -08:00
Bjorn Bringert 34c4db037b Remove android.app.default_searchable=* from Launcher2
This value was deprecated in
I0252952b44ae85dab31221b598ed79cc24e2b580

Change-Id: If5639f2b51dd694f39e89f38e034e3d8efdba585
2010-02-23 13:47:41 +00:00
Jeff Hamilton 95db7376b1 Add an original-package tag that matches the real package name.
Change-Id: I3c69e7592359f7fd4664fe2bcc98faa60014e43e
2010-02-11 16:25:50 -06:00
Joe Onorato 2ca0ae7d7c Fix bug 2250432 - all apps should dismiss when you power off or phone locks
Also cherry-picks this from launcher 1

Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off

Close things out in various ways.  This should be done for Launcher2 as well.

Change-Id: Id4f1c78e35180b437144c54ddcbf10069cc09071

Conflicts:

	AndroidManifest.xml
	src/com/android/launcher2/Launcher.java
2009-11-10 19:56:01 -08:00
Romain Guy e11f9f480a Disable orientation change based on sensor in the wallpaper picker.
Change-Id: I9d34c514fc1eebef7fd655ce4d7eeba66a4b2412
2009-11-08 15:31:40 -08:00
Joe Onorato 24a40dc28e Put launcher2 back into its own process. bug 2241963 2009-11-05 16:42:25 -05:00
Romain Guy a45f664227 Remove live wallpaper picker from Launcher2.
Change-Id: I2c48f3624128276c3460939960168163d3c74c08
2009-10-16 15:46:55 -07:00
Joe Onorato 66bc7e1b2d Fix 2167033 - Add bookmark to the home screen in the Browser is not working on Passions
Re-add the permissions, now that we only have one launcher at a time.
2009-10-07 10:58:23 -07:00
Daniel Sandler 9a60d5484f Pull over new icons from Launcher to Launcher2.
NB: Removed obsolete ic_launcher_gallery.png; wallpaper
should now use ic_launcher_wallpaper.png.

Change-Id: I3d74a6ae7d948b48cc902e28a361a1993f4273d2
2009-10-06 12:57:42 -04:00
Joe Onorato 7b7a2cdb33 Launcher2 is now home. 2009-09-23 08:35:07 -07:00
Dianne Hackborn 02e638e6bf Implement previews in the wallpaper picker.
Note that the UI is ugly ugly ugly, but previews are actually working.
2009-08-20 19:33:42 -07:00
Romain Guy 41669fc9c6 Add live wallpapers picker to Launcher2. This is temporary.
This change requires changing the signature and shared user id of Launcher2, we
will have to revert this once we move the wallpapers picker back to Settings.
2009-08-13 12:53:24 -07:00
Romain Guy ccb9d2ad93 Remove live wallpaper 2009-08-12 10:57:28 -07:00