Commit Graph

49925 Commits

Author SHA1 Message Date
Adam Cohen c0d915deae am e40f5ce4: am 5845d3db: Make Launcher3 a privileged module so it gets the BIND_APPWIDGET permission
* commit 'e40f5ce4af3c743bd4dbc3abeba938559c31732c':
  Make Launcher3 a privileged module so it gets the BIND_APPWIDGET permission
2015-07-28 19:15:24 +00:00
Hyunyoung Song 5bd11fd60e am 0e3c5e87: am 13ef17a3: (-s ours) merged ub-launcher3-burnaby, and resolved conflicts
* commit '0e3c5e878c2da4f04c71b575bf20e7be41eee6cd':
2015-07-28 19:15:22 +00:00
Hyunyoung Song 6ce4ac1396 am e6127759: resolved conflicts for merge of 13ef17a3 to mnc-dr-dev b/22609402 Change-Id: I140cf972d57e14737a6f91c0b4a8ec6c7ff1af2b
* commit 'e612775922ec9f8cc4e5cb976bc62b3312a3de0e':
  resolved conflicts for merge of 13ef17a3 to mnc-dr-dev b/22609402 Change-Id: I140cf972d57e14737a6f91c0b4a8ec6c7ff1af2b
2015-07-28 19:15:11 +00:00
Adam Cohen 6961b365db am 5845d3db: Make Launcher3 a privileged module so it gets the BIND_APPWIDGET permission
* commit '5845d3dbea53d513466c98b301eb49e96fe5d6a3':
  Make Launcher3 a privileged module so it gets the BIND_APPWIDGET permission
2015-07-28 18:55:33 +00:00
Adam Cohen e40f5ce4af am 5845d3db: Make Launcher3 a privileged module so it gets the BIND_APPWIDGET permission
* commit '5845d3dbea53d513466c98b301eb49e96fe5d6a3':
  Make Launcher3 a privileged module so it gets the BIND_APPWIDGET permission
2015-07-28 18:54:25 +00:00
Hyunyoung Song 0e3c5e878c am 13ef17a3: (-s ours) merged ub-launcher3-burnaby, and resolved conflicts
* commit '13ef17a37e683b8ad5800e9f542b411180fbec2f': (500 commits)
  Adding minSpanX and minSpanY for all the launcher widgets
  [DO NOT MERGE] Adding minSpanX and minSpanY for all the launcher widgets
  Query the title and icon for app using correct user handle.
  Fix issue where corp app widget doesn't show correctly on drop targets.
  [DO NOT MERGE] fixing build break
  Fixing AppWidgetInfo not initialized with proper user
  [Do NOT MERGE] Fixing AppWidgetInfo not initialized with proper user
  Fix issue with UiThreadReveal on L devices
  Import translations. DO NOT MERGE
  Using highres icons for backup
  Import translations. DO NOT MERGE
  Widget row should not be cut off on the right, when there is an indent
  Fixing shortcuts not getting migrated to app icons
  Fixing regression in calculating workspace padding.
  Hide spammy WidgetModel log behind a DEBUG flag
  Import translations. DO NOT MERGE
  Animation should start and finish on widgets button when opening/closing widget tray.
  Making long-press of AllApps to jump directly to search.
  Computing the visible cell layout area without using the current scroll
  Fixing overscroll not drawn in rtl
  ...
2015-07-28 18:54:24 +00:00
Jun Mukai 878e8eefa5 Specifies descendantFocusability to Folder view.
When a folder is opened by mouse or touch, the Folder view itself
obtains the focus rather than the views inside of the folder
which causes the reported bug.

Bug: 22562679
Change-Id: Ia4ccc59ca27e560e470122d1b2c6c1eccb4caf9a
2015-07-28 10:50:02 -07:00
Hyunyoung Song c7860f383b am d30e845d: Overlay support lib RV resources in Android.mk
* commit 'd30e845d89a069a8c1ee687791030e8e981170b3':
  Overlay support lib RV resources in Android.mk
2015-07-28 05:23:28 +00:00
Adam Cohen 5845d3dbea Make Launcher3 a privileged module so it gets the BIND_APPWIDGET permission
Change-Id: I23dc94fdc520229738dd3bb3b2580bd64774f4df
2015-07-27 20:05:35 -07:00
Winson Chung eea0225304 Fixing minor memory leak with name comparator.
- WidgetsAndShortcutNameComparator was using the actual widget and shortcut resolve
  infos as the key to the label cache.  Neither of these classes override hashCode()
  and we were retrieving a new set of widgets and shortcuts whenever packages changed
  so we would end up creating more and more entries in the cache.  This isn't a huge
  leak, but could lead to problems if Launcher is used for long periods without being
  killed.
- Now, we use a ComponentKey as the key, so that we don't keep a reference to the
  widget/shortcut infos and also ensures that they should hash to the same labels.

Change-Id: I91347ee72363adbc2b075b67dba331e35ab1fe34
2015-07-27 18:35:28 -07:00
Hyunyoung Song d30e845d89 Overlay support lib RV resources in Android.mk
Note: after this change, ag/735298 can be reverted.

b/22719084

Change-Id: I83caf8832790b1df0a90a1339f6b24f481c51661
2015-07-27 18:24:45 -07:00
Hyunyoung Song cf235922c7 am a9095e07: Remove NPE inside WidgetsListAdapter during monkey actor test b/22518383
* commit 'a9095e07ddd2318ceb81a2794219e07dd112df72':
  Remove NPE inside WidgetsListAdapter during monkey actor test b/22518383
2015-07-27 22:35:02 +00:00
Hyunyoung Song a9095e07dd Remove NPE inside WidgetsListAdapter during monkey actor test
b/22518383

Change-Id: I1a683c49be93af150f7873390b723cee0d4ac5df
2015-07-27 13:35:33 -07:00
Adam Cohen a3e8963108 am e54fa58d: Merge "Don\'t obfuscate Launcher3" into ub-launcher3-burnaby
* commit 'e54fa58d10a3596a5ca683944a6b763f39171e46':
  Don't obfuscate Launcher3
2015-07-25 00:36:17 +00:00
Adam Cohen e54fa58d10 Merge "Don't obfuscate Launcher3" into ub-launcher3-burnaby 2015-07-25 00:26:34 +00:00
Adam Cohen ce77f36aff Don't obfuscate Launcher3
Change-Id: I86ac745602c0d3c09842ed9553f7589c232f5d23
2015-07-24 16:26:33 -07:00
Hyunyoung Song 299b70d9d4 resolved conflicts for merge of 13ef17a3 to master
b/22609402
Change-Id: I842cb344c98e75af9c39b52e39db478f2ae556c6
2015-07-23 23:28:47 -07:00
Hyunyoung Song 147d1e85d3 am 0c0d5463: resolved conflicts for merge of 13ef17a3 to mnc-ub-dev b/22609402
* commit '0c0d54637af7109ae22e21a117dba3efdaded4b5': (500 commits)
  Adding minSpanX and minSpanY for all the launcher widgets
  [DO NOT MERGE] Adding minSpanX and minSpanY for all the launcher widgets
  Query the title and icon for app using correct user handle.
  Fix issue where corp app widget doesn't show correctly on drop targets.
  [DO NOT MERGE] fixing build break
  Fixing AppWidgetInfo not initialized with proper user
  [Do NOT MERGE] Fixing AppWidgetInfo not initialized with proper user
  Fix issue with UiThreadReveal on L devices
  Import translations. DO NOT MERGE
  Using highres icons for backup
  Import translations. DO NOT MERGE
  Widget row should not be cut off on the right, when there is an indent
  Fixing shortcuts not getting migrated to app icons
  Fixing regression in calculating workspace padding.
  Hide spammy WidgetModel log behind a DEBUG flag
  Import translations. DO NOT MERGE
  Animation should start and finish on widgets button when opening/closing widget tray.
  Making long-press of AllApps to jump directly to search.
  Computing the visible cell layout area without using the current scroll
  Fixing overscroll not drawn in rtl
  ...
2015-07-24 04:47:23 +00:00
Hyunyoung Song 0c0d54637a resolved conflicts for merge of 13ef17a3 to mnc-ub-dev
b/22609402

Change-Id: I80699d985088b9b79211284e710e8a6b8b90860b
2015-07-23 21:24:37 -07:00
Hyunyoung Song 680c92febe resolved conflicts for merge of 13ef17a3 to cw-e-dev
b/22609402
Change-Id: I3753db1f922923a6b462fa75a5c0d826e0413f95
2015-07-23 17:08:47 -07:00
Sunny Goyal 107ea6345b Adding rank column in backup
> targetType was only added for M builds, so it can also be considered
  as v4 change. V3 which introduced minSpanX and minSpanY didn't
  contain targetType

Bug: 22417713
Change-Id: I5c353674f7e0c2b5b4ab46e574fdb347d82028cd
2015-07-22 16:48:23 -07:00
Hyunyoung Song 2da21e6459 am 13ef17a3: (-s ours) merged ub-launcher3-burnaby, and resolved conflicts
* commit '13ef17a37e683b8ad5800e9f542b411180fbec2f': (500 commits)
  Adding minSpanX and minSpanY for all the launcher widgets
  [DO NOT MERGE] Adding minSpanX and minSpanY for all the launcher widgets
  Query the title and icon for app using correct user handle.
  Fix issue where corp app widget doesn't show correctly on drop targets.
  [DO NOT MERGE] fixing build break
  Fixing AppWidgetInfo not initialized with proper user
  [Do NOT MERGE] Fixing AppWidgetInfo not initialized with proper user
  Fix issue with UiThreadReveal on L devices
  Import translations. DO NOT MERGE
  Using highres icons for backup
  Import translations. DO NOT MERGE
  Widget row should not be cut off on the right, when there is an indent
  Fixing shortcuts not getting migrated to app icons
  Fixing regression in calculating workspace padding.
  Hide spammy WidgetModel log behind a DEBUG flag
  Import translations. DO NOT MERGE
  Animation should start and finish on widgets button when opening/closing widget tray.
  Making long-press of AllApps to jump directly to search.
  Computing the visible cell layout area without using the current scroll
  Fixing overscroll not drawn in rtl
  ...
2015-07-22 20:16:43 +00:00
Hyunyoung Song e1d69c9d5a resolved conflicts for merge of 13ef17a3 to mnc-dev-plus-aosp
Change-Id: Iec5916b2323d0fb36b4d619da9e6c4e0d57a9b56
2015-07-22 13:06:28 -07:00
Hyunyoung Song e612775922 resolved conflicts for merge of 13ef17a3 to mnc-dr-dev
b/22609402
Change-Id: I140cf972d57e14737a6f91c0b4a8ec6c7ff1af2b
2015-07-22 11:31:04 -07:00
Sunny Goyal 1992d126f4 am 7e0a4037: Merge "Shifting hotseat icons to aling with all-apps icon, if the hotseat size is different from the source device" into ub-launcher3-burnaby
* commit '7e0a403759c401d3b94f4576bca3aa8fb94fe542':
  Shifting hotseat icons to aling with all-apps icon, if the hotseat size is different from the source device
2015-07-21 02:00:20 +00:00
Sunny Goyal 7e0a403759 Merge "Shifting hotseat icons to aling with all-apps icon, if the hotseat size is different from the source device" into ub-launcher3-burnaby 2015-07-21 01:50:38 +00:00
Sunny Goyal 27defa5dd6 am 3ba922aa: Merge "Fixing widget restore" into ub-launcher3-burnaby
* commit '3ba922aa62b70bc0a3307e43980c4ff189486694':
  Fixing widget restore
2015-07-21 00:53:52 +00:00
Sunny Goyal 293a4dafd4 am 1b21faef: Merge "Resizing the bitmap before caching it in the DB" into ub-launcher3-burnaby
* commit '1b21faef02f173d7a8b80fe01d34f57b5e28a4b4':
  Resizing the bitmap before caching it in the DB
2015-07-21 00:53:50 +00:00
Sunny Goyal 3ba922aa62 Merge "Fixing widget restore" into ub-launcher3-burnaby 2015-07-21 00:42:42 +00:00
Sunny Goyal 1b21faef02 Merge "Resizing the bitmap before caching it in the DB" into ub-launcher3-burnaby 2015-07-21 00:41:44 +00:00
Hyunyoung Song 13ef17a37e merged ub-launcher3-burnaby, and resolved conflicts
Note1: Verified that following succeeds. $ make -j 32 dist checkbuild
Note2: Verified that the git history of burnaby is (998 commit) is pulled
into mnc-dev packages/apps/Launcher3 git project using gitk.

b/22609402

Change-Id: If20ed77328a71d05a590a7ee2e84d5472d0248ae
2015-07-20 15:37:27 -07:00
bohu 731a9c6e2f am 86179020: Enable Launcher3 as default Home app
* commit '86179020cc1a273d7e753d278fd844b90df456b0':
  Enable Launcher3 as default Home app
2015-07-20 22:35:16 +00:00
bohu 86179020cc Enable Launcher3 as default Home app
The default Home app launcher2 is deprecated and cannot launch Nexus 6
or any other high resolution devices in emulator. This CL enables launcher3
as the default Home app, since it can handle Nexus 6 and is well maintained.

Bug: 22609402
Change-Id: Iaba545fec218f79e40e0f72de5236ddadfabaa14
2015-07-20 22:23:27 +00:00
Sunny Goyal df6ccf8196 Resizing the bitmap before caching it in the DB
> The icon size in the backup can be different that what is
  required by the device. We should resize the icon, before
  caching it.

Bug: 22413328
Change-Id: Id77c53edf8ea5e95a2d32dbe22be553120279ebd
2015-07-20 14:34:30 -07:00
Sunny Goyal c115e647ad Shifting hotseat icons to aling with all-apps icon, if the hotseat
size is different from the source device

Bug: 19074056
Change-Id: I8d8517971a3cde0dc38f653d151daeba90fa38a0
2015-07-20 14:25:04 -07:00
Sunny Goyal 53f9672b30 Fixing widget restore
> Widget restore active flag was not cleared when the app was downloaded
> Icon from session info was not getting cached

Bug: 22413379
Change-Id: Ie096b929252200675a76dadd8c25cc3aa433671b
2015-07-20 12:00:22 -07:00
Sunny Goyal 5d20d232ed am e3fe3f89: (-s ours) am 249a510a: (-s ours) [DO NOT MERGE] Adding minSpanX and minSpanY for all the launcher widgets
* commit 'e3fe3f89ee956e8d7995c569948cb70765ec19b8':
  [DO NOT MERGE] Adding minSpanX and minSpanY for all the launcher widgets
2015-07-17 19:43:17 +00:00
Sunny Goyal e3fe3f89ee am 249a510a: (-s ours) [DO NOT MERGE] Adding minSpanX and minSpanY for all the launcher widgets
* commit '249a510ab318db461ce1ac86baca01021fe41a2c':
  [DO NOT MERGE] Adding minSpanX and minSpanY for all the launcher widgets
2015-07-17 19:36:00 +00:00
Sunny Goyal 05be6b7649 am b04136b4: Merge "Adding minSpanX and minSpanY for all the launcher widgets" into ub-launcher3-burnaby
* commit 'b04136b4714a0d9afddab6a70045f4f4f7fa1ee4':
  Adding minSpanX and minSpanY for all the launcher widgets
2015-07-17 19:06:46 +00:00
Sunny Goyal b04136b471 Merge "Adding minSpanX and minSpanY for all the launcher widgets" into ub-launcher3-burnaby 2015-07-17 18:56:38 +00:00
Sunny Goyal 3a30cfeb7c Adding minSpanX and minSpanY for all the launcher widgets
Bug: 22353460
Change-Id: Id4450dee42a83e4603dcd56e1c4dec2b0e405858
2015-07-17 11:10:05 -07:00
Sunny Goyal 249a510ab3 [DO NOT MERGE] Adding minSpanX and minSpanY for all the launcher widgets
Bug: 22353460
Change-Id: Id4450dee42a83e4603dcd56e1c4dec2b0e405858
2015-07-16 19:35:36 -07:00
Hyunyoung Song 11bebbc463 am f63dda5e: Query the title and icon for app using correct user handle.
* commit 'f63dda5e153febf0b5163ac41d927129ec822314':
  Query the title and icon for app using correct user handle.
2015-07-17 00:39:17 +00:00
Hyunyoung Song f63dda5e15 Query the title and icon for app using correct user handle.
> Note: when there are corp and regular user profile widget providers,
it is guaranteed that regular user profile widget provider is always
queried first. Thsi is guaranteed because inside AppWidgetManagerCompat.getProviders(),
regular user always takes prescedence when iterating thru different providers
associated to different users.

Change-Id: I5e38e1fb30925ccba7e1e2925fd3e77c44a14901
2015-07-16 17:24:30 -07:00
Hyunyoung Song a1ce66dfb7 am 7dc9a0f7: Merge "Fix issue where corp app widget doesn\'t show correctly on drop targets." into ub-launcher3-burnaby
* commit '7dc9a0f7d7e138cb9e685609777021b74e8dd67b':
  Fix issue where corp app widget doesn't show correctly on drop targets.
2015-07-16 23:49:15 +00:00
Hyunyoung Song 7dc9a0f7d7 Merge "Fix issue where corp app widget doesn't show correctly on drop targets." into ub-launcher3-burnaby 2015-07-16 23:37:36 +00:00
Hyunyoung Song ffd0ab4da1 Fix issue where corp app widget doesn't show correctly on drop targets.
b/22535234

Change-Id: I6e57c7728704ad0f99df25257211243a23d26acd
2015-07-16 16:36:59 -07:00
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 8239daded4 Merge "Fixing drag outline positions for folder over hotseat" into ub-launcher3-master 2015-07-16 22:09:32 +00:00
Sunny Goyal 92bce43164 Fixing drag outline positions for folder over hotseat
Change-Id: Ia2508307554089205fd678987454e81cb811a59b
2015-07-16 15:08:41 -07:00