Commit Graph

15537 Commits

Author SHA1 Message Date
Bill Yi
057353bbf7 Import translations. DO NOT MERGE
Change-Id: I14a51d12218de5eef75f5db8fd99838bb749b750
Auto-generated-cl: translation import
2016-09-06 18:26:24 -07:00
Jaewan Kim
df20aed9f7 Keep the PIP at the shifted position when the Settings is shown
am: 177801c273

Change-Id: Ic9cd9ed5213292b54594c26a0fcac93b9262806e
2016-09-06 22:35:20 +00:00
Jaewan Kim
177801c273 Keep the PIP at the shifted position when the Settings is shown
Some top level Settings menus launch activities from other packages.
In that case, they should be considered as a part of the Settings
if they follow the Leanback's side panel style.

Add such activities to the whitelist to keep the PIP position.

Bug: 31142005
Change-Id: I12cab611b346154048cbd61f6a678f23b5a10c00
2016-09-06 14:09:07 -07:00
Jorim Jaggi
eb2d50dd0d Only do slow unlock transition if real home is not running
am: 031f79560f

Change-Id: I61f8a3d7458898ac139189920ec58607a570b813
2016-09-04 01:44:28 +00:00
TreeHugger Robot
dc77fbca27 Merge changes I955f9dfa,Ibfbb9d67 into nyc-mr1-dev
* changes:
  Only show optimizing storage dialog if dex opt dialog was shown
  Only do slow unlock transition if real home is not running
2016-09-04 01:39:32 +00:00
Winson
f4806c80ca Fixing issue with old tasks being visible in Overview
am: b258f6a4bd

Change-Id: I27ba3d057147b5200ac75b9f079d26423c9d0b05
2016-09-02 22:08:33 +00:00
Winson Chung
a8c0fe6606 Merge "Fixing issue with old tasks being visible in Overview" into nyc-mr1-dev 2016-09-02 21:49:13 +00:00
Teng-Hui Zhu
82907dfd36 Remove redundant code
am: 4ebc5986a8

Change-Id: I16ea5561f915a45407a2a9219604359781267cc3
2016-09-02 16:46:25 +00:00
Tenghui Zhu
50da38c198 Merge "Remove redundant code" into nyc-mr1-dev 2016-09-02 16:41:01 +00:00
Jorim Jaggi
031f79560f Only do slow unlock transition if real home is not running
Test: Tested the first unlock on both FDE and non-FDE device.

Change-Id: Ibfbb9d67fb83456acd7b12bbe2d03a961a998ba9
Fixes: 31203310
2016-09-01 16:57:25 -07:00
Yohei Yukawa
6aa02a7bf3 Also Set IME_FLAG_NO_FULLSCREEN to RemoteEditText
am: c2166b87b0

Change-Id: I93936642d8ffa6331787f64600a501f03225d57c
2016-09-01 23:16:01 +00:00
TreeHugger Robot
ede3f3fa27 Merge "Also Set IME_FLAG_NO_FULLSCREEN to RemoteEditText" into nyc-mr1-dev 2016-09-01 23:12:15 +00:00
Jason Monk
57bf03152c Add branded VPN messages to go along with branded icons
am: 802bc6ee06

Change-Id: I5b8c79bd7edfd0704e5305e94fa9b05f62cb940e
2016-09-01 16:51:11 +00:00
Jason Monk
802bc6ee06 Add branded VPN messages to go along with branded icons
Change-Id: Id2089d50581a958ebab6af1d5b172ec61b1aced3
Fixes: 31019697
2016-09-01 10:45:08 -04:00
TreeHugger Robot
a0e5744ded Merge "Import translations. DO NOT MERGE" into cw-f-dev 2016-09-01 06:46:26 +00:00
TreeHugger Robot
ac63c8589c Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-01 06:44:33 +00:00
Bill Yi
fa6279f670 Import translations. DO NOT MERGE
Change-Id: Id6b5139d8588dc5f871ff4f2e68462e752804341
Auto-generated-cl: translation import
2016-08-31 19:10:31 -07:00
Jeff Sharkey
be4949f489 DO NOT MERGE. Update lockscreen message when user unlocked.
am: 99e1bca91a

Change-Id: I578646f2ff948c0180eee1b815aa0edbfa5fb187
2016-08-31 23:29:54 +00:00
Jeff Sharkey
99e1bca91a DO NOT MERGE. Update lockscreen message when user unlocked.
If a user doesn't have credentials, we start the unlock process
automatically, but that races with the UI binding process.  Fix by
rebinding the UI once we hear the user is unlocked.

Change-Id: Id678b97aa6120ba78088fb6cf4c2a65d129e98a3
Test: none
Bug: 30840626
(cherry picked from commit 181001379f)
2016-08-31 21:42:21 +00:00
Teng-Hui Zhu
4ebc5986a8 Remove redundant code
This can save both system image size and run time memory usage.
Every byte counts. :)

b/30956516

Change-Id: I1af0455fe488e3122f6cf8e8fca5a5a43a4614f2
2016-08-31 14:30:37 -07:00
Bill Yi
42ba47e66a Import translations. DO NOT MERGE
Change-Id: I65273ca001750f3dc91efc0ba723bace6b0eafdd
Auto-generated-cl: translation import
2016-08-31 13:36:32 -07:00
Allen Hair
2d0504edbf Fine tune code coverage filters for SystemUI tests.
am: 8fef05f2c1

Change-Id: Id29138a3e84e21e68bae956dbf27e09106ebc6b3
2016-08-31 17:43:42 +00:00
Allen Hair
e9a9e6b92c Merge "Fine tune code coverage filters for SystemUI tests." into nyc-mr1-dev 2016-08-31 17:36:38 +00:00
Jason Monk
0318c9a681 Fix QS CTS failure caused by tile backup am: 34f6cbc288
am: 89fb99c8e9

Change-Id: I34e6ed3e9641e67dde208a43b063192c8c92e8c8
2016-08-31 01:40:49 +00:00
Jason Monk
89fb99c8e9 Fix QS CTS failure caused by tile backup
am: 34f6cbc288

Change-Id: Ic82ccc386b8ab81797e748893b831601c34c12ce
2016-08-31 01:36:54 +00:00
Allen Hair
8fef05f2c1 Fine tune code coverage filters for SystemUI tests.
Bug: 28269038
Change-Id: Iece993a76b39873170c4ae0b2d1cd2dd5445e3c2
2016-08-30 16:55:35 -07:00
Winson
b258f6a4bd Fixing issue with old tasks being visible in Overview
- This CL does two things, firstly, it ensures that all first & last
  active times are monotonically increasing and independent of the
  current system time.  This allows us to better keep track of which
  tasks are historical and should be hidden, and which are not.
  Secondly, this CL moves the tracking of the last visible active time
  into the system (per user) where it can be adjusted along with the
  task active times when they are loaded.
- Following this CL, all active times in the future will be adjusted on
  boot such that old tasks are made relative to the current boot time.
  It’s not important exactly what time they are, only that they are
  adjusted along with the last visible task active time so that we
  always keep track of what is visible.

Bug: 28908500
Change-Id: I4f789df3a6bd825517cf3a70e26fb60deff89d06
2016-08-30 15:01:49 -07:00
Jason Monk
34f6cbc288 Fix QS CTS failure caused by tile backup
The CTS tests weren't receiving the onTileAdded callbacks since the
shade was not in the listening state when tiles were added. This is
not possible for users (since tiles are added while the UI is
listening), but add a flushMessagesAndUnbind call to make sure the
tiles always receive onTileAdded.

Since now flushMessagesAndUnbind can be called before a real call
to setBindService(true), add a clause that will clear out its
immediate unbind state.

Change-Id: Idd13c432a4af5741813da9a9b1b292a47fd9443b
Fixes: 31147742
2016-08-30 20:37:04 +00:00
Jorim Jaggi
314c05db45 Add animation when unoccluding windows (1/2)
am: 6626f54e65

Change-Id: I09be1e1b7d830067c354c6cdfd940deafa027a22
2016-08-30 00:25:52 +00:00
Jorim Jaggi
6626f54e65 Add animation when unoccluding windows (1/2)
Before there was a jump-cut when a window that was occluding Keyguard
was going away, leading to an ugly flicker. To fix this, we do the
following.

- Always show windows with FLAG_SHOW_WHEN_LOCKED above lockscreen, even
if they don't "match" the currently occluding app (which is null in the
animation case)
- Move wallpaper behind last window that is not hidden by policy, so the
window doesn't get occluded by the wallpaper.
- Add a flag in the setOccluded call whether to animate or not. SystemUI
then plays a nice animation when it's set.
- Override the animation to always be the animation that happens when we
exit a window which is revealing the wallpaper behind, to make it
consistent with the home screen case.

Fixes: 30829255
Change-Id: Ib3fe20fc9003a0f9f291c974740f044ed8707e75
2016-08-29 14:15:33 -07:00
Jorim Jaggi
9bdfbd7c82 Play sound on ACTION_DOWN for navigation keys
am: 05bce15da9

Change-Id: I99ee8746b710c131dcd781a1623aa3b5edbbc84d
2016-08-26 19:46:36 +00:00
Jorim Jaggi
05bce15da9 Play sound on ACTION_DOWN for navigation keys
Change-Id: I83a39aa9ba2519952cb723d72c66203881c9b3b5
Fixes: 30837708
2016-08-26 19:39:28 +00:00
Allen Hair
15b70213a4 Configure code coverage filters.
am: 02fd609460

Change-Id: Iae831e68c195abcfa52528ac8609fbbee0be03df
2016-08-26 17:33:35 +00:00
Allen Hair
6bf296f6dc Merge "Configure code coverage filters." into nyc-mr1-dev 2016-08-26 17:28:52 +00:00
Jason Monk
8ed8f1e6a1 Backup system QS tiles am: baade7573f
am: 9813cb61dd

Change-Id: Ia0ba996f6b0a889ba7469a2272a6fe0c235b15d5
2016-08-26 13:29:46 +00:00
Jason Monk
9813cb61dd Backup system QS tiles
am: baade7573f

Change-Id: Ie601a706cbdcfdb1e836117d02fec914b4acbab1
2016-08-26 13:24:14 +00:00
Jason Monk
baade7573f Backup system QS tiles
Add QS tiles to the backup list.  Non-system tiles will get removed
since they won't be installed when restore happens.

Change-Id: Iccf6e773384c45bd4d1f10c21aa8af356b3920d2
Bug: 28782938
2016-08-26 13:15:49 +00:00
Allen Hair
02fd609460 Configure code coverage filters.
Bug: 28269038
Change-Id: If4dfb769d543e70faea7200dc1da15c50a83270f
2016-08-25 17:28:03 -07:00
Yohei Yukawa
c2166b87b0 Also Set IME_FLAG_NO_FULLSCREEN to RemoteEditText
This is a follow up CL to the previous CL [1], which specified
IME_FLAG_NO_EXTRACT_UI to RemoteEditText.

As discussed in Bug 7412307, specifying IME_FLAG_NO_EXTRACT_UI without
IME_FLAG_NO_FULLSCREEN has been known to cause some unexpected behaviors
across multiple components since at least ICS release.

Until Bug 7412307 is fixed, it would be safer to specify both flags when
we want to disable full-screen extracted UI mode.

 [1]: Ibb759a50ade279ad96598b25f99b169bc27a5b72
      0558bc5d6a

Bug: 30424228
Change-Id: I6dc80f8506df66d8f3f3f822c7823f53f7c56d1c
2016-08-25 16:41:34 -07:00
Adrian Roos
079911cb6c DirectReply: Fix bugs when replying from HUNs
am: 9550f2e75c

Change-Id: I0edbb334926eb1147e271e31229279218561332d
2016-08-24 23:14:18 +00:00
TreeHugger Robot
a8cf435e81 Merge "DirectReply: Fix bugs when replying from HUNs" into nyc-mr1-dev 2016-08-24 23:07:35 +00:00
Adrian Roos
190e532c86 DirectReply: Fix bugs when replying from HUNs
Fixes a bug that would re-open the remote input when
it was sent while HUN'd. Also fixes a bug that would
not properly clear a notification if swiped away and
at the same time HUN'd and having a reply active.

Change-Id: I3e8b5f81eaffd8e4b8602f3dbdd025229ba201fa
Fixes: 30454772
2016-08-24 20:41:19 +00:00
Adrian Roos
9550f2e75c DirectReply: Fix bugs when replying from HUNs
Fixes a bug that would re-open the remote input when
it was sent while HUN'd. Also fixes a bug that would
not properly clear a notification if swiped away and
at the same time HUN'd and having a reply active.

Change-Id: I3e8b5f81eaffd8e4b8602f3dbdd025229ba201fa
Fixes: 30454772
2016-08-24 13:35:15 -07:00
Winson
fcf8f8382b Fixing issue with toasts not showing for guest users.
am: 675c5d8e5a

Change-Id: Icd495e4f6dd9f8c7e10d6e88c8839ee358b1e41a
2016-08-24 01:53:12 +00:00
TreeHugger Robot
e846b18d33 Merge "Fixing issue with toasts not showing for guest users." into nyc-mr1-dev 2016-08-24 01:47:20 +00:00
Jorim Jaggi
b0ba9599c8 Don't use fullscreen theme for forced resizable info activity
am: 3f09052eb9

Change-Id: I3a965a0037fe1c22559567d74ee3a4a8c41bafea
2016-08-24 01:36:35 +00:00
TreeHugger Robot
6e370d35fe Merge "Don't use fullscreen theme for forced resizable info activity" into nyc-mr1-dev 2016-08-24 01:32:11 +00:00
Jorim Jaggi
55f4b0e9be Remove swipe-up gesture from Tuner
am: 3793aff806

Change-Id: I601fdce7b6e88e30b2ccfdf55d84ed41ff1d5e36
2016-08-24 01:26:40 +00:00
TreeHugger Robot
5a10360d7e Merge "Remove swipe-up gesture from Tuner" into nyc-mr1-dev 2016-08-24 01:21:07 +00:00
Winson
675c5d8e5a Fixing issue with toasts not showing for guest users.
Bug: 30001278
Change-Id: I43269da8a6c41f4fec5923aafe5a624ec75ba651
2016-08-23 17:22:32 -07:00