Commit Graph

18 Commits

Author SHA1 Message Date
My Name
2b860e009f Adding configuration to timeout for "Android is starting message"
Low end devices takes longer than 2sec for booting generally. The
timeout keeps the screen blank for 2sec. Adding a configuration so that
we can override it for JioPhone Next.

Bug: 199120420
Test: tested manually on cuttlefish
Change-Id: I58c649e05f0023d4c1ee9d5117d8ca143b2ffa6a
2022-02-02 06:08:10 +00:00
Stefano Galarraga
518062a11d Revert "Receiving a broadcast message when home screen is ready."
Revert submission 16169565-b/199120420

Reason for revert: Breaking Build (b/207471332)
Reverted Changes:
Ibc101a249:Receiving a broadcast message when home screen is ...
I18628552a:Sending broadcast message when home screen is read...

Change-Id: Ie985295c7a643c6243f8025eaf007a882b651546
2021-11-23 13:25:21 +00:00
My Name
be02fd2ec3 Receiving a broadcast message when home screen is ready.
There is a lag between Pixel/Phone is starting message is displayed and
when the home screen is actually ready. The lag is visible in low-end
devices like JioPhone Next. To solve that a broadcast message is sent
from the QuickstepLauncher class when the UI is ready and the
FallbackHome activity is finished listening to that broadcast message.

Bug: 199120420
Test: Tested on device

Change-Id: Ibc101a249c6dddcb890e8c3b75c9e27858844e9d
2021-11-03 08:19:58 +00:00
Yan Zhu
460c2cbc0f Clean up split system user code in packages/apps/Settings/
Remove legacy code belonged to Andrometa project. Split system user
feature is always turned off now.

Bug: 137101239
Test: build, sync and reboot
Change-Id: Ieb84a6e131383dcd263a5d9b29a49dc64d905fe0
2021-01-12 16:57:49 -08:00
Yi-Ling Chuang
bef25b52fb Load wallpaper colors in a background thread.
In WallpaperManagerService, it takes some time to load wallpaper colors
from image wallpapers since bitmap decoding will be involved. This will
block the UI thread and lead to app launch latency. So here we are
making it in another thread to avoid this.

Bug: 133396959
Test: robotest, reboot phone and look at boot trace
Change-Id: Ibd1952a4bf10431ba4be4dd69634d64354670daa
2019-05-29 12:02:12 +08:00
Matthew Ng
932b20272a When wallpaper colors not ready set sys ui flags when ready
Uses a listener on wallpaper manager to get the wallpaper colors for
fallback home. When the colors are ready it can correctly set the system
ui flags.

Change-Id: I7119c0f035245539cb69bec1ccccecef64d3aff5
Fixes: 79776583
Test: reboot phone, unlock with pin/pattern with light them wallpaper
Test: make RunSettingsRoboTests ROBOTEST_FILTER=FallbackHomeActivityTest
2018-07-26 15:22:41 -07:00
Fan Zhang
c7162cd24d Reorder and clean up imports.
Test: rebuild
Change-Id: I178485c84ae7146f991fd77b6d7504b029942a68
2018-06-18 15:45:09 -07:00
Matthew Ng
dd3964986a Avoids systemui color tint flicker because no system ui flags set
Systemui nav buttons set the insensity from launcher and -1 window but
fallback home does not. This causes services to pass the wrong flags to
system ui to apply the incorrect tint that would later be fixed by
launcher and sometimes lead to color flicker.

Fixes: 79776583
Test: use bright color wallpaper (nav dark icons) and reboot phone,
unlock with pin/pass/finger and view nav buttons

Change-Id: I86906cd1b5af5d078499a1392c260aa186b2eee8
2018-06-01 11:11:14 -07:00
Jorim Jaggi
c0c583c2cd Revert "The big keyguard transition refactor (1.1/n)"
This reverts commit a3b50cc1ba.

Change-Id: I6db7d00d671556084d4903803c7d180ad7d091ca
Fixes: 32598209
2016-11-02 20:33:32 +00:00
Jorim Jaggi
a3b50cc1ba The big keyguard transition refactor (1.1/n)
Make sure to dismiss FALLBACK_HOME after we are fully unlocked, or
else AM will be waiting for the actual home to be visible before
unlocking.

Change-Id: I2f47ba1ff8f07e871be0d7187714aae5b81e9334
2016-11-01 14:07:40 -07:00
Jorim Jaggi
bbf6e5e0c5 resolve merge conflicts of 4c839a5 to master
Change-Id: Ie02e2b015c03512615fa25a0f4f0e955fd6910be
2016-08-02 22:26:55 +02:00
Jorim Jaggi
984079442f Show progress user unlocking is delayed
Sometimes it takes a while to unlock a user, for example, after an OTA.

In these cases, we show a progress bar in FallbackHome so the user knows
that something is happening.

Fixes: 30213213
Change-Id: Ie36a9b3107c32ff46a8890818d1f26ccf310ee6c
2016-08-02 20:02:42 +02:00
Jorim Jaggi
93779ae3c6 Merge \\"Fix ugly flash between boot animation and setup wizard (1/2)\\" into nyc-mr1-dev am: 9711521e3c
am: 92f03e58f3

Change-Id: Ibc2962f22482e7c4d239c64472a24773359c9971
2016-06-30 23:15:23 +00:00
Jorim Jaggi
a616a0dd02 Fix ugly flash between boot animation and setup wizard (1/2)
When FallbackHome is displayed before the setup wizard, we need to
match the last frame of the boot animation in FallbackHome.

Bug: 29054814
Change-Id: I4f0096d398341c3749820177cebc26dea85cea05
2016-06-29 16:57:33 -07:00
Muyuan Li
4811ab4b6d Disable FallbackHome on User 0 in split user system.
Bug: 28870689
Change-Id: Ib0707cc31b1dd0851c918e4effe6d7a3798c801a
(cherry picked from commit 40066f7bfb4feb871d3db88e7575d67971257bea)
2016-05-25 20:29:56 +00:00
Jeff Sharkey
c80dc5e5ef UX polish tweaks to FallbackHome.
When showing during first boot (before provisioned), render as
completely black to avoid wallpaper jank before showing SUW.  Also
tweak theme used during normal (provisioned) launches to avoid
rendering the dim layer behind status bar.

Bug: 28530777
Change-Id: I4b9e6c54583f07c78d86fbe9bda7f24b6959f4ba
2016-05-03 17:25:40 -06:00
Jeff Sharkey
bc16a07c93 Gracefully handle slowly appearing Home apps.
When starting a Guest user for the first time, it can take quite
awhile before the Home app enables itself.  So if we're unlocked
and no other Home app is around, chill for 500ms and see if someone
showed up.

Bug: 26267450
Change-Id: I3c4e01ae3681c650ea90b20ffc21835ae264b5e9
2015-12-18 18:40:33 -07:00
Jeff Sharkey
9e9f7d1116 Add fallback encryption-aware home screen.
When the home screen selected by the user isn't encryption aware, we
still need to put something on the ActivityStack.  For now, let's use
an empty activity that knows how to dismiss itself when the
credential-encrypted storage is unlocked; that's enough for the
system to re-resolve the home intent and find the real home screen.

Also follow method refactoring.

Bug: 22358539
Change-Id: Iebc4ad8d2dd62ada079cab03d5765f7631fd4beb
2015-11-30 17:00:17 -07:00