OSDN Git Service
TreeHugger Robot [Mon, 27 Mar 2017 17:51:46 +0000 (17:51 +0000)]
Merge "De-dupe shortcuts with the same id as the main notification." into ub-launcher3-dorval
TreeHugger Robot [Mon, 27 Mar 2017 17:21:48 +0000 (17:21 +0000)]
Merge "Revert "Adding some logging around launcher grid when device profile changes"" into ub-launcher3-dorval
Tony Wickham [Fri, 24 Mar 2017 18:31:12 +0000 (11:31 -0700)]
De-dupe shortcuts with the same id as the main notification.
- Pass NotificationKeyData, which includes the shortcut id, instead of
just the notification key from NotificationListener
- Remove the shortcut with the same shortcut id as the first
notification, if it has one, in PopupPopulator#sortAndFilterShorcuts()
- Add some unit tests
Bug:
36571718
Change-Id: I308941b34c525b34686583476e3f82ccb8b7e2d8
Sunny Goyal [Fri, 24 Mar 2017 16:07:05 +0000 (09:07 -0700)]
Temporarily ignoring session broadcasts for 3 hours
Bug:
34957633
Change-Id: Ia82a4a33f3ab07c12e98bd9060a839d660827acd
Mario Bertschler [Thu, 23 Mar 2017 21:48:53 +0000 (14:48 -0700)]
Show recently used instant apps provided by the app discovery service
in the same section as installed apps.
Change-Id: I2efd41c69960c4982523c58893aacfc7a5d0bb2e
Sunny Goyal [Tue, 21 Mar 2017 23:15:58 +0000 (23:15 +0000)]
Merge "Removing the profile extra from intent and using the profile id from the profile column" into ub-launcher3-dorval
Sunny Goyal [Tue, 21 Mar 2017 22:12:01 +0000 (15:12 -0700)]
Removing the profile extra from intent and using the profile id from the profile column
The intent extra is not always correct as the profile id can change during backup restore.
This allows us to use a consistant behavior everywhere.
Change-Id: I004bd244204ca91758b1d42488e1fc13b0ccb998
Tony Wickham [Mon, 20 Mar 2017 23:49:37 +0000 (16:49 -0700)]
Add support for making nav bar light separately from status bar
Bug:
34940468
Change-Id: Ie5543895e4c8b8753c84ef24633377cc985efc0d
Tony Wickham [Mon, 20 Mar 2017 23:52:39 +0000 (23:52 +0000)]
Merge "Move some code from AllAppsTransitionController to VeriticalPullDetector" into ub-launcher3-dorval
Jonathan Miranda [Mon, 20 Mar 2017 23:34:42 +0000 (23:34 +0000)]
Merge "Add padding to pending widget background." into ub-launcher3-dorval
Tony Wickham [Mon, 20 Mar 2017 23:11:54 +0000 (16:11 -0700)]
Move some code from AllAppsTransitionController to VeriticalPullDetector
This makes VerticalPullDetector more generic
and able to be used elsewhere.
Bug:
34940468
Change-Id: I78f70529cb30e5c9e7748ca548f2d638c6d0811f
Sunny Goyal [Mon, 20 Mar 2017 23:07:10 +0000 (23:07 +0000)]
Revert "Adding some logging around launcher grid when device profile changes"
Bug:
35425060
This reverts commit
c29de857807680bf72ebd386cbec716b33d64780.
Change-Id: I4320be3473f914289f88c8cbb376a68af006d7de
TreeHugger Robot [Mon, 20 Mar 2017 22:20:06 +0000 (22:20 +0000)]
Merge "Removing config shortcut activities for managed profiles for apps build with older sdk" into ub-launcher3-dorval
Sunny Goyal [Mon, 20 Mar 2017 20:57:28 +0000 (13:57 -0700)]
Removing config shortcut activities for managed profiles for
apps build with older sdk
> Also fixing the bug where legacy icon with primary user gets
created when managed user failed to provide the new icon
Bug:
34392403
Change-Id: I1d56962e9520742781df6cbeb03be2b9767a8c0b
Jon Miranda [Mon, 20 Mar 2017 21:47:08 +0000 (14:47 -0700)]
Add padding to pending widget background.
Bug:
36450202
Change-Id: I12c754d0ff1ac2f9a63d2e475bff5524fe51cb57
Tony Wickham [Mon, 20 Mar 2017 21:29:20 +0000 (21:29 +0000)]
Merge "Filter out some notifications." into ub-launcher3-dorval
Justin Cui [Mon, 20 Mar 2017 17:35:49 +0000 (17:35 +0000)]
Merge "Make landscapeProfile and protraitProfile public." into ub-launcher3-dorval
cuijiaxing [Mon, 20 Mar 2017 16:51:36 +0000 (09:51 -0700)]
Make landscapeProfile and protraitProfile public.
This is needed to make prediction sticky: b/
21654652
Change-Id: Ie8cb77ed9cbf1bf5b164828d0c4335111039e7c5
Bill Yi [Sat, 18 Mar 2017 11:29:18 +0000 (04:29 -0700)]
Import translations. DO NOT MERGE
Change-Id: I6bd0e70df3bba61196c3eb6a9c33a8800d236648
Auto-generated-cl: translation import
Sunny Goyal [Wed, 8 Mar 2017 22:49:55 +0000 (14:49 -0800)]
Adding support for showing the widget preview based on the provided RemoteViews
Bug:
35811129
Change-Id: I336e48cd00cfec2e617ac73bd8a81419b0944aa7
Jon Miranda [Thu, 16 Mar 2017 22:09:02 +0000 (15:09 -0700)]
Allow TalkBack to read sectional headings on Widgets screen.
Bug:
35027834
Change-Id: Ice512bac83d818a4f8dca6d5f4b041a6bfa4df67
Jonathan Miranda [Thu, 16 Mar 2017 21:29:13 +0000 (21:29 +0000)]
Merge "Revert "Temporary fix for Widgets in battery saver mode."" into ub-launcher3-dorval
Jonathan Miranda [Thu, 16 Mar 2017 21:28:21 +0000 (21:28 +0000)]
Merge "Revert "Temporary fix for Folders in battery saver mode."" into ub-launcher3-dorval
Jonathan Miranda [Thu, 16 Mar 2017 20:24:42 +0000 (20:24 +0000)]
Revert "Temporary fix for Widgets in battery saver mode."
Note: b/
36157561 has been properly fixed.
This reverts commit
08d8bb9cde705ef66561fb2dbed0af7af2632812.
Change-Id: I55e04283d2013f965afc17bcb0482a50440a96ee
Jonathan Miranda [Thu, 16 Mar 2017 20:24:21 +0000 (20:24 +0000)]
Revert "Temporary fix for Folders in battery saver mode."
Note: b/
36157561 has been properly fixed.
This reverts commit
715a322e9ad62b4f0fc0ddca17c98a0ed6d048de.
Change-Id: I267db053a45a75fdef71c6d178f140c7abcb8616
Tony Wickham [Thu, 16 Mar 2017 19:22:51 +0000 (19:22 +0000)]
Merge "Small cleanup for notifications" into ub-launcher3-dorval
Tony Wickham [Wed, 15 Mar 2017 16:44:40 +0000 (09:44 -0700)]
Filter out some notifications.
- Filter out any notification without title and text
- Filter out ongoing notifications on the default, legacy channel
- Respect notification's badgeIcon param instead of always using
BADGE_ICON_LARGE (this way we can change the default on system)
Bug:
35097755
Bug:
36150272
Change-Id: If10b663e27a96354fd40a6e0f71e17b250290115
Tony Wickham [Wed, 15 Mar 2017 21:41:18 +0000 (14:41 -0700)]
Small cleanup for notifications
- Add null check when collapsing footer, as container could be null
if the app is opened
- Remove redundant method that always passed mNotificationItemView
- Set mNotificationItemView to null when it is removed
Change-Id: Ia329815224b213fc688733eaaf6f29ee6888caaf
Jon Miranda [Wed, 15 Mar 2017 18:01:29 +0000 (11:01 -0700)]
Temporary fix for Widgets in battery saver mode.
Bug:
36246234
Bug:
36240579
Change-Id: Iced0ea87333011aef1dbdadd0036427207e377d9
Tony Wickham [Wed, 15 Mar 2017 17:25:19 +0000 (17:25 +0000)]
Merge "Use default icon if notification icon is null." into ub-launcher3-dorval
Tony Wickham [Wed, 15 Mar 2017 16:57:28 +0000 (09:57 -0700)]
Use default icon if notification icon is null.
This could happen, for instance, if there is a
ResourcesNotFoundException when loading the icon.
Bug:
36134256
Change-Id: If2d13207252a2ec46f581455f5709a95d68f29c1
TreeHugger Robot [Wed, 15 Mar 2017 16:47:59 +0000 (16:47 +0000)]
Merge "Temporary fix for Folders in battery saver mode." into ub-launcher3-dorval
Jonathan Miranda [Wed, 15 Mar 2017 15:24:13 +0000 (15:24 +0000)]
Merge "Remove WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED." into ub-launcher3-dorval
Jon Miranda [Wed, 15 Mar 2017 15:11:09 +0000 (08:11 -0700)]
Temporary fix for Folders in battery saver mode.
In battery saver mode, the Folder opens where it appears
the final values of the Animators are not being set.
Bug:
36157561
Bug:
36246234
Change-Id: I8dd58044f5f5ac66f8a8476a77d9899447a973eb
Mario Bertschler [Tue, 14 Mar 2017 21:02:00 +0000 (14:02 -0700)]
Setting AppInfo.itemType to ITEM_TYPE_APPLICATION per default
It's wrongly set to ITEM_TYPE_SHORTCUT, changing it to ITEM_TYPE_APPLICATION
in the constructor.
Change-Id: I51383d09d50ac90cea15fce816503648d2cb690e
Tony Wickham [Mon, 13 Mar 2017 18:56:17 +0000 (18:56 +0000)]
Merge "Remove badge info from map when count is 0." into ub-launcher3-dorval
Tony [Mon, 13 Mar 2017 16:51:44 +0000 (12:51 -0400)]
Remove badge info from map when count is 0.
Bug:
35803112
Change-Id: I680b92aac24bf5d083d64e9a4cd35471637a3809
Bill Yi [Sun, 12 Mar 2017 05:32:36 +0000 (21:32 -0800)]
Import translations. DO NOT MERGE
Change-Id: I3ab8f241299226e0453e654fdbde113646349190
Auto-generated-cl: translation import
TreeHugger Robot [Fri, 10 Mar 2017 21:09:18 +0000 (21:09 +0000)]
Merge "Updating test as per API changes" into ub-launcher3-dorval
Jon Miranda [Thu, 9 Mar 2017 21:14:50 +0000 (13:14 -0800)]
Remove WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED.
Original Change-Id: I897063dc803b58e1f3b6ad16c6a721f808a2798a
Bug:
36078152
Change-Id: I7a7e8ffce088694e01e49b6e9b4aa2e551da91f8
Sunny Goyal [Wed, 8 Mar 2017 22:25:09 +0000 (14:25 -0800)]
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
Louis Begin [Mon, 27 Feb 2017 06:33:11 +0000 (14:33 +0800)]
Add checks for FeatureFlags.QSB_ON_FIRST_SCREEN
When false, it correctly does not show the QSB but leaves
a default style search bar which cannot be removed.
Add checks to control default view visibility in device
profile layout & re-layout, QSB container and in
Workspace's onMeasure
Bug:
35967694
Change-Id: I3d0f89e1022d838eeb95762fd1fb3f7257956c41
Sunny Goyal [Tue, 7 Mar 2017 23:27:00 +0000 (15:27 -0800)]
Updating test as per API changes
Change-Id: I746bf48254ebfcad18426d47c61a54f8a11f5cf8
Sunny Goyal [Mon, 6 Mar 2017 18:54:55 +0000 (18:54 +0000)]
Merge "Updating FolderIcon drawing to avoid dependency on software layer." into ub-launcher3-dorval
Bill Yi [Mon, 6 Mar 2017 14:30:32 +0000 (06:30 -0800)]
Import translations. DO NOT MERGE
Change-Id: I438eb3210577fca407121d91cda2223090fd31f4
Auto-generated-cl: translation import
Mario Bertschler [Sat, 4 Mar 2017 00:05:39 +0000 (00:05 +0000)]
Merge "App discovery integration in All Apps search" into ub-launcher3-dorval
Hyunyoung Song [Fri, 3 Mar 2017 21:16:37 +0000 (21:16 +0000)]
Merge "Change application launcher icons to adaptive icons b/
35429795" into ub-launcher3-dorval
Mario Bertschler [Fri, 17 Feb 2017 20:16:13 +0000 (12:16 -0800)]
App discovery integration in All Apps search
This is the basis for app discovery integration while searching in all apps.
This does NOT include binding to the actual service and retrieving results,
but instead provides all the UI to show suggested instant apps and apps
from a store with star rating and pricing.
Change-Id: I1605b52848491acee4ac1d15c0112e6a768363f6
Sunny Goyal [Mon, 20 Feb 2017 04:21:37 +0000 (20:21 -0800)]
Updating FolderIcon drawing to avoid dependency on software layer.
Instead of cliping using clipPath, using PorterDuffXfermode to clear
area outside the bounds. This provides much better support for antialiasing.
Software layer was also being used for drawing shadow. But since the paint
color was set to transparent, no shadow was being drawn in O. Instead drawing
the shadow using radial gradient.
Bug:
35680116
Bug:
35428783
Change-Id: I0431664400628d5d01675fe72fe7ade01b64d611
Mario Bertschler [Fri, 3 Mar 2017 20:48:09 +0000 (20:48 +0000)]
Merge "Setting soft input to adjust resize while all apps is open." into ub-launcher3-dorval
Hyunyoung Song [Fri, 3 Mar 2017 19:14:05 +0000 (11:14 -0800)]
Change application launcher icons to adaptive icons
b/
35429795
Change-Id: I4fa2fb167040c2470c403a293d1a172c276b2f81
Sunny Goyal [Fri, 3 Mar 2017 20:10:29 +0000 (20:10 +0000)]
Merge "Moving Event dispatcher definition from LAuncher to BaseActivity so that it can be used in other activities as well." into ub-launcher3-dorval
Mario Bertschler [Fri, 3 Mar 2017 18:58:06 +0000 (10:58 -0800)]
Setting soft input to adjust resize while all apps is open.
Bug:
35947394
Change-Id: I897063dc803b58e1f3b6ad16c6a721f808a2798a
Hyunyoung Song [Thu, 2 Mar 2017 20:36:08 +0000 (12:36 -0800)]
[DO NOT MERGE] Add shadow to Adaptive Icons
Bug:
35920618
Change-Id: Ib48a656f988d1f007c32ab15cb28d120fab1e94f
(cherry picked from commit
da9ac1f01a16a2fe13e321d6fada5cb63f534bc2)
Tony Wickham [Fri, 24 Feb 2017 23:08:13 +0000 (15:08 -0800)]
Update notification visuals (part 2)
- Background is now white, and color beneath and divider color
updated accordingly (not from color extraction)
- Removed overflow text ("+6") and added it to a header
("6 Notifications"). Use "..." instead if there is an overflow.
- Even spaced out icons in notification footer between the
far right icon and the ellipsis
- Remove code to change arrow tint, since it is always white
now. This also fixes the issue where it was drawn as a rect.
Bug:
35766387
Change-Id: I03bfda4ff029f23dd8b3dd1b72f534ea0e2c0816
Sunny Goyal [Thu, 2 Mar 2017 01:27:16 +0000 (17:27 -0800)]
Fixing wrong check being used for application status
Earlier we were relying on activity list to check is an app is
installed or not. It fails if the app only exposes widgets and
no visible activity. Hence dragging an icon to AppInfo sometimes
causes the icon to get disappear.
Bug:
33241335
Change-Id: Ieb71e298a0930dd0a831cf09bd1e998514a427fd
TreeHugger Robot [Thu, 2 Mar 2017 01:23:18 +0000 (01:23 +0000)]
Merge "Fixing SDCard and package enabled state checks in PackageManagerHeler" into ub-launcher3-dorval
TreeHugger Robot [Thu, 2 Mar 2017 01:18:50 +0000 (01:18 +0000)]
Merge "Add null check when populating popup" into ub-launcher3-dorval
Sunny Goyal [Tue, 28 Feb 2017 23:14:58 +0000 (15:14 -0800)]
Fixing SDCard and package enabled state checks in PackageManagerHeler
Bug:
32365540
Change-Id: Iaac3e08ce55457ebbfb3633514ebc8ade6d200c5
Tony [Thu, 2 Mar 2017 00:51:15 +0000 (16:51 -0800)]
Add null check when populating popup
It was crashing when there were notifications
but no shortcuts.
Change-Id: I92e961e6186ef24736777855e114bd3245f7ac91
Tony Wickham [Mon, 27 Feb 2017 21:30:20 +0000 (13:30 -0800)]
Add shadow to badges
- Add static method to ShadowGenerator to generate a
circle Bitmap with a shadow.
- Move setColorScale() from DragView to Themes, and
use it to apply color to the shadowed Bitmap.
Bug:
35744066
Change-Id: I8d1da528bbf94dc83851f0b4016361ed9f8d5349
Tony Wickham [Wed, 1 Mar 2017 20:04:25 +0000 (12:04 -0800)]
Only check for badge setting on notification on O+
Bug:
33553066
Change-Id: I20b991ae23c92c81510986191c05426ea72d273b
Tony Wickham [Wed, 1 Mar 2017 18:57:22 +0000 (18:57 +0000)]
Merge "Merge deep shortcuts in rounded rect" into ub-launcher3-dorval
Tony Wickham [Tue, 28 Feb 2017 00:30:47 +0000 (16:30 -0800)]
Merge deep shortcuts in rounded rect
- DeepShortcutViews are added to ShortcutsItemView, which
is in PopupContainerWithArrow
- Moved some shortcut-specific logic to ShortcutsItemView
(namely, touch/long-click handling for draggin shortcuts)
- Moved round-rect clipping to PopupItemView
- Removed collapseToIcon() logic, including
PillWidthRevealOutlineProvider, which was only used for
that purpose. It isn't necessary now that the deep
shortcuts have no background themselves.
- Replaced focus pill drawable with ripple effect on
shortcuts and notification view.
Bug:
35766387
Change-Id: I6bc09f1851cfbb806df4bf75a6e435b0f1900c9c
Tony Wickham [Wed, 1 Mar 2017 18:11:54 +0000 (18:11 +0000)]
Merge "Respect badge settings to filter out badges" into ub-launcher3-dorval
Tony Wickham [Sat, 18 Feb 2017 01:03:30 +0000 (17:03 -0800)]
Respect badge settings to filter out badges
Bug:
35405389
Bug:
32410600
Change-Id: I8e7b928a6cf7d9a66df8cb056bd73eaa45f68e6c
Jon Miranda [Tue, 28 Feb 2017 21:15:28 +0000 (13:15 -0800)]
Close Folder before doing any automatic updates.
We already close the Folder when Work Profile apps are
auto added to the Work Profile Folder. This change extends that
functionality to when apps are being auto removed from the
Work Profile Folder.
Bug:
35845161
Change-Id: I2aa6a6a0ed28a95f6a59a549430f91482583548b
Bill Yi [Tue, 28 Feb 2017 03:27:58 +0000 (19:27 -0800)]
Import translations. DO NOT MERGE
Change-Id: I81729ad91123d3dc3c365d09f2c7027f62411755
Auto-generated-cl: translation import
Jon Miranda [Mon, 27 Feb 2017 22:32:39 +0000 (14:32 -0800)]
Update Launcher3 AndroidManifest.xml to match NexusLauncher.
Add stateUnchanged flag to activity windowSoftInputMode.
* Original Change-Id: Iad029d1ce327527ae3933c9eca86474be6ba5aa1
Set resizeableActivity to true to enable multi-window for Launcher.
* Original Change-Id: I2d17c89db2eb8d60b3393c2abc3b026e5574085d
Change-Id: I534f6511e7fd7778cc4469f56527d6452ccbc9a9
Sunny Goyal [Mon, 27 Feb 2017 18:07:13 +0000 (10:07 -0800)]
Moving Event dispatcher definition from LAuncher to BaseActivity so that
it can be used in other activities as well.
Bug:
34766840
Change-Id: Ie4b723483792bee93fb75e63146ebea7dfeebeda
Sunny Goyal [Mon, 27 Feb 2017 17:41:14 +0000 (09:41 -0800)]
Fix crash when the progress of an installing app decreases
Bug:
35793892
Change-Id: I957967c7a11359d951fe055027aa45c7dfd1bd84
Jon Miranda [Fri, 24 Feb 2017 18:00:14 +0000 (10:00 -0800)]
Enable suggestions for Folder names.
We turn on suggestions, turn off auto complete, and disable the
default behavior where red lines appear under typos.
Bug:
30055146
Change-Id: Ia151b7a4db1dfc6908504e6ea82a1f6989f05ca5
Tony Wickham [Tue, 21 Feb 2017 23:16:12 +0000 (15:16 -0800)]
Update notification view to match newer specs
- Use smaller radius for notifications round rect background
- Remove "Notifications" header, and clip children to round rect path
- Flip main notification so that icon shows on the right instead of
left; footer is also flipped so animation makes sense
- Clean up animations to animate view outline instead of height
Bug:
32410600
Change-Id: I6bd1e1f8395b3703f28c3b0056a89e67672368ab
Sunny Goyal [Fri, 24 Feb 2017 02:30:22 +0000 (18:30 -0800)]
Using transaction when dropping tables, so that the DB never enters
an inconsistant state
Bug:
34720697
Change-Id: I55a26d63be6c06622da6ee3395bf1990f1a58a11
TreeHugger Robot [Fri, 24 Feb 2017 00:37:30 +0000 (00:37 +0000)]
Merge "Removing custom state definition from FastBitmapDrawable" into ub-launcher3-dorval
TreeHugger Robot [Fri, 24 Feb 2017 00:27:19 +0000 (00:27 +0000)]
Merge "Remove first icon from notification footer after it animates." into ub-launcher3-dorval
Sunny Goyal [Thu, 16 Feb 2017 21:33:15 +0000 (13:33 -0800)]
Removing custom state definition from FastBitmapDrawable
> For Fast scrolling, using state list animator defined in xml
> For Pressed state, using onState change method in a drawable
Change-Id: Ia608690f593938cf0f77e00afcc2a3076e48d8f4
Jon Miranda [Thu, 23 Feb 2017 23:12:42 +0000 (15:12 -0800)]
Ignore tasks if the LauncherModel is still pending.
The tasks will be enqueued after the model is loaded when it
gets to the final state.
Bug:
31509386
Change-Id: Id72aaedb025a91a49b25e1ef103cc1976d603b21
TreeHugger Robot [Wed, 22 Feb 2017 23:53:26 +0000 (23:53 +0000)]
Merge "Adding some tests for request pin shortcut/widget flow" into ub-launcher3-dorval
Sunny Goyal [Wed, 25 Jan 2017 19:19:59 +0000 (11:19 -0800)]
Adding some tests for request pin shortcut/widget flow
Bug:
33584624
Change-Id: I49df36f60d2ae071b9d2c77c9c3300e010cd3bb9
Sunny Goyal [Fri, 17 Feb 2017 19:22:34 +0000 (11:22 -0800)]
Simplifying Model data load state management
Instead of maintaining 3 different states, each tied to a subset of data,
maintaing a single state that represents all the data. Individual subset
data is invalidated in rare cases and these invalidates are tightly tied
to the UI. This also allows us to add new data to the model, without worring
about classifying the data into a subset.
Bug:
34112546
Change-Id: Id9cb273de35b79e84a2ef8d6556fcf1e72fb4b75
Tony Wickham [Fri, 27 Jan 2017 21:18:30 +0000 (13:18 -0800)]
Remove first icon from notification footer after it animates.
Before, we had a hack where the notifation view would tell the
footer to trim its notifications, which is inefficient and ugly
since we already know exactly what notification to remove. So
now we move the relevant removal logic (keeping things like the
overflow text in sync) to a removeViewFromIconRow() that is
used after the icon animates as well as when trimming notifications.
Bug:
32410600
Change-Id: I19e54e0c28daea869b45649c7f5c74843412bb86
TreeHugger Robot [Wed, 22 Feb 2017 19:46:10 +0000 (19:46 +0000)]
Merge "Close Folder when an item is auto added to it." into ub-launcher3-master
Bill Rassieur [Wed, 22 Feb 2017 19:28:46 +0000 (19:28 +0000)]
Empty commit to trigger a build.
am:
8dfc049598
Change-Id: Ic3dae2d96ac6dac123392c4d232e1362f3206a32
Bill Rassieur [Wed, 22 Feb 2017 19:23:19 +0000 (11:23 -0800)]
Empty commit to trigger a build.
BUG:
35639108
Jon Miranda [Wed, 22 Feb 2017 18:17:49 +0000 (10:17 -0800)]
Close Folder when an item is auto added to it.
This can happen when items (as part of a Work Profile) are auto added
to the Work profile Folder.
Bug:
35628160
Change-Id: I29d3b277b0e9cd4bb238fb5aff9a52c6b9e764f8
Bill Yi [Wed, 22 Feb 2017 15:53:34 +0000 (07:53 -0800)]
Import translations. DO NOT MERGE
Change-Id: I2424c6b29a8d71a3fb697a85f82f2678774c975f
Auto-generated-cl: translation import
Sunny Goyal [Wed, 22 Feb 2017 01:18:16 +0000 (01:18 +0000)]
Merge "Fixing accessibility description for all-apps grid adapter. Only counting app icons towards various collection related info" into ub-launcher3-master
Sunny Goyal [Wed, 22 Feb 2017 00:43:56 +0000 (16:43 -0800)]
Fixing accessibility description for all-apps grid adapter.
Only counting app icons towards various collection related info
Change-Id: I2aca87e1acf6cd7bdaddfbaad174e273e8272d4b
Jon Miranda [Tue, 21 Feb 2017 20:37:51 +0000 (12:37 -0800)]
Close all open views when binding the Launcher.
This fixes a bug where a work profile remains opened even
after the work profile is removed from the device. This can
occur when the work profile is removed with the Folder still opened.
Bug:
35627777
Change-Id: I8d5b4bd9931cad2316b6b8786501d6b3780b7aca
TreeHugger Robot [Tue, 21 Feb 2017 20:33:33 +0000 (20:33 +0000)]
Merge "Launcher3: fix app shortcuts for suspended apps" into ub-launcher3-master
Charles He [Wed, 15 Feb 2017 12:22:56 +0000 (12:22 +0000)]
Launcher3: fix app shortcuts for suspended apps
This CL fixes app shortcuts for suspended packages.
1) When DO/PO suspends an app, its pinned shortcuts are instantly grayed
out, but this is not persisted after the launcher restarts (e.g. device
reboot). We now enforce the launcher to check the suspended state when
loading the workspace, and gray out pinned shortcut icons accordingly.
2) When DO/PO suspends an app, its app shortcut popup is still
available. We now temporarily disable the popup when the app is
suspended, and persist the state across restarts.
Bug:
32365540
Test: manual, by following the steps in the bug above
Test: manual, by restarting the launcher package
Change-Id: I983d7c17fa198beca23b66459b50bd67b447bdd2
Jon Miranda [Tue, 21 Feb 2017 17:06:51 +0000 (09:06 -0800)]
Fix folder icon animation where it animates downwards on 1st run.
The first time FolderIcon#growAndFadeOut is called, the folder
icon pivot x/y is not set. By moving the call after centerAboutIcon
(which sets the pivot point), we get the expected result of the
animation growing upward.
Bug:
35126799
Change-Id: I22fccb6b23550f823eb7b4485b9584022b810323
Tony Wickham [Tue, 21 Feb 2017 16:45:04 +0000 (16:45 +0000)]
Merge "Remove badges when launcher loses notification access" into ub-launcher3-master
Tony [Mon, 13 Feb 2017 18:17:37 +0000 (10:17 -0800)]
Remove badges when launcher loses notification access
- NotificationListener.getInstance() has been changed to
getInstanceIfConnected() (same behavior as before).
- When starting launcher, we send a full refresh of badges
regardless of whether the NotificationListner is connected.
If it is not connected, we pass an empty list for the
active notifications, so that all pre-existing badges are
removed.
Bug:
35221052
Change-Id: If920317f10814c010e02b5a30ce86a58ac7bc61c
Sunny Goyal [Fri, 17 Feb 2017 20:10:37 +0000 (12:10 -0800)]
Enabling translation for string relates to Add to homescreen confirmation prompt
Bug:
34819119
Change-Id: Id4c522319c92641faa28bb685f4ea4658aa4ec9e
Sunny Goyal [Fri, 17 Feb 2017 17:53:58 +0000 (17:53 +0000)]
Merge "Simplifying some launcher themes" into ub-launcher3-master
TreeHugger Robot [Fri, 17 Feb 2017 07:43:38 +0000 (07:43 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master
Bill Yi [Fri, 17 Feb 2017 07:40:20 +0000 (07:40 +0000)]
Import translations. DO NOT MERGE
am:
e5c99a2140 -s ours
Change-Id: Ifffdd23bc65534039a330bf77ceffaba418982ba
Bill Yi [Fri, 17 Feb 2017 07:31:06 +0000 (23:31 -0800)]
Import translations. DO NOT MERGE
Change-Id: Id2b9f6fbdd4aea3663ba8e418888bac8cf956da3
Auto-generated-cl: translation import