Commit Graph

20521 Commits

Author SHA1 Message Date
Bill Yi 816f38f91d Merge pi-dr1-dev to aosp-master am: cbab862cf8 am: 2e9ee5816a
am: b1c8e6a8d1

Change-Id: I616f40e08bd0a0bc6ce7f2d5c8ddcc0c9234ac8d
2018-10-19 15:36:06 -07:00
Bill Yi b1c8e6a8d1 Merge pi-dr1-dev to aosp-master am: cbab862cf8
am: 2e9ee5816a

Change-Id: Ifce6a5c0e7cfc2f882179b43a249a2c50ac1a9ff
2018-10-19 15:23:31 -07:00
Bill Yi 2e9ee5816a Merge pi-dr1-dev to aosp-master
am: cbab862cf8

Change-Id: I483fe760b31f1cee1f5332aa5c3868a45dd201b9
2018-10-19 14:59:36 -07:00
Bill Yi cbab862cf8 Merge pi-dr1-dev to aosp-master
Change-Id: I3bdbba15a0bc0d2b5140ed92972f6650af91ef26
2018-10-19 12:20:46 -07:00
Winson Chung 578deb0875 Keep input consumer registered and rely on enabled state instead
Bug: 117224991
Test: Ensure swipe up still works
Change-Id: I719ce41959fca2157a3db614e90d404551299007
2018-10-18 15:44:49 -07:00
Winson Chung 13c072b904 Merge branch 'ub-launcher3-master' into launcher3merge2018-10-17
Test: Presubmit
Change-Id: Ibec2771e9b4e5a81dc618bc0f6951ba52aed6801
2018-10-17 17:43:56 -07:00
Sunny Goyal 6083c63e81 Merge "Fixing missing file in build rule" into ub-launcher3-master 2018-10-18 00:05:52 +00:00
Sunny Goyal e67e489f93 Fixing missing file in build rule
Change-Id: I272bfd9516a716637c5a245e13bd3a3f2c334f5c
2018-10-18 00:05:01 +00:00
TreeHugger Robot 1ba4ee89be Merge "Modifying SystemShortcut to enable support for RemoteAction" into ub-launcher3-master 2018-10-17 23:55:24 +00:00
Tony Wickham a937981b87 Merge "Add AllAppsRow plugin interface" into ub-launcher3-master 2018-10-17 20:47:51 +00:00
Vadim Tryshev 9acafc228b Modifying SystemShortcut to enable support for RemoteAction
See the bug, comment #1 for details

Bug: 117888000
Test: manual test with a prototype
Change-Id: I0422df6006e2cfc7344fc3bee531341b11b1050e
2018-10-17 13:45:25 -07:00
TreeHugger Robot 785a379570 Merge "Using a common class for observing secure settings" into ub-launcher3-master 2018-10-17 19:28:46 +00:00
Hyunyoung Song 5d09a44b5b Merge "Remove launcher dependency inside LauncherIcons" into ub-launcher3-master 2018-10-17 19:12:47 +00:00
Sunny Goyal 420d54544e Using a common class for observing secure settings
Bug: 117519297
Change-Id: Ie9d948130aea50bf10c9fc625fdb16f4cfc4712e
2018-10-17 12:07:13 -07:00
Hyunyoung Song b8137d0e00 Remove launcher dependency inside LauncherIcons
Bug: 115891474

Change-Id: Ie05d005ee3f8a10ebae35f8cf72b4f255a305667
2018-10-17 10:20:20 -07:00
Tony Wickham 5c5c118c48 Add AllAppsRow plugin interface
Bug: 115877296
Change-Id: I750941f220d08ca9ee14067253253f6d81417101
2018-10-16 17:22:09 -07:00
Bill Yi 7b4575107d Import translations. DO NOT MERGE
Change-Id: Ibd9387c2cc872963f84078960e09b9bccfdfcbdc
Auto-generated-cl: translation import
2018-10-16 17:16:15 -07:00
TreeHugger Robot 55ba0dcaaf Merge "Adding some extra logging around draglayer alpha" into ub-launcher3-master 2018-10-16 20:18:11 +00:00
Tracy Zhou dbccb545b5 Merge "Apply animation seen to onStateSetImmediately." into ub-launcher3-master 2018-10-16 19:03:51 +00:00
Tracy Zhou ff66e3a71f Apply animation seen to onStateSetImmediately.
Sometimes onStateSetImmediately gets called upon swipe up, especially when the phone just get unlocked.

Will add a test following this change.

Change-Id: I2d7117ae919663385b300433eceb063af09a5431
BUG: 113629419
Test: Manual
2018-10-16 18:38:54 +00:00
TreeHugger Robot ee11f2cf01 Merge "Make flags UI available on release build of launcher" into ub-launcher3-master 2018-10-15 21:38:02 +00:00
Ryan Lothian fa530cd23f Make flags UI available on release build of launcher
The UI will only be shown on eng/userdebug platform builds.

Bug: 117223984
Change-Id: I27843f2d856a4a19f3fe53c4d306606eaa5714a2
2018-10-15 17:24:48 -04:00
Vadim Tryshev 2ccdd08ad1 Merge "Supporting OOP tests" into ub-launcher3-master 2018-10-15 20:12:45 +00:00
Sunny Goyal cb2c505917 Adding some extra logging around draglayer alpha
Bug: 116853349
Change-Id: I8b7ddbfdd74ea422380097e62bea86e160c1651f
2018-10-15 12:30:47 -07:00
TreeHugger Robot cf7715511e Merge "Adding keyboard handling to QsbHostView similar to a normal appwidget view" into ub-launcher3-master 2018-10-15 18:10:32 +00:00
Sunny Goyal c604a10551 Adding keyboard handling to QsbHostView similar to a normal appwidget view
Bug: 116842846
Change-Id: Ibab2dc1793561998f81710301d9ce0ca3d77e7b4
2018-10-15 11:00:28 -07:00
Winson Chung 0ac0be2e4f Merge "Fix issue with side pages being visible momentarily when swiping up" into ub-launcher3-master 2018-10-15 17:31:57 +00:00
TreeHugger Robot 367f8f2e2d Merge "Fixing wrong index passed when highlighting a preference during scroll" into ub-launcher3-master 2018-10-13 02:13:43 +00:00
Vadim Tryshev 34b6f9f106 Supporting OOP tests
AbstractLauncherUiTest was modified to compile and work both in- and
out- of proc.

Bug: 113056917
Test: was in Nexus branch
2018-10-13 01:13:45 +00:00
Sunny Goyal 570dac8123 Fixing wrong index passed when highlighting a preference during scroll
Bug: 117656931
Change-Id: I518ac7a309774cb91b64433ccece2b9f272639db
2018-10-12 15:43:12 -07:00
Winson Chung 7f96440ee0 Fix issue with side pages being visible momentarily when swiping up
- Apply the initial scale to overview while it is in the backround app
  state to ensure the side pages are positioned accordingly.  Since this
  affects the computation of the target rects for the overview
  animation, also ensure that we calculate those with the final target
  overview scale applied.

Bug: 117439562
Change-Id: I5e00cf1683e31b22cf937b966d52f8cbe745aaba
2018-10-12 14:46:13 -07:00
TreeHugger Robot 9ccff14b53 Merge "Remove unused NO_ALL_APPS_ICON flag" into ub-launcher3-master 2018-10-12 18:58:50 +00:00
Ryan Lothian f2e8ddaf79 Remove unused NO_ALL_APPS_ICON flag
Change-Id: I2286121d8e396acc4afe76c77ef99abd6154a866
2018-10-12 14:45:35 -04:00
TreeHugger Robot 0e62132923 Merge "Fixing BindWidgetTest failing on Launcher3" into ub-launcher3-master 2018-10-11 23:15:18 +00:00
Winson Chung 181f9865ca Merge "Reduce extraneous loading of task snapshots/icons" into ub-launcher3-master 2018-10-11 23:09:42 +00:00
Sunny Goyal 4470344529 Fixing BindWidgetTest failing on Launcher3
Bug: 117616326
Change-Id: I3d08defc735498305cf982b214f6c0fae1508bd9
2018-10-11 16:06:52 -07:00
TreeHugger Robot 7fad0d54ca Merge "Fixing overview package name chech in TAPL" into ub-launcher3-master 2018-10-11 21:33:16 +00:00
TreeHugger Robot e0c16831a8 Merge "Fixing dead lock in loading icon for recents" into ub-launcher3-master 2018-10-11 21:33:14 +00:00
Sunny Goyal 719f58b23f Fixing dead lock in loading icon for recents
> getBitmapInfo() is called on background thead which blocks
  on the main thread to get InvariantDeviceProfile
> getDefaultIcon() can be called on the main thread, which
  would get blocked on a previous call of getBitmapInfo()

Bug: 117588621
Change-Id: I6549398c7e0a49284fe59950965495074ab8cdd0
2018-10-11 13:59:20 -07:00
Sunny Goyal 897931a56a Fixing overview package name chech in TAPL
Bug: 117568664
Change-Id: Icac29b4c2c600b90aa21d6db0a7a81403eb3c785
2018-10-11 13:41:27 -07:00
Winson Chung 4292c3038b Reduce extraneous loading of task snapshots/icons
- Skip handling loading visible task data after resetting overview, we
  currently keep the tasks bound to their task views (some calls are not
  synchronous with the lifecycle of recents, can be changed later), so
  the next call to loadVisibleTasks before the tasks have been loaded would
  load snapshots for old tasks
- Skip loading tasks if the previously requested load plan is still valid,
  this can happen because setCurrentTask() will be called multiple times
  during swipe up

Bug: 117603579
Change-Id: Ie58ded14dedbb3934d08163ca7939d89310c3ecf
2018-10-11 12:48:16 -07:00
Tony Wickham 76cce29d66 Add plugin support
- Add libs/plugin_core.jar
- Include plugin_core in Launcher3 build (it is already present other
  builds as part of the updated shared lib)
- Add PluginEnablerImpl that uses SharedPrefs to enable/disable plugin
  components
- Add src_plugins, where plugin interfaces will live. It has a build
  rule to create a jar that plugin projects will depend on.
- Copy PluginPreferencesFragment from sysui but using our implementation
  for PluginEnabler

Bug: 115877296
Change-Id: I3db54677eaceb10f92018c0f9d18920ad9ffac39
2018-10-10 14:02:56 -07:00
Sunny Goyal 4548a7d48d Disabling proguard on Launcher3 as it is a test target
Bug: 117527405
Change-Id: I4d32cf060eebaa0d8efe4f0a3a5c924eadcffa4a
2018-10-10 10:03:02 -07:00
Vadim Tryshev 514cd27850 Merge "Improving tests to fix testBindNormalWidget_withoutConfig, and beyond" into ub-launcher3-master 2018-10-10 02:03:39 +00:00
Vadim Tryshev 016ca90736 Merge "Keep hunting down flakes in testOpenCloseMessagesApp" into ub-launcher3-master 2018-10-10 02:02:31 +00:00
Vadim Tryshev 14c6c8cee4 Improving tests to fix testBindNormalWidget_withoutConfig, and beyond
1. Make waitXXX methods fail if the condition diesn’t turn true.
2. Waiting for loading to complete in tearDown instead of reloading the
 model
3. Avoiding waiting for load-complete where loading didn’t start
4. Disabling last test in AddConfigWidgetTest
5. Waiting for loading to complete inside setupAndVerifyContents(), not
 outside
6. Unifying how we wait for loader to complete
7. Adding more logging

Bug: 117332845
Test: running all Nexus tests
Change-Id: I3070e1ac2b9161179cc3e0800b0cd8162807389a
2018-10-09 18:47:42 -07:00
TreeHugger Robot 02e900c3c9 Merge "Adding tests for fallback recents when a 3rd party launcher is installed" into ub-launcher3-master 2018-10-09 21:32:19 +00:00
Sunny Goyal 4ed58d6c03 Adding tests for fallback recents when a 3rd party launcher is installed
Change-Id: I1d4da13cc779f49832008b12b9628d01631faffe
2018-10-09 14:25:01 -07:00
Vadim Tryshev 2d5713634e Ignoring more tests
Bug: 117106893
Test: will see on TAP
Change-Id: Ic031cc6756473552fc11186f666bcb9debfcecb5
2018-10-09 10:31:33 -07:00
Vadim Tryshev 61d8afc628 Keep hunting down flakes in testOpenCloseMessagesApp
More logging + removing a deprecated method.

Bug: 110103162
Test: TaplTests
Change-Id: Icdf6e297b09d73fcadb1fbe82f80d980280d43c8
2018-10-08 17:15:34 -07:00