Commit Graph

13282 Commits

Author SHA1 Message Date
Sunny Goyal bf4327520c Merge "Removing config shortcut activities for managed profiles for apps build with older sdk" into ub-launcher3-dorval
am: aeb60bffc9

Change-Id: I9570796d6ef999c346ac856b997c13685b51ac39
2017-03-20 22:25:15 +00:00
TreeHugger Robot aeb60bffc9 Merge "Removing config shortcut activities for managed profiles for apps build with older sdk" into ub-launcher3-dorval 2017-03-20 22:20:06 +00:00
Sunny Goyal b57645fcdb 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
2017-03-20 15:13:51 -07:00
TreeHugger Robot 9ae9bd3656 Merge "Make LEGACY_ICON_TREATMENT flag work" into ub-launcher3-master 2017-03-20 22:04:35 +00:00
Tony Wickham de33e76948 Merge "Filter out some notifications." into ub-launcher3-dorval
am: 3dc60c6e39

Change-Id: Iec950f7666aa232c2655c73016e36bc1e1d2e9f6
2017-03-20 21:38:14 +00:00
Tony Wickham 3dc60c6e39 Merge "Filter out some notifications." into ub-launcher3-dorval 2017-03-20 21:29:20 +00:00
Hyunyoung Song 7a5a355ab8 Make LEGACY_ICON_TREATMENT flag work
- targetSdk needs to be 26
- android:color attribute has been deleted

Change-Id: I6b1fc5402233fb8844b475d562984cf6924e33ac
2017-03-20 14:26:46 -07:00
Justin Cui 6d00d97704 Merge "Make landscapeProfile and protraitProfile public." into ub-launcher3-dorval
am: b00fcd4e49

Change-Id: Ie62cdf16f27edf46e5b2bbec81873b99f124bb48
2017-03-20 17:41:58 +00:00
Justin Cui b00fcd4e49 Merge "Make landscapeProfile and protraitProfile public." into ub-launcher3-dorval 2017-03-20 17:35:50 +00:00
cuijiaxing abda8d79b4 Make landscapeProfile and protraitProfile public.
This is needed to make prediction sticky: b/21654652

Change-Id: Ie8cb77ed9cbf1bf5b164828d0c4335111039e7c5
2017-03-20 17:14:11 +00:00
Bill Yi 7355584504 Import translations. DO NOT MERGE
am: 1bc2305d4c  -s ours

Change-Id: Ic5eab186baa14cbd7e748e9c7e56a7ec2e8cc6eb
2017-03-18 15:50:23 +00:00
Bill Yi b52d61db7e Import translations. DO NOT MERGE
Change-Id: Ibf2574d0c79c4dd1e0f44bcdc1b89caab9fabc01
Auto-generated-cl: translation import
2017-03-18 04:30:10 -07:00
Bill Yi 1bc2305d4c Import translations. DO NOT MERGE
Change-Id: I6bd0e70df3bba61196c3eb6a9c33a8800d236648
Auto-generated-cl: translation import
2017-03-18 04:29:18 -07:00
Sunny Goyal afc3f09240 Adding support for showing the widget preview based on the provided RemoteViews
am: c65a0085d7

Change-Id: Iabea96bb74294e2775a08427c17e154020d9bc40
2017-03-17 18:41:31 +00:00
Mario Bertschler f71bb700aa Merge "Show promise app icon in All Apps while installation process." into ub-launcher3-master 2017-03-17 18:41:20 +00:00
Sunny Goyal c65a0085d7 Adding support for showing the widget preview based on the provided RemoteViews
Bug: 35811129
Change-Id: I336e48cd00cfec2e617ac73bd8a81419b0944aa7
2017-03-17 11:25:29 -07:00
Mario Bertschler 817afa3447 Show promise app icon in All Apps while installation process.
This CL only modifies the model and is behind a feature flag
which per default is set to false.
The app icon will appear as a promise icon, it reacts on icon
or label changes and the icon will be remove on finishing the
installation process. With this CL the progress of the installation
process is not visible.

Bug: 23952570

Change-Id: I510825d0b0b1b01eb14f7e50f0a2358b0d8b99b5
2017-03-17 09:21:35 -07:00
Jon Miranda 477d2cbfd8 Allow TalkBack to read sectional headings on Widgets screen.
am: efd5cbf55c

Change-Id: Ib0bd61b94739ff4fd3b9ce866e33f4b7088a6846
2017-03-16 22:39:07 +00:00
Jon Miranda efd5cbf55c Allow TalkBack to read sectional headings on Widgets screen.
Bug: 35027834
Change-Id: Ice512bac83d818a4f8dca6d5f4b041a6bfa4df67
2017-03-16 15:21:25 -07:00
Jonathan Miranda 54c5fe5ddc Merge "Revert "Temporary fix for Widgets in battery saver mode."" into ub-launcher3-dorval
am: d8ea01ccf0

Change-Id: I8592ea63a61b284c5b740b6d9898c43bcbe44747
2017-03-16 21:34:04 +00:00
Jonathan Miranda 5f77fdb8b9 Merge "Revert "Temporary fix for Folders in battery saver mode."" into ub-launcher3-dorval
am: 3345f133a0

Change-Id: If2c4fa92842c08501b90f3da6bc972e4ba32c6a8
2017-03-16 21:30:35 +00:00
Jonathan Miranda d8ea01ccf0 Merge "Revert "Temporary fix for Widgets in battery saver mode."" into ub-launcher3-dorval 2017-03-16 21:29:13 +00:00
Jonathan Miranda 3345f133a0 Merge "Revert "Temporary fix for Folders in battery saver mode."" into ub-launcher3-dorval 2017-03-16 21:28:21 +00:00
Jonathan Miranda 57299dae0c Revert "Temporary fix for Widgets in battery saver mode."
Note: b/36157561 has been properly fixed.

This reverts commit 08d8bb9cde.

Change-Id: I55e04283d2013f965afc17bcb0482a50440a96ee
2017-03-16 20:24:42 +00:00
Jonathan Miranda fb6c32a983 Revert "Temporary fix for Folders in battery saver mode."
Note: b/36157561 has been properly fixed.

This reverts commit 715a322e9a.

Change-Id: I267db053a45a75fdef71c6d178f140c7abcb8616
2017-03-16 20:24:21 +00:00
Tony Wickham 3f9f3a024d Merge "Small cleanup for notifications" into ub-launcher3-dorval
am: 904166fd1e

Change-Id: I1f7eecf94ca6dd495e8ebdb3f0a98354a833678d
2017-03-16 19:27:26 +00:00
Tony Wickham 904166fd1e Merge "Small cleanup for notifications" into ub-launcher3-dorval 2017-03-16 19:22:51 +00:00
Jon Miranda a7cddd2c96 Refactor Folder/FolderAnimationManager code.
* FolderAnimationManager is now lazy loaded.
* Extract methods to simplify code.

Bug: 35064148

Change-Id: I08a72ef19a1f21637f033059d5e228ef67135ccd
2017-03-16 12:12:46 -07:00
Tony Wickham 74884ce164 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
2017-03-15 15:43:27 -07:00
Tony Wickham 81ebe383f5 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
2017-03-15 14:46:02 -07:00
Jon Miranda a984221a37 Temporary fix for Widgets in battery saver mode.
am: 08d8bb9cde

Change-Id: If816544f1a115f5d3882b4335b747cae29a0205a
2017-03-15 18:44:40 +00:00
Jon Miranda 08d8bb9cde Temporary fix for Widgets in battery saver mode.
Bug: 36246234
Bug: 36240579
Change-Id: Iced0ea87333011aef1dbdadd0036427207e377d9
2017-03-15 11:28:59 -07:00
Tony Wickham 185f854bfa Merge "Use default icon if notification icon is null." into ub-launcher3-dorval
am: a431fbb850

Change-Id: I493ea6c4248c81f33e5267e2450e646cff23c955
2017-03-15 17:30:30 +00:00
Tony Wickham a431fbb850 Merge "Use default icon if notification icon is null." into ub-launcher3-dorval 2017-03-15 17:25:19 +00:00
Tony Wickham 07e6d591b1 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
2017-03-15 10:06:52 -07:00
Jon Miranda 961941f102 Merge "Temporary fix for Folders in battery saver mode." into ub-launcher3-dorval
am: 29318b1aa6

Change-Id: Ib69faba80d7dcba68f5b92c2db9defd09a209569
2017-03-15 16:53:58 +00:00
TreeHugger Robot 29318b1aa6 Merge "Temporary fix for Folders in battery saver mode." into ub-launcher3-dorval 2017-03-15 16:47:59 +00:00
Jonathan Miranda d8b607fe8c Merge "Remove WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED." into ub-launcher3-dorval
am: aa8780a00c

Change-Id: Ia4c3479d61d6d9ed599b40c468a7f697b0024a49
2017-03-15 15:31:52 +00:00
Jonathan Miranda aa8780a00c Merge "Remove WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED." into ub-launcher3-dorval 2017-03-15 15:24:13 +00:00
Jon Miranda 715a322e9a 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
2017-03-15 08:11:09 -07:00
Mario Bertschler 32c3184d5b Setting AppInfo.itemType to ITEM_TYPE_APPLICATION per default
am: e44251247f

Change-Id: Ifae625d7e54905448e3a971a5c698af6d63452b2
2017-03-15 00:30:28 +00:00
Mario Bertschler e44251247f 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
2017-03-14 14:02:00 -07:00
Tony Wickham 04030d5a44 Merge "Remove badge info from map when count is 0." into ub-launcher3-dorval
am: 0402efbad8

Change-Id: I4134b0df23339d5c376a31b9e0f9cd8518e62f0e
2017-03-13 19:01:10 +00:00
Sunny Goyal 4eaacc7485 Merge "Defining HomeScreenElementTheme for elements which appear on top of wallpaper" into ub-launcher3-master 2017-03-13 18:58:03 +00:00
Tony Wickham 0402efbad8 Merge "Remove badge info from map when count is 0." into ub-launcher3-dorval 2017-03-13 18:56:17 +00:00
Tony ff7364a883 Remove badge info from map when count is 0.
Bug: 35803112
Change-Id: I680b92aac24bf5d083d64e9a4cd35471637a3809
2017-03-13 12:51:44 -04:00
Bill Yi 02a7624fc3 Import translations. DO NOT MERGE
am: 372fadc9f1  -s ours

Change-Id: Icc4d4057055faddeecc1e6bcbdccd82622efd030
2017-03-12 18:51:51 +00:00
Bill Yi ec191d7c51 Import translations. DO NOT MERGE
Change-Id: I8129a870f11208d842a0b5cffaeb0ae7c3be2c06
Auto-generated-cl: translation import
2017-03-11 21:33:53 -08:00
Bill Yi 372fadc9f1 Import translations. DO NOT MERGE
Change-Id: I3ab8f241299226e0453e654fdbde113646349190
Auto-generated-cl: translation import
2017-03-11 21:32:36 -08:00
Sunny Goyal 8424948b2a Merge "Updating test as per API changes" into ub-launcher3-dorval
am: 5c802d4eee

Change-Id: Ibea1815356048dec00c1213f8b3d8f9b2c38da11
2017-03-10 21:14:51 +00:00