OSDN Git Service
Tony Wickham [Thu, 19 May 2016 18:19:39 +0000 (11:19 -0700)]
Add support for launcher shortcuts.
- This CL has no UI but provides the necessary backing for one.
- Adds new item type: ITEM_TYPE_DEEP_SHORTCUT, to distinguish from
ITEM_TYPE_SHORTCUT. We can reconsider these names.
- Adds ShortcutCache, using LruCache for up to 30 dynamic shortcuts
(pinned shortcuts are always cached in a HashMap).
- DeepShortcutManager queries for shortcuts and other things like
pin them. In a future CL it will use the cache, but for now it
simply makes an RPC for all queries.
- LauncherModel maintains counts for pinned shortcuts, pinning and
unpinning when counts reach 1 or 0, respectively.
- LauncherModel maintains a map of components to lists of shortcut ids,
which Launcher gets a copy of after it is changed in the background.
This will allow us to know how many shortcuts an app has immediately,
and query for details as the UI is animating.
Change-Id: Ic526f374dd10d72a261bae67f07f098fca8d8bca
Sunny Goyal [Fri, 17 Jun 2016 15:43:56 +0000 (08:43 -0700)]
Moving LauncherAccessibilityDelegate to Launcher to associate it with
activity lifecycle.
Change-Id: Ib815505677fa7ed74bdcfe7141b1d9bea5d7143a
Sunny Goyal [Wed, 15 Jun 2016 22:42:29 +0000 (15:42 -0700)]
Adding a flag (enabled by default) to remove the all-apps button.
All apps can still be opened by clicking the caret.
Bug:
29398447
Change-Id: I61f1b05cea83a0a49d7cc16c518c5419618ba779
Sunny Goyal [Thu, 16 Jun 2016 19:34:19 +0000 (19:34 +0000)]
Merge "Adding a DB update path to handle the QSB position change" into ub-launcher3-calgary
Hyunyoung Song [Wed, 15 Jun 2016 23:45:48 +0000 (16:45 -0700)]
UI fixes to All apps pull up work
b/
28917826
- nav bar change to light when top of the all apps container
passes y mid point of the status bar
- apps search edit box change when top of the all apps passes
the bottom of nav bar
- Restrict pull up to work only if the ACTION_DOWN event started
from the hotseat.
- Landscape: reverted old padding and margin. Only the interaction
is different.
- Tuning of the motion spec
- Animation duration respects fling speed more agressively.
- and many more small bugs...
Change-Id: Icde4093c41eeab8c9c6d9dc8b7d57adc3b171349
Hyunyoung Song [Wed, 15 Jun 2016 20:25:01 +0000 (13:25 -0700)]
Fix the build.
Change-Id: I7cdfd2b276b53dbeb1d639a967753d0cc9d45d84
Hyunyoung Song [Wed, 15 Jun 2016 19:51:30 +0000 (12:51 -0700)]
Add caret shaped all app pull up handle to page indicator.
b/
28917826
> PageIndicator is also added in landscape
> Touch delegate allows the active touch area to be 36dp
Change-Id: If00f45fc88a13cd5a6759d771313439eb58561e3
Sunny Goyal [Fri, 10 Jun 2016 19:22:04 +0000 (12:22 -0700)]
Adding a DB update path to handle the QSB position change
> Renamed the id of 1st screen to 0 and making space for the QSB
by running the grid migration task.
> Added a feature flag to easily disable the QSB-in-workspace behavior
Change-Id: Ie3369f0d4433d916e9d6215d414770d4333f3e26
Sunny Goyal [Wed, 15 Jun 2016 00:34:47 +0000 (00:34 +0000)]
Merge "Fixing bug in getDescendantCoordRelativeToParent where it was calculating the coordinates relative to the root's parent" into ub-launcher3-calgary
Sunny Goyal [Mon, 13 Jun 2016 23:36:59 +0000 (16:36 -0700)]
Fixing bug in getDescendantCoordRelativeToParent where it was
calculating the coordinates relative to the root's parent
The bug went unnoticed for so long, as its only used in DragLayer
which is positioned at 0,0 in its parent
Change-Id: I101cda1f1fa919c0faf9b23b1eeb05764bdf1a40
Bill Yi [Tue, 14 Jun 2016 06:57:41 +0000 (23:57 -0700)]
Import translations. DO NOT MERGE
Change-Id: I32411e1060a5383212672e414bad21ece14c6231
Auto-generated-cl: translation import
Sunny Goyal [Mon, 13 Jun 2016 22:24:15 +0000 (22:24 +0000)]
Merge "Replacing overview panel icons with vector drawables" into ub-launcher3-calgary
Hyunyoung Song [Mon, 13 Jun 2016 19:40:35 +0000 (19:40 +0000)]
Merge "All apps container should not intercept touch during animation." into ub-launcher3-calgary
Hyunyoung Song [Mon, 13 Jun 2016 19:38:32 +0000 (12:38 -0700)]
All apps container should not intercept touch during animation.
b/
28917826
> When all apps container is settling near either the bottom or top
end, touch event should not be intercepted.
Change-Id: I8aee6cea52e844c4615b92b15f8ef7247236a25b
Sunny Goyal [Fri, 10 Jun 2016 20:49:15 +0000 (20:49 +0000)]
Merge "Making the security checks and policy changes only when launching custom shortcuts. This prevents launcher specific intents to unknowingly leak data." into ub-launcher3-calgary
Sunny Goyal [Tue, 31 May 2016 22:01:35 +0000 (15:01 -0700)]
Making the security checks and policy changes only when launching custom
shortcuts. This prevents launcher specific intents to unknowingly leak data.
Change-Id: I01343a9cee1f2a9a37a20aaf24e933e2771ecdbc
Hyunyoung Song [Fri, 10 Jun 2016 19:00:02 +0000 (12:00 -0700)]
Fixes to touch handling in all apps pull up work
b/
28917826
- Fast scroll bar works even when it's at the top of the recycler view
- Pull down only happens ONLY IF the thumb of the scroll bar is at top
- When container is touched during sliding down animation,
translation should not jump
Change-Id: Ic1d9a4aa77332cc0a7582556f893053003224dd3
Sunny Goyal [Thu, 9 Jun 2016 19:08:22 +0000 (12:08 -0700)]
Unifying the workspace translation logic
Change-Id: I82430734c222d43222763fc6edcadac33dc3e076
Sunny Goyal [Thu, 9 Jun 2016 17:02:36 +0000 (17:02 +0000)]
Merge "Executing the DB migration during startup instead of restore." into ub-launcher3-calgary
Bill Yi [Thu, 9 Jun 2016 07:27:53 +0000 (00:27 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ib1042efbc531203100b43bc32bf17ca3c05eca48
Auto-generated-cl: translation import
Hyunyoung Song [Wed, 8 Jun 2016 23:29:32 +0000 (16:29 -0700)]
Fixes to all apps pull up work
b/
28917826
- 2+ workspace page also slides up
- pull up touch interaction doesn't trigger only when yslop > xslop
- animation duration should be set independently when all apps button is used.
- workspace state is correctly set (drag and drop from the trays work)
- after lock screen, hotseat is positioned correctly
- Remove initial jump when sliding up
- Improved tuning on sliding
- Alpha value set differently on backbround and content of all apps
Still not fixed:
- Landscape
- Search edit text box styling
- All apps scroll bar
Change-Id: I817094b0f1ada5052ee604539459f556a99cadf1
Sunny Goyal [Tue, 24 May 2016 18:30:14 +0000 (11:30 -0700)]
Executing the DB migration during startup instead of restore.
This allows proper execution of DB.onUpgrade task if the app updates
after the restore
Change-Id: I4c40167b30e1d7040b3a38be70d834f7b215e540
Sunny Goyal [Wed, 8 Jun 2016 22:35:31 +0000 (22:35 +0000)]
Merge "Updating the app search buton text" into ub-launcher3-calgary
Sunny Goyal [Wed, 8 Jun 2016 22:27:08 +0000 (22:27 +0000)]
Merge "Unifying focus indicator handling for workspace and all-apps" into ub-launcher3-calgary
Sunny Goyal [Mon, 6 Jun 2016 21:20:22 +0000 (14:20 -0700)]
When the active page changes, simulate a scroll change.
This prevents the animation progess from going out of sync of the
active page, when the active page changes before the total number of
pages change
Bug:
29113836
Change-Id: I2b12ea29d64dc98d773e6060de4b655d3f975b5a
Sunny Goyal [Tue, 10 May 2016 03:43:21 +0000 (20:43 -0700)]
Unifying focus indicator handling for workspace and all-apps
Adding an abstract FocusIndicatorHelper based on FocusIndicatorView
which draws the background instead of using a dummy view.
Change-Id: Id560195323d2ddad8fcd77ba675cf3f4fd4a94ab
Sunny Goyal [Wed, 8 Jun 2016 19:00:02 +0000 (12:00 -0700)]
Fixing crash on Lollipop
Fragment.getContext is available from MNC onwards.
Using getActivity instead
Change-Id: I99ef98947879ff165895fc76facb438cd4b8b414
Sunny Goyal [Wed, 8 Jun 2016 17:02:57 +0000 (17:02 +0000)]
Merge "Adding support for workspace state change listener" into ub-launcher3-calgary
Sunny Goyal [Tue, 7 Jun 2016 23:21:03 +0000 (16:21 -0700)]
Adding support for workspace state change listener
Change-Id: Id0a4bcf345ce928544f5d406f37252a00d1dc7af
Hyunyoung Song [Tue, 7 Jun 2016 22:46:33 +0000 (22:46 +0000)]
Merge "Fix NexusLauncher NPE" into ub-launcher3-calgary
Hyunyoung Song [Tue, 7 Jun 2016 22:37:51 +0000 (15:37 -0700)]
Fix NexusLauncher NPE
Change-Id: Ieb1144487841d7ea4ae880bf8e6c2334a2145e7e
Adam Cohen [Tue, 7 Jun 2016 22:08:05 +0000 (22:08 +0000)]
Merge "Ensure that custom actions are available to all apps items" into ub-launcher3-calgary
Adam Cohen [Tue, 7 Jun 2016 21:30:10 +0000 (14:30 -0700)]
Ensure that custom actions are available to all apps items
-> When BubbleTextViews were being recycled, the RecyclerView was clearing the
AccessibilityDelegate. Ensure that this is reset by the adapter when a
BubbleTextView is reused.
issue
25948877
Change-Id: I95dd21bfdcd602a67925d1b8f06e6ca92d1d7203
Sunny Goyal [Tue, 7 Jun 2016 21:06:05 +0000 (21:06 +0000)]
Merge "Fixing FileLogs tests" into ub-launcher3-calgary
Sunny Goyal [Tue, 7 Jun 2016 20:53:20 +0000 (13:53 -0700)]
Fixing FileLogs tests
During tests, the logs directory is changed. But the active thread
was not getting stopped which was causing some logs to be written
to the old location corresponding to some previous test
Change-Id: I7b8587eae0eb68fa180e3992694cab3745922483
TreeHugger Robot [Tue, 7 Jun 2016 20:47:52 +0000 (20:47 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
Bill Yi [Tue, 7 Jun 2016 20:42:19 +0000 (13:42 -0700)]
Import translations. DO NOT MERGE
Change-Id: Idd8897ea385ab5190750df3179e21a829d160099
Auto-generated-cl: translation import
Bill Yi [Tue, 7 Jun 2016 20:22:47 +0000 (20:22 +0000)]
Import translations. DO NOT MERGE
am:
21c2d8f244 -s ours
* commit '
21c2d8f244dae711b12339cc6e643cd34ef8dcd6':
Import translations. DO NOT MERGE
Change-Id: Idcac20c106c76d9701b291972676610807a4a291
Bill Yi [Tue, 7 Jun 2016 20:03:19 +0000 (13:03 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ifcd878b149cbe2b1b2a021024039f30aef1a36a7
Auto-generated-cl: translation import
Sunny Goyal [Fri, 27 May 2016 19:31:17 +0000 (12:31 -0700)]
Updating the app search buton text
Bug:
28774501
Change-Id: I268a2d98f70d160c91ebd8fc796f3626ae67c159
Sunny Goyal [Tue, 7 Jun 2016 17:10:33 +0000 (17:10 +0000)]
Merge "Allowing the first screen to expand to the screen edge" into ub-launcher3-calgary
Sunny Goyal [Tue, 7 Jun 2016 17:05:19 +0000 (17:05 +0000)]
Merge "Removing the SearchDropTarget bar as it no longer contains the QSB" into ub-launcher3-calgary
TreeHugger Robot [Tue, 7 Jun 2016 04:18:24 +0000 (04:18 +0000)]
Merge "Guard all apps pull up work behind the flag" into ub-launcher3-calgary
Hyunyoung Song [Tue, 7 Jun 2016 04:04:36 +0000 (21:04 -0700)]
Guard all apps pull up work behind the flag
b/
28917826
Change-Id: Ic001d820bad777d90c6bdcd1a17b6961e38769be
TreeHugger Robot [Tue, 7 Jun 2016 02:25:28 +0000 (02:25 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
Sunny Goyal [Wed, 1 Jun 2016 21:08:21 +0000 (14:08 -0700)]
Allowing the first screen to expand to the screen edge
This allows the QSB to extend all the way to the edge
Change-Id: I43c6e21e44fef7fffe6fb12b7afb95549b68679f
Bill Yi [Mon, 6 Jun 2016 23:27:25 +0000 (16:27 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia6c33079c6d94e4e6045fba33317f886cc6d9907
Auto-generated-cl: translation import
Sunny Goyal [Thu, 26 May 2016 01:56:41 +0000 (18:56 -0700)]
Removing the SearchDropTarget bar as it no longer contains the QSB
> Renaming it to simply DropTargetBar
> Moving AppInfo to the top bar as well
> The workspace pages will extend to the top edge (minus some padding).
Since the QSB is no longer displayed on top of every page, there is
no reason to reserve the space.
> In spring-loaded mode, the workspace cell layout will scale enough
to make room for the drop target bar at the top
Change-Id: I2baf607310335dd576c9d9fcbb75ab708f47ac03
Hyunyoung Song [Mon, 6 Jun 2016 21:20:45 +0000 (21:20 +0000)]
Merge "Pull up all apps interaction First phase implementation: dragging and animation interaction is implemented namely in two classes. ScrollGestureDetector and AllAppsTransitionController." into ub-launcher3-calgary
Hyunyoung Song [Mon, 6 Jun 2016 21:19:02 +0000 (14:19 -0700)]
Pull up all apps interaction
First phase implementation: dragging and animation interaction is implemented
namely in two classes. ScrollGestureDetector and AllAppsTransitionController.
FeatureFlag.LAUNCHER#_ALL_APPS_PULL_UP will be true for only AOSP and
not in the extending builds. This way, we can safely iterate without
turning it on the shipped ready version.
b/
28917826
Change-Id: I0501309c0121880ffe0555f82d6ac5a145581bb1
Sunny Goyal [Fri, 3 Jun 2016 20:37:01 +0000 (13:37 -0700)]
Fixing memory leak in QSB widget
> Instead of recreating the whole fragment, only recreating the views
when reinflating
> Binding the fragment in xml instead of in code
This prevents duplicate fragment binding
Bug:
29120662
Change-Id: I25b942f64d68f25e1358f15d8a919daeebdcff9c
Sunny Goyal [Fri, 27 May 2016 17:37:38 +0000 (10:37 -0700)]
Replacing overview panel icons with vector drawables
Change-Id: I3ca6662a75ba8b07e817a7a5681ede79d305c41a
Tony Wickham [Thu, 2 Jun 2016 18:27:56 +0000 (18:27 +0000)]
Merge "Animate size and position of page indicator when adding/removing page" into ub-launcher3-calgary
Tony Wickham [Tue, 31 May 2016 23:55:01 +0000 (16:55 -0700)]
Animate size and position of page indicator when adding/removing page
Change-Id: I85f37a4e0aeb8c3fd0bd8da3b90338d0333a84d5
Bill Yi [Wed, 1 Jun 2016 14:21:12 +0000 (07:21 -0700)]
Import translations. DO NOT MERGE
Change-Id: I98b86e3d83370b4548154c5b290faffa1f05ca5c
Auto-generated-cl: translation import
Tony Wickham [Thu, 26 May 2016 20:00:02 +0000 (13:00 -0700)]
Only show workspace page indicator when scrolling or in spring-loaded mode.
- Stop showing indicator when resuming or ending transitions.
- In spring-loaded mode, prevent page indicator from auto-hiding.
Change-Id: I87070d2d8f46cf491e60380aed5540196f2fbba3
Sunny Goyal [Tue, 31 May 2016 17:44:03 +0000 (10:44 -0700)]
Disabling stricty mode checks when launching an activity.
The default strict mode policy in NYC cause death penalty when
when sharing file URI in intent. This causes launcher to crash
for users who have shortcuts of images and documents on their
homescreen.
Bug:
28853579
Change-Id: If84cd5ff732713aaff5d3164edf428c8b4233ea2
Sunny Goyal [Thu, 26 May 2016 23:05:17 +0000 (16:05 -0700)]
Moving the QSB to the workspace grid.
The QSB will only be resent on the first screen of the workspace
covering the full width of the first row. If will not be movable.
The first screen of the workspace will not be movable.
The searchDropTargetBar no longer contains the QSB (it can be
renamed in aseparate cl).
Refactoring all QSB related logic by moving it to a custom view
inflated only using xml.
Change-Id: Icb4fd6eb855df1af15f685961c38351bf4fd4f4a
Hyunyoung Song [Fri, 27 May 2016 19:15:15 +0000 (19:15 +0000)]
Merge "Add feature flag for all apps pull up work." into ub-launcher3-calgary
Sunny Goyal [Fri, 27 May 2016 19:11:36 +0000 (12:11 -0700)]
Fixing comments
Change-Id: I412fef8e07d91548beb8a5431d6aa86611237f69
Hyunyoung Song [Fri, 27 May 2016 19:10:03 +0000 (12:10 -0700)]
Add feature flag for all apps pull up work.
b/
28917826
Change-Id: I98b647694b1041ef4061dcd6297b63f11fddc7ea
Sunny Goyal [Fri, 27 May 2016 19:00:44 +0000 (19:00 +0000)]
Merge "Adding some UI tests > Launcher app from all-apps > Drag icon to all-apps and launch it > Add widget from widget tray" into ub-launcher3-calgary
Sunny Goyal [Sat, 2 Apr 2016 21:12:34 +0000 (14:12 -0700)]
Refactoring out grid occupancy management in a separate class
Change-Id: I37a830c0f2eb0a0dd4f5fc78fa29127cb18cb3c2
Sunny Goyal [Fri, 27 May 2016 00:44:56 +0000 (00:44 +0000)]
Merge "Showing a permission dialog when a restored widget is not yet bound, and launcher does not has the permission to bind the widget" into ub-launcher3-calgary
Sunny Goyal [Fri, 1 Apr 2016 19:04:16 +0000 (12:04 -0700)]
Showing a permission dialog when a restored widget is not yet bound, and launcher
does not has the permission to bind the widget
Change-Id: I51d32b9958f82671b928d559105129261fb8f268
Sunny Goyal [Thu, 19 May 2016 19:15:39 +0000 (12:15 -0700)]
Adding some UI tests
> Launcher app from all-apps
> Drag icon to all-apps and launch it
> Add widget from widget tray
Change-Id: I6bd6128a7b560a23a887d1fb40bfcda25b9b02e7
Sunny Goyal [Thu, 26 May 2016 23:40:05 +0000 (23:40 +0000)]
Merge "Adding a loading view for widgets list" into ub-launcher3-calgary
TreeHugger Robot [Thu, 26 May 2016 17:03:46 +0000 (17:03 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
Kenny Guy [Wed, 25 May 2016 18:22:14 +0000 (19:22 +0100)]
Update wallpaper API to match NYC change.
Update check for whether setting wallpaper
is allowed for renamed API.
Bug:
28954131
Change-Id: I09ee46167d59d267ba95d136366f78f5735ea9a5
Bill Yi [Thu, 26 May 2016 01:38:23 +0000 (18:38 -0700)]
Import translations. DO NOT MERGE
Change-Id: I3e46a07d27c7e8578532ec595aae472e67c0764d
Auto-generated-cl: translation import
Sunny Goyal [Wed, 25 May 2016 20:38:51 +0000 (20:38 +0000)]
Merge "Storing the widget item views in Widget holder, to avoid looks on every bind/recycle" into ub-launcher3-calgary
Sunny Goyal [Wed, 25 May 2016 19:26:18 +0000 (19:26 +0000)]
Merge "Removing logic for workspace migration from Launcher2" into ub-launcher3-calgary
Sunny Goyal [Tue, 24 May 2016 22:19:10 +0000 (22:19 +0000)]
Merge "Separating out configs and common manifest entries" into ub-launcher3-calgary
Sunny Goyal [Tue, 24 May 2016 04:40:53 +0000 (21:40 -0700)]
Separating out configs and common manifest entries
This separation allows for easier modification of Launcher3
by derivative projects
Change-Id: Ib3469e9b5d2707daef572050698d792316534d45
Sunny Goyal [Tue, 24 May 2016 02:37:17 +0000 (02:37 +0000)]
Merge "Removing some usused resources" into ub-launcher3-calgary
Sunny Goyal [Mon, 23 May 2016 22:55:41 +0000 (15:55 -0700)]
Removing logic for workspace migration from Launcher2
Change-Id: I8a121d74862f665c58406f8d5c7eb1263e7ccff3
Bill Yi [Mon, 23 May 2016 10:15:58 +0000 (03:15 -0700)]
Import translations. DO NOT MERGE
Change-Id: I398e3304ae15e66577c39b53896d46d602a91965
Auto-generated-cl: translation import
Sunny Goyal [Fri, 20 May 2016 21:26:53 +0000 (21:26 +0000)]
Merge "Adding android.icu.text.AlphabeticIndex implementation for AlphabeticIndexCompat as libcore.icu.AlphabeticIndex is no longer available in N" into ub-launcher3-calgary
Sunny Goyal [Fri, 20 May 2016 19:48:10 +0000 (12:48 -0700)]
Making page indicator an abstract class and implementing some common methods.
Change-Id: I06613428c54f1f086090580db8242cf81f7fb128
Sunny Goyal [Thu, 19 May 2016 22:54:22 +0000 (22:54 +0000)]
Merge "Preventing unnecessary options update to QSB provider by checking if the options have changed before calling update" into ub-launcher3-calgary
Tony Wickham [Thu, 19 May 2016 19:45:40 +0000 (12:45 -0700)]
Missed one more page indicator null check.
Hopefully this is the last one.
Change-Id: I1af4f7058834fe0ba60ccc8752a6bf0df64be473
Tony Wickham [Thu, 19 May 2016 18:27:55 +0000 (11:27 -0700)]
Add more null checks for page indicators.
Change-Id: Id86d4827c9079abfb236f956e531f0e29edfc54e
Sunny Goyal [Thu, 19 May 2016 16:33:30 +0000 (09:33 -0700)]
Storing the widget item views in Widget holder, to avoid looks on every bind/recycle
Change-Id: Ifad34f419b1b4f2bf97cc4ff533277867598a719
Sunny Goyal [Thu, 19 May 2016 16:16:41 +0000 (09:16 -0700)]
Adding a loading view for widgets list
Bug:
28427096
Change-Id: Icdc5ceed0caa1fafc97452142e4b71aa3026ddf9
Sunny Goyal [Thu, 19 May 2016 02:56:43 +0000 (19:56 -0700)]
Removing some usused resources
Change-Id: Ib11db872270931f956ba7093e472c866a1b0e794
Sunny Goyal [Wed, 18 May 2016 21:12:02 +0000 (14:12 -0700)]
Updating the folder page indicator to be more like the
framework page indicator (used in quick settings)
The active page is indicated with the accent color. During scroll
the active indicator expands to 2 dots corresponding to the visible pages.
Change-Id: Iaf57836b642cf87e5eed98048ecca7dd8e7643a4
Sunny Goyal [Thu, 19 May 2016 00:16:26 +0000 (17:16 -0700)]
Adding android.icu.text.AlphabeticIndex implementation for AlphabeticIndexCompat
as libcore.icu.AlphabeticIndex is no longer available in N
Bug:
28795251
Change-Id: I3b168dfb451c0eac9b64c6559a51d2b1b8c578b9
Tony Wickham [Wed, 18 May 2016 22:16:40 +0000 (15:16 -0700)]
Add null check to page indicator to prevent crashes in landscape.
Change-Id: I9676c19bcdd9129a8519e96febc779f019bc8a13
Sunny Goyal [Fri, 13 May 2016 20:48:44 +0000 (13:48 -0700)]
Preventing unnecessary options update to QSB provider
by checking if the options have changed before calling update
Bug:
28586377
Change-Id: Idf263b7a32ca85f23f728fa29b9c8ac84289052e
Baligh Uddin [Wed, 18 May 2016 19:06:21 +0000 (19:06 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
Sunny Goyal [Wed, 18 May 2016 16:47:50 +0000 (09:47 -0700)]
Fixing build breakage
Change-Id: Ib649bff709f4b6e4f173006d267aafa069c2a8b4
Sunny Goyal [Mon, 16 May 2016 19:41:09 +0000 (12:41 -0700)]
Rearranging the provider checks to avoid packagemanager lookups
whenever launcher starts
Bug:
28737985
Change-Id: I3ce3e2741b3224fa5419d7ceca496e1bb91f065c
Tony Wickham [Wed, 18 May 2016 02:09:02 +0000 (02:09 +0000)]
Merge "Add PageIndicator interface and custom PageIndicatorLine view." into ub-launcher3-calgary
Tony Wickham [Mon, 16 May 2016 16:54:06 +0000 (09:54 -0700)]
Add PageIndicator interface and custom PageIndicatorLine view.
- The current PageIndicator has been renamed to PageIndicatorDots
and PageIndicatorMarker has been renamed to PageIndicatorDot.
- PageIndicatorDots and PageIndicatorLine implement PageIndicator.
- PageIndicatorLine uses scroll progress and number of pages to
draw a line of the correct size and position.
- All of these page indicator files are now in a pageindicators package.
Bug:
27227498
Change-Id: I9230d2e0600ce583989bd31d0b0e252b148d15c2
Tony Wickham [Wed, 18 May 2016 01:05:48 +0000 (01:05 +0000)]
Merge "Only show App Info drag target if developer settings are enabled." into ub-launcher3-calgary
Tony Wickham [Tue, 17 May 2016 19:19:07 +0000 (12:19 -0700)]
Only show App Info drag target if developer settings are enabled.
Bug:
28794577
Change-Id: Ia515a627a4f94121c47386829c6772bea42e70f1
Sunny Goyal [Tue, 17 May 2016 20:38:54 +0000 (13:38 -0700)]
instead of unbinding items from the loader, unregistering listeners
in activity.onDestroy()
Bug:
28740269
Change-Id: I6bf2ad6aca43970fd10cfbcc113e609c227e07bf
Sunny Goyal [Tue, 17 May 2016 21:27:46 +0000 (21:27 +0000)]
Merge "Revert "Wrapping folderLisners with weak reference, and storing it as an array"" into ub-launcher3-calgary
Sunny Goyal [Tue, 17 May 2016 21:25:48 +0000 (21:25 +0000)]
Revert "Wrapping folderLisners with weak reference, and storing it as an array"
This reverts commit
e48644a6cc3024399ee2c9509d42ef6c2770ef61.
Change-Id: I7bd1d09cae42193de228cb58c08526eeaf57ec04
Sunny Goyal [Tue, 17 May 2016 20:29:12 +0000 (20:29 +0000)]
Merge "Wrapping folderLisners with weak reference, and storing it as an array" into ub-launcher3-calgary