34110 Commits

Author SHA1 Message Date
Jason Monk
025927c7f3 Merge "Visual changes to dual target tiles" into oc-dev
am: ec9afcd4c5

Change-Id: I3efde6087bb26ec580e0f685fa11687d7ce48ae1
2017-04-12 17:12:04 +00:00
Jason Monk
88b8dc5211 Merge "Updates for QS DND tile" into oc-dev 2017-04-12 17:00:39 +00:00
Jason Monk
ec9afcd4c5 Merge "Visual changes to dual target tiles" into oc-dev 2017-04-12 17:00:02 +00:00
Dmitri Plotnikov
11d51f6bd3 Merge "Fixing content intent on External Storage notification" into oc-dev
am: 5a667c8eb1

Change-Id: I903ee416c140438805289a946d568e20b9c5ca80
2017-04-12 16:42:30 +00:00
Charles He
e7c5ced211 Disallow direct-boot aware activities to bypass work lock
Effectively reverting 89927b3cd96472c478a988d6c731cd09d412a043, which
allowed direct-boot aware activities in the work profile to show before
the profile was unlocked. This causes problems with key eviction
introduced in O. Specifically, many system activities (e.g.
ChooserActivity, activities in Settings, etc.) are marked direct-boot
aware, and therefore can be started while the work profile is locked
with key evicted. Currently they either bypass the keyguard when they
should not, or simply crash due to profile still being locked.

In the future, we need to create a new mechanism to allow activities
such as video calls, alarm clocks, etc. to bypass the work keyguard. It
probably involves checking for something like FLAG_SHOW_WHEN_LOCKED.

Bug: 36961785
Bug: 35708183
Bug: 30296144
Test: manual, by following the steps in the bugs quoted
Test: runtest -c com.android.server.am.ActivityManagerServiceTest frameworks-services
Change-Id: I5ccaaf963f3dd96e4abb785a10aa258b15363178
2017-04-12 17:35:07 +01:00
Dmitri Plotnikov
5a667c8eb1 Merge "Fixing content intent on External Storage notification" into oc-dev 2017-04-12 16:34:32 +00:00
Mady Mellor
f0caa83702 Merge "Show x for short period of time when activity is PIP'd" into oc-dev
am: 56069d7146

Change-Id: I9c3263bd91e377b4342ab8184444e5230eeab511
2017-04-12 15:38:04 +00:00
Mady Mellor
56069d7146 Merge "Show x for short period of time when activity is PIP'd" into oc-dev 2017-04-12 15:32:31 +00:00
Jesse Evans
fc1bfc442c Rename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED
Renames the instant apps setting to reflect what it is for.

Adds the SystemApi annotation to make this field visible
to the resolver and installer.

Test: existing tests

Change-Id: I1651bb101d69bdfdaa63c004435025c68a33cd8e
2017-04-12 07:00:51 -07:00
Julia Reynolds
cc6836cf64 Merge "Changing importance should record user locked field." into oc-dev
am: f61985f02e

Change-Id: I8e53594947fd6bf1439da9c5d70e86cff111983b
2017-04-12 01:46:07 +00:00
TreeHugger Robot
f61985f02e Merge "Changing importance should record user locked field." into oc-dev 2017-04-12 01:41:00 +00:00
TreeHugger Robot
76be6a7a6b Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-12 01:07:32 +00:00
Colin Cross
902e25b34e Merge "Add missing transitive dependencies" into oc-dev
am: 3fa195c3cf

Change-Id: Ie1a88f1fa5fc857dbebc739b0a6f0a9de6e351eb
2017-04-12 01:06:53 +00:00
TreeHugger Robot
116c09f71d Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-12 00:07:33 +00:00
Colin Cross
3fa195c3cf Merge "Add missing transitive dependencies" into oc-dev 2017-04-12 00:06:07 +00:00
Jorim Jaggi
a18b3c475c Merge "Improve caching behavior of thumbnails" into oc-dev
am: b67e105e74

Change-Id: I48914589de80ca11c97919bb5af6903ae46d2b3f
2017-04-12 00:01:41 +00:00
Jason Monk
eae4ab352e Merge "Clean up activity a bit and disable it by default" into oc-dev
am: 1df5ca5911

Change-Id: Idb7475a6715e8cc5d4f2c9e2e418d4cedd7d9c10
2017-04-12 00:00:32 +00:00
TreeHugger Robot
b67e105e74 Merge "Improve caching behavior of thumbnails" into oc-dev 2017-04-11 23:53:19 +00:00
TreeHugger Robot
1df5ca5911 Merge "Clean up activity a bit and disable it by default" into oc-dev 2017-04-11 23:51:53 +00:00
Jeff Sharkey
003572c3c8 Merge "Grant Shell ability to clear cached app data." into oc-dev
am: 1f58ad1a2f

Change-Id: Ieb4f37b861b9fd5a49d30d607de5589a355aa67d
2017-04-11 23:21:20 +00:00
TreeHugger Robot
1f58ad1a2f Merge "Grant Shell ability to clear cached app data." into oc-dev 2017-04-11 23:15:38 +00:00
TreeHugger Robot
6acaa0382c Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-11 22:35:49 +00:00
TreeHugger Robot
911de0346c Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-11 22:28:43 +00:00
Jorim Jaggi
cdef591e52 Improve caching behavior of thumbnails
Remove the retrieval cache on system_server. It's not needed at
this point.

Instead, we cache the low-res thumbnails on SystemUI side that
will be visible when recents launches. For that, we introduce
a strong thumbnail cache, which gets filled up whenever the task
stack changes.

Also fix a couple of issues like that the visibility report was
pretty wrong as well as some tasks got unloaded because tasks were
bound before layout happend.

Also fix a merge issue where we didn't load the reduced resolution
thumbnail :/

Test: TaskSnapshotCacheTest
Test: Open a couple of apps, open recents, make sure all
thumbnails are already loaded.

Fixes: 36374895
Change-Id: Idbf1acd4ceab6a7c4656e9791e245a8b102017f2
2017-04-11 14:06:42 -07:00
Mady Mellor
637cd48922 Show x for short period of time when activity is PIP'd
- Moves dismiss view out of menu container layout and manages the alpha
  for it separately (i.e. when animating menu in / out or modifying the
  alpha when dragging to dismiss)
- Shows the dismiss view when PIP mode is entered, fades out after
  menu time out, on interaction the timeout is reset

Test: Enter PIP, note 'x' that is displayed, tap on it to dismiss the PIP
      or don't tap on it and it goes away
Bug: 36900043
Change-Id: Ia596ee60cd9c0d744e459564586ba6a0a9c23d5d
2017-04-11 13:41:55 -07:00
Casey Burkhardt
5d61440564 Improved multiuser support for A11y button/Magnification
- Ensures NavigationBarFragment updates Accessibility button state
  based on the settings of the current user.
- Launches AccessibilityButtonChooserActivity as the current user

Bug: 36652061
Bug: 36699310
Bug: 37103953
Test: Manual
Change-Id: Ieded484d548fb4631ceb8a873d667dd53fd2fd79
2017-04-11 13:40:45 -07:00
Adrian Roos
cf27416710 Merge "Revert "AOD: Wake up fully on gestures by default"" into oc-dev
am: e76f4b0d0b

Change-Id: I5e699e5a290a3ff3baa944a5490e134fda860538
2017-04-11 20:35:13 +00:00
Adrian Roos
e76f4b0d0b Merge "Revert "AOD: Wake up fully on gestures by default"" into oc-dev 2017-04-11 20:25:59 +00:00
Jason Monk
824ffffcc4 Make QS light
Test: visual
Change-Id: I873bc44647d509bad0ac035058ea13ac57717416
Fixes: 37213814
Fixes: 37008758
2017-04-11 15:49:06 -04:00
Bill Yi
59bb198665 Import translations. DO NOT MERGE
Change-Id: I31705e9dbbd23f7e57892e12372a472c903df55e
Auto-generated-cl: translation import
2017-04-11 12:41:05 -07:00
Jeff Sharkey
a4daf89f0f Grant Shell ability to clear cached app data.
It already has CLEAR_APP_USER_DATA to clear everything inside app
storage, and clearing cached data is a subset of that.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest
Bug: 36731175
Change-Id: Iefc5be6c80e2562a95424fd6fe413bdb018201a9
2017-04-11 13:03:54 -06:00
Jason Monk
ad71ae1fd0 Clean up activity a bit and disable it by default
Test: visual & demo mode
Change-Id: I3718e7f58d21a28ae937064882c4edff10534701
Fixes: 36020978
2017-04-11 14:55:25 -04:00
Bill Yi
fbfa8d152f Import translations. DO NOT MERGE
Change-Id: I9b511db2ea0cb1976da208ff2aed2b48309a8784
Auto-generated-cl: translation import
2017-04-11 11:46:06 -07:00
Dmitri Plotnikov
b2653e6970 Fixing content intent on External Storage notification
Bug: 37245861
Test: attach an external drive, tap on the notification
Change-Id: I72934fe8bff1dd86edc67ad865c82c19593af7e2
2017-04-11 11:45:00 -07:00
Bill Yi
6104b8ac65 Import translations. DO NOT MERGE
Change-Id: I00ba119096a1178627988e15ec6e71f637b2ac57
Auto-generated-cl: translation import
2017-04-11 11:41:51 -07:00
Jorim Jaggi
4d384aa34e Merge "Revert "Revert "Handle case when snapshot dimensions don't match""" into oc-dev
am: 971fe468a4

Change-Id: Id22f93bb9250f587c678a401fa57507784a58ebc
2017-04-11 18:30:18 +00:00
Bill Yi
7b329f6c9d Import translations. DO NOT MERGE
Change-Id: I20af9c4b4177a5a36496e76c70870b4792944f2c
Auto-generated-cl: translation import
2017-04-11 11:28:05 -07:00
Bill Yi
7c22c80a38 Import translations. DO NOT MERGE
Change-Id: I12715892d9848e7a1efac7a7cd990baad91ad550
Auto-generated-cl: translation import
2017-04-11 11:20:51 -07:00
TreeHugger Robot
971fe468a4 Merge "Revert "Revert "Handle case when snapshot dimensions don't match""" into oc-dev 2017-04-11 18:16:00 +00:00
Jason Monk
209e03e2ff Visual changes to dual target tiles
Test: visual
Change-Id: I856cae03587fc9a1e49fbfbdbf1e6abfbbf114ca
Fixes: 37007988
2017-04-11 13:57:45 -04:00
TreeHugger Robot
e62e9a274a Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-11 17:49:39 +00:00
Jason Monk
be3235abcd Updates for QS DND tile
- Make detail panels not close when turned off
 - Add auto-rule state for DND tile

Test: manual
Change-Id: I533cf0a27c54e84cd74ede72dcf10e2e5f9a070f
Fixes: 34765805
2017-04-11 17:49:11 +00:00
Jason Monk
2ec5bc3246 Merge "Fix screen pinning in seascape" into oc-dev
am: d24ecd9b5c

Change-Id: I80d1e49a249b69493c2f2f611fe9e09cd93dd39f
2017-04-11 17:28:01 +00:00
Julia Reynolds
8ceb579ec7 Changing importance should record user locked field.
Test: runtest systemui
Change-Id: Ia200acb2e2a2b2163fd4a728a2bfc5430070c580
2017-04-11 13:25:47 -04:00
Colin Cross
b666c16c15 Add missing transitive dependencies
Add android-support-v7-palette to SystemUI for
android-support-v7-mediarouter

Bug: 36902714
Test: m -j ANDROID_COMPILE_WITH_JACK=false checkbuild
Change-Id: I6aa18380fa338a01f73381ab0a3259ff94173ce1
(cherry picked from commit 2560663a1ed71b041e2de06918908a8f47153250)
2017-04-11 17:12:40 +00:00
Jason Monk
d24ecd9b5c Merge "Fix screen pinning in seascape" into oc-dev 2017-04-11 17:09:55 +00:00
Adrian Roos
601fe4aca3 Revert "AOD: Wake up fully on gestures by default"
Bug: 35909567
Bug: 30876804

This reverts commit d84a080e9488c97031fb19a88798c798fe48ac13.

Change-Id: Id51edce39967075cffe8fbe3860200cfe3a355ae
(cherry picked from commit ae4306edba13d07bf090f07fde109d0b83e2f1e5)
2017-04-11 16:54:01 +00:00
Fan Zhang
5e56569cdf Merge "Update string description and char limits" into oc-dev
am: 3151a09dac

Change-Id: Id3b6af3b66959fb2d8311a7bad646c52ae4b4fe7
2017-04-11 16:27:09 +00:00
Fan Zhang
3151a09dac Merge "Update string description and char limits" into oc-dev 2017-04-11 16:11:36 +00:00
Jason Monk
e763a26c11 Fix screen pinning in seascape
Test: visual
Change-Id: I7792d0f5f98e83f0b2fd57a831e82efa07533c2b
Fixes: 34072199
2017-04-11 14:16:06 +00:00