Commit Graph

71 Commits

Author SHA1 Message Date
Sunny Goyal c919a4fa94 Kepping the rotation setting UI always enabled and accessible
Bug: 77654352
Change-Id: Iade9ef33bc70fdbdac9ab39d6fa77113fb21549a
2018-04-20 12:00:43 -07:00
Sunny Goyal 40253329c5 Bringing back auto-rotate settings
Bug: 77654352
Change-Id: I0910fc8afe2fb7e125d57912abc35bbbd5df9d74
2018-04-19 09:27:56 -07:00
Sunny Goyal 623eddd7e8 Updating Launcher rotation logic
When auto-rotate is on, launcher allways allows rotation. This allows uses to use
locked rotation feature is available on the device
When auto-rotate is off, workspace does not allow rotation, but overview in quickstep
will allow rotation

Bug: 73872056
Change-Id: Ie12365c268fd5e4958634ed97b5a33dcadc691e2
2018-03-03 00:41:09 -08:00
Sunny Goyal b1d222e9a7 Removing support for app prediction from Launcher3
Derivative projects can extend the FloatingHeader to add support
to custom content in all-apps screen.

Change-Id: I4e29221a72e5a077a756713a6774cda7ecde8f1b
2018-01-30 20:53:11 -08:00
Sunny Goyal 3cf2d5093f Fixing wrong xml refenrece when the packageName is changed
Change-Id: I276d22e82dbef65eaa0f6c3331d7990292a62bc9
2017-11-07 15:41:16 -08:00
Sunny Goyal 952e63d006 Fixing custom widgets support:
> Moving the definitions to xml so that it is easier to override in derivative projects
> Fixing verious bind and save logic for custom widgets
> Adding feature flag to easily disable custom widgets

Change-Id: I0e278bc7dd415713029364060ef10842da990be9
2017-09-13 14:04:35 -07:00
Sunny Goyal 848cad56ce Adding a warning button when notification access is not available
Bug: 63418030
Change-Id: I4c2c497d989902ac002314a3b8fb97083757958b
2017-07-10 11:10:35 -07:00
Hyunyoung Song 2c1814378c Reorder home settings
Bug: 62957388

Change-Id: I8fdc6448033d3c7f49396e506ef7f1fee45a7914
2017-06-26 12:17:25 -07:00
Jon Miranda b28c4fcf35 Landscape grid changes for Workspace/All Apps.
This is the just first CL to get eyes on the changes.
Next CL will update the All Apps to be full width.

Bug: 37015359
Change-Id: I2d7ec6851fdc13b8fa654e7e2be3152330243ccc
2017-06-23 11:47:48 -07:00
Tony 4eb823a4ce Fix typo in preferences
Bug: 62299923
Change-Id: I6e76a46f9e1fa7acf4b746840c33c914de364417
2017-06-12 12:44:43 -07:00
Tony Wickham 9863ea5dc7 Merge "Add setting to turn off icon badging" into ub-launcher3-dorval
am: d315d07aee

Change-Id: Id23914cbee040f3916257e02a9eb6b3f5a821b83
2017-05-16 23:38:22 +00:00
Tony Wickham 2ab8482809 Add setting to turn off icon badging
Redirects to system Notifications setting page.

Bug: 36815147
Change-Id: I5ee542f94ed51a73a57df3a726384944ff3ee71d
2017-05-16 14:08:42 -07:00
Sunny Goyal 05f30889d6 Adding support for DB downgrade
Adding a schema file for handling DB downgrade. This schema file is part of
the backup/restore set, and hence is available on a device with lower app version.

Bug: 37257575
Change-Id: I69c8ef5f28d5209be6e6679412c7459d4eeda5d0
2017-05-09 12:59:04 -07:00
Sunny Goyal ca18746163 Adding support for dynamically change icon shape for AdaptiveIcons
> This would allow developers to verify their icon designs on different
device configurations
> This settings is only visible when developer settings is enabled

Change-Id: I7e32abfede001c134f23390734dcd39c93b68b9a
2017-04-04 12:33:59 -07:00
Sunny Goyal 4179e9b88f Adding broadcast receiver to handle SESSION_COMMIT broadcast
> Disabling Install shortcut broadcast for O and above
> Adding a preference to control automatic icon addition on homescreen
> Adding icons on homescreen for new installs based on the above preference

Bug: 32920609
Bug: 27967412
Change-Id: I92e5cb7c841fb445dc8bc058d975f212ee54f8d1
2017-03-09 10:56:09 -08:00
Sunny Goyal a32bf9b181 Removing logic around replacing icon during restore
This logic was dependent on key-value based backup. Since we are
using full-backup, the appropriate flags are never set.

Bug: 18764649
Change-Id: I95a93eee63ac9c82acfb66abfdd1a5407974df46
2017-01-05 14:07:58 -08:00
Sunny Goyal 819e1936bb Defining the list of predefined device profiles in xml.
This allows the profiles to be easily customized by derivatives.

Change-Id: Iaec2b7a0eda34581c8e48b7dc44817013632dabe
2016-07-07 16:57:49 -07:00
Sunny Goyal c190dbfb78 Adding full backup handler for launcher3
Bug: 28302573

Change-Id: If0889a3b00b88b134b19d7f790159dfafdcdb004
2016-05-10 15:27:24 -07:00
Sunny Goyal 96a0963c4a Adding support for negative x and y in layout xml.
Fixing default configurations for some screen sizes.

> Negative values for x and y are parsed as distance from end
column and row respectively. e.g.  (-1, -2) => (3, 2) in a
4x4 grid

Bug: 26110981
Change-Id: I4ca30e225ed6e2a31610ab23235d2cd10e8d317c
2015-12-18 17:17:08 -08:00
Sunny Goyal fb0f109539 Updating the default layouts for launcher3
Change-Id: I088c7195ae1985788e845900463d22973a0f61d4
2015-08-04 16:03:10 -07:00
Sunny Goyal b6e358f2f2 Enabling translation for preference string
> Removing description string

Bug: 22065032
Change-Id: I8acb51b113066924f028b4dd891b508027e7cb6a
2015-06-25 17:35:14 -07: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 b94f6616f7 Removing some more unused resources
Change-Id: Ia09045d2aa88eb1ec17ac4f201aeaf77c6870678
2015-05-14 09:52:06 -07:00
Sunny Goyal bb3b02f562 Replacing hotseat icon to an appropriate system app
> During backupi, store the hotseat target app type, based on some predefined
common system apps
> During restore, save this app type in the restore flag, if it is a hotseat app
> During first launcher load, if an app is not being restored, try to replace it
with an appropriate replacement for that type, otherwise delete it.

Bug: 18764649
Change-Id: Ic49e40bd707bd8d7de18bbab8b1e58a0a36426a2
2015-01-22 10:54:50 -08:00
Adam Cohen cee8c66f9a Adding ability to list folder items in separate file
-> remove all apps default layouts

Bug 17569015

Change-Id: I39b899b61d5b1cff2d7801d281dacfc804c403c5
2014-10-17 01:33:55 +00:00
Winson Chung be87647e2a Adding support for dynamically resolved default layouts.
Change-Id: Id05c60b93423ce37dd06a126ecf33c74a0ba1d62
2014-05-16 12:33:38 -07:00
Jason Monk 41314973b4 Add support for uri favorites and resolve groups
Adds support for new types in default_workspace xml files.

Adds support to favorite that attempts to resolve an intent specified
by URI. If a logical choice can be found from the resolve, it adds the
shortcut.

Adds support for a resolve, which contains several favorites and attempts
to add the shortcuts until one is successful.

Bug: 10547358
Change-Id: Ia30341e77e7d4a0bd4a4f4e6a3d9ce2a48a46237
2014-03-07 13:35:34 -05:00
Nilesh Agrawal da41ea6698 Allow 5 hotseat icons in DISABLE_ALL_APPS mode.
Added the xml resource in Launcher3 package as well.
This is a dummy resource with just hotseat icons.
Previously reviewed on: http://ag/396580

Change-Id: I31b0d7d4796d028f44f746260c381f2d8226605a
2013-12-09 14:37:59 -08: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
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
Chiao Cheng f043f804ff Updating dialtacts to new package.
Bug: 6993891
Change-Id: Ibe0ba3b09b5aaa607e36e601e32572b6f0a94b89
2012-08-21 13:35:10 -07:00
Winson Chung 6d09268cde Updating default workspace and fixing issue where new hotseat browser icon is not shown. (Bug 5478946, Bug 5623287)
Change-Id: I7ebac3a4bde868de2b5beacc95fc94302dc0d6ee
2011-11-16 18:43:26 -08:00
Michael Jurka b964f9c5c2 remove references to google apps
Change-Id: Id373dc701afdd476e125936711bbb040e1451f9e
2011-09-28 15:52:34 -07:00
Michael Jurka 9721c568c2 Moving power control in default layout
Bug # 5383127

Change-Id: Ie5833c649276d6ec8c6adf1f46998d3d37a52033
2011-09-27 21:55:01 -07:00
Michael Jurka 3ab6dbdcd8 Removing news/weather widget from default layout
Change-Id: I99bbb90dd656749f2039061b0dc164395c59b52a
2011-09-26 17:40:59 -07:00
Winson Chung d6b51c096d Updating default workspace, fixing missing Browser icon. (5358657)
Change-Id: Ibdfbc5084afacfa951355e2e7582d5a86fd742a5
2011-09-22 15:43:06 -07:00
Winson Chung d71fc27fef Reordering default workspace folder.
Change-Id: I2fb836aa8bee6b7e43d94bd7c056be6524b145f6
2011-09-20 17:52:13 -07:00
Winson Chung ce39bfdb16 We were too clever! Restoring the default folder name.
Change-Id: I363328040be78e395abf1903212c93b8bbe54f08
2011-09-09 11:10:36 -07:00
Winson Chung 3c4bcd7504 Updating default layout. (5016381)
Change-Id: I719fb46cca721a61500dc042d4cb15df1488bff0
2011-08-29 15:16:39 -07:00
Winson Chung f30ad5f1bf Making hotseat a fiver.
Change-Id: I18737692a115f8fd77c6feb3062f4bfeca3506ae
2011-08-08 14:05:51 -07:00
Winson Chung ecd14a3db4 Fixing build.
Change-Id: I2474aff41220ddf3db1c1c6aac83951b6d63a9b3
2011-08-05 16:31:46 -07:00
Winson Chung e7a0394ad4 Fixing crash and updating default layout
- Fixing dragging/rotation crash due to runnables referencing old Launcher activity (5122814)
- Updating default layout to add portal and contents (4998213)

Change-Id: I87658e7119a2b86aea25ebc7ecc82ee0ebcffc1e
2011-08-05 15:07:02 -07:00
Adam Cohen 228da5a24e Some launcher bugs:
-> Allowing folders to be specified in xml (issue 5032559)
-> Mostly fixing issue where you can lose items when dragging
   out of a folder to a full screen (issue 5052078)

Change-Id: I3228dd568b2b8919c14594ee518f86173430481e
2011-07-27 23:27:22 -07:00
Winson Chung ec9a0a4ca5 Fixing small bug where folder could not be created in dock.
- Ensuring default workspace items aren't overlapping.

Change-Id: I53803bdd61e1e956b9582b1332cde37663cb8578
2011-07-20 20:44:48 -07:00
Winson Chung 3d503fbd94 Initial changes to add configurable hotseat.
Change-Id: I4c2ed4a1c122c057662fabc70bfef7c5c088460b
2011-07-20 14:12:20 -07:00
Winson Chung 05bc49968c Removing News/Weather widget from default layout.
Change-Id: Icc5d17c316478380f6f234100b108ee6cca160d4
2011-06-22 15:54:48 -07:00
Winson Chung 94aad81488 Removing search widget.
Change-Id: I5a83d5a8f7eda6ddf7cf8b15ea4523673b584c04
2011-06-10 09:56:05 -07:00
Adam Cohen 4c3733f143 Adding wallpaper picker preview
Change-Id: Ib3a10bb02b249f71265fe04b3829465a77fb4a9f
2011-01-18 20:37:35 -08:00
Kirill Grouchnikov 7e57ae0e4b Remove MyApps / Market widget from the default Launcher2
Finsky will provide the widget. MyApps is just a list of
apps that the user owns / installed. It's no longer used
to browse available apps and will not have a widget.

Bug: 3333614
Change-Id: Idd1d5feb53594d2e3fdc5680ec5b35806adfda6e
2011-01-10 12:01:56 -08:00
Daniel Sandler 4c4b20f7c3 It looks like you're trying to remove the Protips widget.
Would you like help with that?

Bug: 3248626
Change-Id: I9dbbc54ef7812d13b6234f53c181ad491c4df236
2010-12-13 12:38:51 -05:00