Commit Graph

34630 Commits

Author SHA1 Message Date
Sunny Goyal 1cfbdcec9b Merging ub-launcher3-qt-qpr1-dev, build 5884665 am: 3adf6ff5a2
am: 7f29c5caf3

Change-Id: Ie2cba3b8078c2aaabcb2f49922f792cb94d3883e
2019-09-20 15:26:12 -07:00
Sunny Goyal 7f29c5caf3 Merging ub-launcher3-qt-qpr1-dev, build 5884665
am: 3adf6ff5a2

Change-Id: I624913ae82d86920c2013bea175d95c32be07d1b
2019-09-20 15:19:10 -07:00
Winson Chung 1b231ecc56 Updating launcher interface for recents animation change
Bug: 140626334
Change-Id: Ib8e837c157bb99db429b7936fdf111e05170ac25
2019-09-20 15:15:43 -07:00
Tony Wickham 60bf8c117b Don't crash when swiping up if there are no TaskViews
This can happen in LockTask mode, after enabling Overview. In that case,
you are locked to the current task, but are allowed to go to overview
but no tasks are shown there.

Bug: 139917483
Change-Id: I2180cc5e72c343977ea53cc02907ed8dac0f8bc6
Merged-In: I2180cc5e72c343977ea53cc02907ed8dac0f8bc6
2019-09-20 22:01:18 +00:00
Tony Wickham 9e88a6d8be Don't crash when swiping up if there are no TaskViews
This can happen in LockTask mode, after enabling Overview. In that case,
you are locked to the current task, but are allowed to go to overview
but no tasks are shown there.

Bug: 139917483
Change-Id: I2180cc5e72c343977ea53cc02907ed8dac0f8bc6
2019-09-20 21:58:30 +00:00
TreeHugger Robot 3a5d7cca9e Merge "Updating animation start callback" into ub-launcher3-master 2019-09-20 21:31:20 +00:00
Becky Qiu 4df06903bc Fill in LauncherTarget fields with values extracted from LauncherLogProto.Target.
Test: manual
Bug: 137777105

Log result:
1. Swipe to -1:
  data {
    elapsed_timestamp_nanos: 1372265229686264
    atom {
      launcher_event {
        action: SWIPE_LEFT
        src_state: HOME
        dst_state: HOME
        extension {
          src_target {
          }
        }
        is_swipe_up_enabled: true
      }
    }
  }
2. Swipe out of -1:
  data {
    elapsed_timestamp_nanos: 1372368006970305
    atom {
      launcher_event {
        action: SWIPE_RIGHT
        src_state: HOME
        dst_state: HOME
        extension {
          src_target {
            page_id: -1
          }
        }
        is_swipe_up_enabled: true
      }
    }
  }
3. Launch app from homescreen:
  data {
    elapsed_timestamp_nanos: 1372397640628726
    atom {
      launcher_event {
        action: LAUNCH_APP
        src_state: HOME
        dst_state: BACKGROUND
        extension {
          src_target {
            item: APP_ICON
            grid_x: 2
            grid_y: 1
          }
          src_target {
          }
        }
        is_swipe_up_enabled: true
      }
    }
  }
4. Launch app from hotseat:
  data {
    elapsed_timestamp_nanos: 1372399813031963
    atom {
      launcher_event {
        action: LAUNCH_APP
        src_state: HOME
        dst_state: BACKGROUND
        extension {
          src_target {
            item: APP_ICON
            grid_x: 2
          }
          src_target {
            container: HOTSEAT
          }
        }
        is_swipe_up_enabled: true
      }
    }
  }
5. Launch app from allapps prediction:
  data {
    elapsed_timestamp_nanos: 1372403080724736
    atom {
      launcher_event {
        action: LAUNCH_APP
        src_state: ALLAPPS
        dst_state: BACKGROUND
        extension {
          src_target {
            item: APP_ICON
          }
          src_target {
            container: PREDICTION
          }
        }
        is_swipe_up_enabled: true
      }
    }
  }

Change-Id: I981401d06577c15948cfee0062b8a6f8a5594345
2019-09-20 21:26:59 +00:00
TreeHugger Robot 8fbbbe0687 Merge "Fixing some tests for 2-button mode" into ub-launcher3-master 2019-09-20 17:54:25 +00:00
TreeHugger Robot 714b13e549 Merge "Playing wallpaper animation if Launcher is destroyed" into ub-launcher3-master 2019-09-20 17:46:36 +00:00
Winson Chung f779e78789 Updating animation start callback
Bug: 140626334
Test: Builds
Change-Id: I86e8d448188d21f0318ac2ea053a8394a1d0cf1a
2019-09-20 17:40:17 +00:00
Sunny Goyal 3d56046ff8 Fixing some tests for 2-button mode
Bug: 141315387
Change-Id: I66db3e790f5fbe6bc30999ed599cce03874509be
2019-09-20 10:40:14 -07:00
Winson Chung c1f89d921a Updating animation start callback
Bug: 140626334
Test: Builds
Change-Id: I86e8d448188d21f0318ac2ea053a8394a1d0cf1a
2019-09-20 10:39:08 -07:00
Jonathan Miranda a6f9e2a18f [automerger skipped] Merge "[DO NOT MERGE] Fixed a bug where restored promise icons stay promise icons." into ub-launcher3-qt-qpr1-dev am: 32c8664fb4 -s ours
am: 912206c17d -s ours
am skip reason: subject contains skip directive

Change-Id: I9c27523a9e934757c75cde5eda5e267bd9478b6c
2019-09-20 10:28:41 -07:00
Jonathan Miranda 912206c17d [automerger skipped] Merge "[DO NOT MERGE] Fixed a bug where restored promise icons stay promise icons." into ub-launcher3-qt-qpr1-dev
am: 32c8664fb4 -s ours
am skip reason: subject contains skip directive

Change-Id: Id460f46bbbe82cfe2754219812d3681b56654864
2019-09-20 10:22:39 -07:00
Jonathan Miranda 32c8664fb4 Merge "[DO NOT MERGE] Fixed a bug where restored promise icons stay promise icons." into ub-launcher3-qt-qpr1-dev 2019-09-20 17:07:20 +00:00
Pinyao Ting 977726f7a1 Exclude shortcuts in popup from IconCache.
am: ddd0ff44ba

Change-Id: I47f58f3bcaf5ae7b738e13763a55d41e52869a87
2019-09-20 10:05:07 -07:00
Sunny Goyal eb71cef629 Playing wallpaper animation if Launcher is destroyed
Bug: 140539007
Change-Id: I6573eafda353f4f399768613ef068de86c8f37f4
2019-09-20 09:53:47 -07:00
Pinyao Ting ddd0ff44ba Exclude shortcuts in popup from IconCache.
We want to load from/save icons to icon cache for pinned shortcuts only
to reduce memory footprint.

Bug: 140242324
Change-Id: I25c7d59e29c6e27752b36c2c3c226849d4e177af
2019-09-20 15:24:22 +00:00
vadimt 151fddfb71 Adding tracing for a lab-only flake. am: 9f6cde1443
am: ca939f073c

Change-Id: I5218b4792ca2e37f61ec54a67d7dbb04b1d42872
2019-09-19 17:32:43 -07:00
vadimt ca939f073c Adding tracing for a lab-only flake.
am: 9f6cde1443

Change-Id: I31ce596847aa1506cefbde711ae6ad6f3e3b777e
2019-09-19 17:25:43 -07:00
Samuel Fufa acbc36c27c Merge "Enable touches on hotseat area" into ub-launcher3-qt-future-dev
am: 8443f91ee1

Change-Id: I4b6415ab254712fece9f8c1a9f57cb41f657a828
2019-09-19 16:28:49 -07:00
TreeHugger Robot 8443f91ee1 Merge "Enable touches on hotseat area" into ub-launcher3-qt-future-dev 2019-09-19 23:15:18 +00:00
vadimt 9f6cde1443 Adding tracing for a lab-only flake.
Bug: 141275518
Change-Id: I95544a55ef13002f696a82e52d54ffb6251d0e39
2019-09-19 16:07:05 -07:00
Jon Miranda 0e1b17f8c4 [DO NOT MERGE] Fixed a bug where restored promise icons stay promise icons.
Test:
1 Turn off WiFi
2 Install app. (Promise icon gets added to home screen).
3 Backup launcher.
4 Restore launcher.
5 Turn on WiFi
6 Note promise icon gets updated with as installation progresses.

Will submit to future/master later.

Bug: 140212732
Change-Id: I63cedc6c16f5028297fb1a0852ffbd4473319ae9
2019-09-19 22:41:49 +00:00
Hyunyoung Song e861391aec Merging ub-launcher3-master, build 5887983
Test: Manual

Bug:113287687 P3 App shortcut overlapping app icon when selecting the app using USB mouse.
Bug:113952590 P2 [STOP SHIP BUG] WM Experiment: Slim the navigation bar
Bug:114136250 P1 Have a more spartan RecentsActivity on android go
Bug:122333437 P2 Mk2bp: packages/apps/Launcher3
Bug:123298377 P4 App shortcut menu does not close after launching from hotseat while that app is in splitscreen
Bug:124817089 P4 Uninstalling an app doesn't remove the icon(s)
Bug:124967099 P2 Support 5 column layout for all apps (independent of what the workspace layout is)
Bug:125027540 P2 Apps to be searchable in different languages
Bug:126587956 P2 Create an app to use with Launcher testing
Bug:127689526 P2 [icons] hourglass_bottom and hourglass_top
Bug:129497226 P2 Remove setInteractionState from the contract
Bug:130225926 P2 Cannot unpin app while in gesture nav
Bug:130272454 P1 [C1/B1] Message app crash when opening a video MMS.
Bug:130440957 P2 Recents Go view visibility not updating while loading UI is up
Bug:130580680 P2 Recents Go does not load views right after boot
Bug:130635650 P2 Recents Go thumbnails not updating on app => recents transition
Bug:130740246 P2 Recents Go crashes from ViewTreeObserver being dead
Bug:130746661 P2 Fix NPE for getting task from loading task UI in Recents Go
Bug:130820737 P2 Recents Go remove animation doesn't always work
Bug:131095241 P2 Recents Go should support landscape app => landscape thumbnail transition
Bug:132336512 P2 Notification dots on pinned shortcuts
Bug:132461400 P1 Fatal exceptions in Launcher3
Bug:134712476 P4 Add Duo contact to home screen, icon froze and vanished while over home screen
Bug:135419782 P2 [Q-Preview4] "Freeform" feature on developer options keeps crashing
Bug:135633159 P3 [QPR] Promise icons on home screen
Bug:135684365 P1 Build error when building from Android Studio
Bug:135687618 P4 Task shows between back and swiping up to overview
Bug:135864059 P4 [Live Tiles] Empty launcher
Bug:137200188 P3 Home screen app title disappears during animation
Bug:137404499 P4 Don't persist invalid previews to cache
Bug:137568159 P4 Refactor LauncherCallback to support multiple clients
Bug:137653564 P2 Support Agassi (Search Engine choice) in Android R
Bug:138195597 P2 Wrong icon animated on return to home screen
Bug:139020180 P4 Add a "Dismiss" option for predicted apps in Launcher
Bug:139021165 P2 [TEST TRACKER] [QPR] Promise icons on home screen
Bug:139051851 P2 Optimize folder binding
Bug:139137636 P2 Create memory tests for Launcher
Bug:139281702 P2 [Enterprise - Cloud DO] GSOC and Mobile Utilities launcher icons are in broken state
Bug:139436782 P4 Sorting people by key crashes launcher
Bug:139540363 P1 Launcher goes in crash loop
Bug:139551306 P4 [Polish] Reduce shelf paddings in Overview
Bug:139703885 P4 Add support for searchwidget in layout files.
Bug:139880994 P1 RequestPinItemTest is broken
Bug:139885365 P3 App open animation different between launcher suggested apps and launcher home screen/drawer
Bug:139888225 P2 Convert custom widget into plugins
Bug:139893571 P4 Light QSB to Dark QSB transition lags
Bug:139913027 P2 [a11y] App title in Widget list shouldn't be actionable by a11y methods. (It would cause Pixel launcher crash.)
Bug:139942462 P1 Dragging an icon from prediction row to workspace crashes launcher
Bug:140230739 P4 Android Q update missed home screen shortcut
Bug:140242324 P2 Cache shortcutInfo icons in Launcher
Bug:140243695 P4 Add plugin around UserEventDispatcher
Bug:140244969 P4 Investigate flickerlib for sysui/launcher
Bug:140246642 P4 Add binder tests for launcher interactions
Bug:140405990 P2 [a11y] Unable to add shortcut to Home screen by Voice access or Switch access.
Bug:140406263 P2 [a11y] Unable to scroll to the left of the main Home screen to Display google app by Voice access or Switch access.
Bug:140633033 P4 Reduces calls to get default display
Bug:140749967 P2 Add gesture nav tests for 3P launcher support
Bug:140771636 P2 ub-launcher-master should track R API
Bug:140819317 P4 Pixel launcher crashing
Bug:140837771 P1 Failing test: AddConfigWidgetTests and AddWidgetTests are failing
Bug:141024521 P2 Tapping nav bar during quick switch causes scroll animation to cancel and not resume
Bug:141184247 P1 Clear all button not present in fallback recents in 3-button mode
Bug:141279939 P1 LauncherAppWidgetHost.onAppWidgetRemoved not compatible with master
Bug:64712476 P3 Import translations for dev branches
Bug:78611156 P4 Default name's language of folder won't change after changing the system language
Bug:79164903 P4 With work profile added, unable to scroll through the apps vertically using Mouse wheel
Bug:79462255 P3 Disabling cross profile widget provider doesn't remove widget (until you interact with it)
Bug:issue priority summary
Change-Id: I9c36a901e5b3625ae6c5c86d1bd82d90ec784c56
2019-09-19 15:37:12 -07:00
Samuel Fufa eacaf8aee6 Enable touches on hotseat area
Test: Manual
Bug:130294785
Change-Id: Ib3ace6633aae1ad2acc71520afd7bfdc96ffb285
2019-09-19 11:22:27 -07:00
Shashwat Razdan d3c017cb8f Merge "Added AppLaunchEventsPlugin which relays app launch/dismiss events to all connected plugins. Listener for this plugin is added in PredictionAppTracker which receives all app events." into ub-launcher3-qt-future-dev
am: b806a19368

Change-Id: I2e4cbd08f3ab7450e32892385ac86f3ac60fc5fb
2019-09-19 11:16:37 -07:00
Shashwat Razdan b806a19368 Merge "Added AppLaunchEventsPlugin which relays app launch/dismiss events to all connected plugins. Listener for this plugin is added in PredictionAppTracker which receives all app events." into ub-launcher3-qt-future-dev 2019-09-19 18:10:47 +00:00
Samuel Fufa 95942b02f0 Merge "Change onAppWidgetRemoved to public" into ub-launcher3-qt-future-dev
am: fb884ec895

Change-Id: Icc56f59e7f6424918998027ead628fb6f450596d
2019-09-19 10:35:55 -07:00
Samuel Fufa 79f803888e Merge "Fix app crash on deep shortcut restore" into ub-launcher3-qt-future-dev
am: 4498241117

Change-Id: I10f1077df8f89c96f7ad3f35f333787568d238cd
2019-09-19 10:35:34 -07:00
TreeHugger Robot fb884ec895 Merge "Change onAppWidgetRemoved to public" into ub-launcher3-qt-future-dev 2019-09-19 17:25:20 +00:00
Samuel Fufa 4498241117 Merge "Fix app crash on deep shortcut restore" into ub-launcher3-qt-future-dev 2019-09-19 17:15:22 +00:00
Samuel Fufa 791ed47320 Change onAppWidgetRemoved to public
Bug:141279939
Change-Id: I02aa7b8b54cbd75ebe34acd88c8006c23c52f002
2019-09-19 10:11:45 -07:00
Pinyao Ting f98f4d9d07 plugin for user event logging
am: fefe2c8374

Change-Id: I5052db2cd1fc0b1bfa28d3eaf986a59df63801ac
2019-09-19 08:21:45 -07:00
Pinyao Ting fefe2c8374 plugin for user event logging
Bug: 140243695
Change-Id: If9c620aa10334b26ad9b489d6544201d38439fea
2019-09-19 07:53:09 -07:00
Winson Chung 075da3d352 Merge "Adding binder tracking support in tests" into ub-launcher3-master 2019-09-19 06:09:35 +00:00
Shashwat Razdan 0c2a248109 Added AppLaunchEventsPlugin which relays app launch/dismiss events to
all connected plugins.
Listener for this plugin is added in PredictionAppTracker which receives
all app events.

Change-Id: Iec53d20272f6a587f78e3d84666efa4f02cf6962
(cherry picked from commit ae084dafd9)
2019-09-19 05:08:54 +00:00
android-build-team Robot 113204b5e3 Snap for 5885124 from 757d62dcaa to qt-qpr1-release
Change-Id: I1ae67b5b52f9a70bbeb1fd317b8670e4f91e2c2d
2019-09-19 03:19:13 +00:00
android-build-team Robot 9b1ae27eb0 Snap for 5885561 from 5886a384ef to rvc-release
Change-Id: Idd0decb176541b6ea2ada8aed9294363920a60a5
2019-09-19 03:15:16 +00:00
Vadim Tryshev 5d299e88c2 [automerger skipped] Merge "Experimenting with detecting whether a test runs in presubmit" into ub-launcher3-qt-qpr1-dev am: 37cc797fd0
am: 493ea23bfd -s ours
am skip reason: change_id I386c6ad29182170326c557252fe6e20a8d2af34a with SHA1 6d88752eeb is in history

Change-Id: I41ae40a1a2f5f747869e0a2f0a4664f543ea69a8
2019-09-18 19:40:37 -07:00
Vadim Tryshev 493ea23bfd Merge "Experimenting with detecting whether a test runs in presubmit" into ub-launcher3-qt-qpr1-dev
am: 37cc797fd0

Change-Id: I0ab81659ea9aaf6b75cd1106bbbaf9c75c679a41
2019-09-18 19:33:40 -07:00
Vadim Tryshev 37cc797fd0 Merge "Experimenting with detecting whether a test runs in presubmit" into ub-launcher3-qt-qpr1-dev 2019-09-19 02:13:44 +00:00
vadimt fead086f2d Experimenting with detecting whether a test runs in presubmit
Change-Id: I386c6ad29182170326c557252fe6e20a8d2af34a
Merged-in: I386c6ad29182170326c557252fe6e20a8d2af34a
2019-09-19 01:18:46 +00:00
vadimt 6d88752eeb Experimenting with detecting whether a test runs in presubmit
Change-Id: I386c6ad29182170326c557252fe6e20a8d2af34a
2019-09-19 00:59:32 +00:00
Samuel Fufa f28f843d74 Fix app crash on deep shortcut restore
Although the recovery logic for app shortcuts and deep shortcuts are
mostly the same, in deepshortcut's case we don't care about the
component name. This CL fixes the bug where we reset the intent if the
activity a deepshortcut points to is not found. resetting the intent is
problematic as we'll need the shortcut id (which is stored as an
extra on the intent) to recover the deep shortcut using pinned shortcuts.

Bug: 140819317
Change-Id: I22f0266b98a9f6175303cc92a85397e240443250
2019-09-19 00:59:19 +00:00
Winson Chung a879f9c481 Adding binder tracking support in tests
- Whitelist specific binder calls when handling touch during swipe up
  gestures
- Only track binding for touch handling and certain launcher lifecycle
  changes for now

Bug: 140246642
Change-Id: I6ba30280dd17da358662870f8719ae851536ad8b
2019-09-18 17:08:05 -07:00
Bill Yi 410e9a11e2 [automerger skipped] Import translations. DO NOT MERGE am: 885dfb7134 -s ours am: a7fd1427da -s ours am: 92a95bc537 -s ours
am: 47ea8eb8fd -s ours
am skip reason: subject contains skip directive

Change-Id: I103091d6efae8934b46a5fca7d3fe2d9fac0ee8f
2019-09-18 16:50:21 -07:00
Bill Yi 47ea8eb8fd [automerger skipped] Import translations. DO NOT MERGE am: 885dfb7134 -s ours am: a7fd1427da -s ours
am: 92a95bc537 -s ours
am skip reason: subject contains skip directive

Change-Id: Iefb137b703cf19e3c419ab015bd0b386d9ae6279
2019-09-18 16:42:39 -07:00
Bill Yi eef01b7b80 [automerger skipped] Import translations. DO NOT MERGE am: d6feab9fca -s ours am: 638b36f628 -s ours
am: 4c0d862711 -s ours
am skip reason: subject contains skip directive

Change-Id: Ie565602c4d25cff80ea061d17a0d760be7a393cd
2019-09-18 16:42:39 -07:00
Bill Yi 92a95bc537 [automerger skipped] Import translations. DO NOT MERGE am: 885dfb7134 -s ours
am: a7fd1427da -s ours
am skip reason: subject contains skip directive

Change-Id: I6ed30b3b83de7cc7c018b8e4ef53f8012f34e43a
2019-09-18 16:35:08 -07:00