Commit Graph

8475 Commits

Author SHA1 Message Date
Sunny Goyal
d3ad9828d1 Merge "Adding support to restore widgets even for jelly beans." into ub-now-porkchop 2014-08-10 19:43:29 +00:00
Adam Cohen
77c1376c67 Merge "Updating the widget tray" into ub-now-porkchop 2014-08-09 00:40:15 +00:00
Adam Cohen
b172c13dcc Updating the widget tray
-> adding dark panel / associated visual updates
-> cleaning up the sizing / padding / to match all apps
-> fixing a couple things from previous CL

Change-Id: I4f663af7022337d687124ef25a22bac03d9d6af9
2014-08-10 19:10:21 -07:00
Adam Cohen
9bfdb76aaf Polishing the AllApps transition
-> separating HW layers during animation to be siblings
   instead of parent-child (was destroying parent layer
   on each frame)
-> Unifying material transition with pre-L, everything
   is the same, just missing the reveal.

Change-Id: I8f7d5e658c2d9298bea83ce8199cb35e6fc0d44e
2014-08-10 18:29:36 -07:00
Adam Cohen
1c4547bd5f Merge "Polishing the AllApps transition" into ub-now-porkchop 2014-08-09 00:45:27 +00:00
Mark Brophy
fd449c8831 Make GEL not crashloop.
Being able to actually use the phone is a good feature.

Change-Id: I345258374dda81a852544d8ed0045e57195f88d3
2014-08-09 19:32:52 +01:00
Sunny Goyal
ff57227711 Adding support to restore widgets even for jelly beans.
> Show 'widget-not-ready' until the widget app is installed
> Once the app is installed, bind a new widget id (not required on L if
  id-remap was received).
  **Remove the widget if bind failed
> If the widget has no configuration screen, show the widget, otherwise
  show 'setup-widget'.
> Clicking 'setup-widget' shows the config screen, and updates the
  widget on RESULT_OK.

issue: 10779035

Change-Id: I2f8b06d09dd6acbc498cdd93edc59c26e5ce17af
2014-08-08 14:29:02 -07:00
Dharmesh Mokani
6075170b83 Changes corresponding to framework changes.
Following method has been removed.
UserManager.getBadgedDrawableForUser(Drawable, UserHandle)

This will only work on builds after lrw38

Change-Id: I777a630dd123a9cf8d92cd096e150e90035b3531
2014-08-08 10:24:18 -07:00
Adam Cohen
36f82a32a6 Merge "Fix screen issues with externally added items" into ub-now-porkchop 2014-08-07 17:50:16 +00:00
Adam Cohen
7ec3bbff8b Fix screen issues with externally added items
-> Ensure that when an item is added to the db from an external
   source that the screen id exists.
-> If the screen id does not exist, add that id as the largest rank

Change-Id: I98d68900c428d80666dab1909418c6d9b0f52e10
(cherry picked from commit 484526620012f88bcd9d5656a71d4218a9acd090)
2014-08-08 04:31:47 +00:00
Adam Cohen
fe9da818cd Fix for issue 16736964
Change-Id: If150db98346fe10f62fc1160309b66d7a19e9022
2014-08-08 03:55:01 +00:00
Adam Cohen
a66233aeb1 Merge "Add partner customization option to force first run flow" into ub-now-porkchop 2014-08-07 15:00:45 +00:00
Adam Cohen
f24c61295d Add partner customization option to force first run flow
Change-Id: Id50587cbb95e375b3847597f12bd8566c70dd7bc
(cherry picked from commit 923e1de9f0d7672dd18947ecde2b0da8c5768b7a)
2014-08-08 04:31:24 +00: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
Kenny Guy
f07af7b77d Launch app details for correct profile.
Support showing app details for apps in other
profiles.

Bug: 16371359

Change-Id: I1cabcd9f74f2a6ea6c4202a7d58af3ff3b458fd2
2014-08-04 14:38:09 +01:00
Sunny Goyal
e755d469d4 Implementing a package install progress listener for L
issue: 15835307

Change-Id: I71aaea087963f2e0e1206447190cbe23c174057d
2014-08-01 14:45:39 -07:00
Adam Cohen
c5b6ac7215 am 2d7e7eda: Fix resource issue in folders of partner layouts
* commit '2d7e7eda680d481af2eb9ff85182eb89b5395d4c':
  Fix resource issue in folders of partner layouts
2014-07-31 05:43:45 +00:00
Sameer Padala
513edaebce Modify code so it compiles on google3
The diamond operator isn't supported on google3 Android projects.

Change-Id: Ie7298b051330bb2cd32426d4c537882faa2f8ebd
2014-07-29 16:17:08 -07:00
Adam Cohen
2d7e7eda68 Fix resource issue in folders of partner layouts
-> Resources in folders were not being loaded with the partner
   apk resources. This caused any number of weird things to appear
   in folders of partner default layouts

Change-Id: I7d373e53028c5c327980c15d004993af997de553
(cherry picked from commit 43f3ca0f8c)
2014-07-25 20:47:03 +00:00
Sunny Goyal
04c969ef9f Merge "Fixing spell correcton" into ub-now-master 2014-07-24 15:37:54 +00:00
Sunny Goyal
05e318d8f7 Fixing spell correcton
Change-Id: I29d980d8073680fafa8fcc01bc2ec81258919da2
2014-07-29 11:49:35 -07:00
Adam Cohen
4da294de83 Remove 300 ms start delay from app launch transition
-> tiny cleanup from isLmp crunch

issue 16309411

Change-Id: Ib2edff84b53ca471e7d2a2a458091db1fa2f6b42
2014-07-28 15:07:18 -07:00
Adam Cohen
43f3ca0f8c Fix resource issue in folders of partner layouts
-> Resources in folders were not being loaded with the partner
   apk resources. This caused any number of weird things to appear
   in folders of partner default layouts

Change-Id: I7d373e53028c5c327980c15d004993af997de553
2014-07-25 13:38:45 -07:00
Jason Monk
950a467b18 Don't show uninstall icon when user restricted
When the user can't uninstall apps from settings, also don't show
the icon to let them do it from here.

Change-Id: I3b203711630a4ff0ba4a5928667c9f09f9479aeb
2014-07-25 08:54:27 -04:00
Baligh Uddin
9f0386fbcc Merge "Import translations. DO NOT MERGE" into ub-now-master 2014-07-24 15:36:09 +00:00
Sunny Goyal
8df5bf8be3 Merge "Fixing restored icons sometimes dissapers." into ub-now-master 2014-07-24 15:36:09 +00:00
Adam Cohen
4e7fa8b508 Merge "Fix SecurityException when exiting wallpaper picker early" into ub-now-master 2014-07-24 15:36:09 +00:00
Adam Cohen
8dc6e1bfa2 Fix SecurityException when exiting wallpaper picker early
issue 16155967

Change-Id: Iba1add737089b73e6e5bbfb143dce4204fa9dc7c
2014-07-24 10:48:20 -07:00
Sunny Goyal
c2fc9870ed Merge "Merging motorola's patch to prevent crashes on view id mess up" into ub-now-master 2014-07-24 15:36:09 +00:00
Sunny Goyal
33a152fa49 Merging motorola's patch to prevent crashes on view id mess up
issue: 15517526
Change-Id: Ib15b3dc2f5ed4e488f5d172ed02ccb72741d5980
2014-07-24 09:33:15 -07:00
Kenny Guy
260065cac2 Merge "Change getBadgedLabelForUser to use CharSequence" into ub-now-master 2014-07-24 15:36:04 +00:00
Adam Cohen
c956cbaee2 Fix crash with keyboard focus in AllApps due to view refactoring
issue 16478600

Change-Id: I0300e7ffb332b689e3412e764ab7ce59c4fc5748
2014-07-24 09:19:58 -07:00
Adam Cohen
cc00d684ba Merge "Adding broadcast to indicate first launcher load" into ub-now-master 2014-07-24 15:35:58 +00:00
Baligh Uddin
5a78927216 Import translations. DO NOT MERGE
Change-Id: I1427e90539940f8b07b0e64aa2bda08abe8649f7
Auto-generated-cl: translation import
2014-07-24 03:57:00 -07: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
Adam Cohen
a043fa8921 When inserting directly into LauncherProvider, ensure item id and widget id are valid
-> We generate an item id, and allocate and bind a widget id if necessary when items
   are added to the LauncherProvider externally. Writing to the provider is protected
   by system|signature.

issue 16191557

Change-Id: I09472e41ad4c8302901a5e49b5817247e9b86695
2014-07-24 00:40:53 +00:00
Sunny Goyal
9623a9951a Fixing restored icons sometimes dissapers.
Change-Id: I24153dd1a4b34b8caf1eb9de601bf54e72a3bd9f
2014-07-23 15:06:44 -07:00
Sunny Goyal
0c625eeec2 Merge "Adding options in the partner apk to disable the default wallpaper and provide a folder containing additional wallpapers" into ub-now-master 2014-07-23 18:44:51 +00:00
Sunny Goyal
e86b9d79c4 Merge "Adding nulls check in various drop-drop events" into ub-now-master 2014-07-22 16:21:19 +00:00
Sunny Goyal
25611b181f Adding nulls check in various drop-drop events
The original patch by motorola had another check, but the 2nd check
is wrong as in that case, there would be a nullpointer exception just
after the check for the same reason.

issue: 15518908
issue: 15516428

Change-Id: I85c5fb3541b7f837e6c5295e97e45162a4120e39
2014-07-22 12:04:22 -07:00
Sunny Goyal
87bee403ed Merge "Merging motorola's patch to fix ClassCastException" into ub-now-master 2014-07-22 16:21:19 +00:00
Sunny Goyal
0c4a64451e Merging motorola's patch to fix ClassCastException
issue: 15518616
Change-Id: I7d707f12cb20be9aa24d7ea86051f3712b3534af
2014-07-22 13:56:13 -07:00
Nilesh Agrawal
300c150448 Fix build
Change-Id: I4c19afe4da891ad1de125cbb65c494fdc0a9a165
2014-07-22 13:20:54 -07:00
Baligh Uddin
06eda48b01 Import translations. DO NOT MERGE
Change-Id: I10246228fb00843ba5c8efc553d4fd47d72453ad
Auto-generated-cl: translation import
2014-07-22 17:15:38 +00:00
Sunny Goyal
6a4ce9407e Merge "Fixing memory leak in WallpaperCropActivity" into ub-now-master 2014-07-22 16:13:36 +00:00
Sunny Goyal
e9bacd9c2b Fixing memory leak in WallpaperCropActivity
issue 15516788

Change-Id: I6feb4cb72052bc7f19e9c30957bff7dcccd5bc9d
2014-07-22 09:39:01 -07:00
Adam Cohen
224ee988fc Updating some assets
-> all apps, page indicators, folder / allapps background

Change-Id: I400511c4f07b43df09de28080008c01a96ab9c75
2014-07-21 11:42:19 -07:00
Kenny Guy
d6fe52636d Change getBadgedLabelForUser to use CharSequence
Bug: 16401636
Change-Id: I7b72a6dd53fec1c0afe6ea33803af9e3c54e597e
2014-07-21 18:33:40 +01:00
Adam Cohen
82cc3fe6c7 Merge "Preliminary work on Material Transitions" into ub-now-master 2014-07-19 22:40:06 +00:00
Sunny Goyal
c5a8704dc4 Merge "Adding app widget restore support in Launcher3 for android L" into ub-now-master 2014-07-19 22:40:06 +00:00