Commit Graph

235768 Commits

Author SHA1 Message Date
Tomasz Mikolajewski
4b9b03e6b2 Revert "Make the accent color darker in DocumentsUI for better accessibility."
We have to change the color only in a specific place,
not the accent color everywhere.

This reverts commit 8e22d69df2.

Change-Id: I6d712fc1d0275f91b20ff90f91450e849cbb1622
2016-03-23 00:58:05 +00:00
Tomasz Mikolajewski
8e22d69df2 Make the accent color darker in DocumentsUI for better accessibility.
Bug: 27724950
Change-Id: I8c44ed6caf2b4e2933f8231e61cfbae00f4feecf
2016-03-22 13:43:06 +09:00
Doris Liu
95ee171e30 Merge "Refinement for onVisibilityAggregated" into nyc-dev 2016-03-16 23:55:04 +00:00
Benjamin Franz
f9124ecad9 Merge "Flush package restriction changes for a user." into nyc-dev 2016-03-16 23:51:44 +00:00
Roozbeh Pournader
886ad0690b Merge "Clean up BoringLayout#isBoring() a little" into nyc-dev 2016-03-16 23:46:53 +00:00
Chong Zhang
24aac8adc0 Merge "Apply temp inset bounds to child window if it's not empty" into nyc-dev 2016-03-16 23:41:38 +00:00
Ruben Brunk
82746b0a75 Merge "Chaser patch for AppOps restriction changes." into nyc-dev 2016-03-16 23:36:19 +00:00
Chong Zhang
ae35fef616 Apply temp inset bounds to child window if it's not empty
bug: 27676101
bug: 27687126
Change-Id: Iab1129cc0224194e7a9d11d0454bc7af6897a6e8
2016-03-16 16:32:54 -07:00
Svetoslav Ganov
3084bb8719 Merge "Disallow disabling of the package installer" into nyc-dev 2016-03-16 23:32:26 +00:00
Roozbeh Pournader
276b1bc2ba Merge "Add emoji-related tests for the font chain" into nyc-dev 2016-03-16 23:31:16 +00:00
Ben Kwa
7705999afd Merge "DocsUI: Don't animate selection changes on all bind events." into nyc-dev 2016-03-16 23:26:52 +00:00
Meng Wang
34b90a8ce3 Merge "Add new key in CarrierConfigManager for ICCID display." into nyc-dev 2016-03-16 23:25:09 +00:00
Ben Kwa
db1f58a0a5 Merge "Add delete key support." into nyc-dev 2016-03-16 23:24:44 +00:00
Makoto Onuki
1b21124d12 Merge "Add "pm set-home-activity"" into nyc-dev 2016-03-16 23:14:04 +00:00
Ben Kwa
e0413ed38a Merge "DocsUI: Don't crash on invalid window sizes." into nyc-dev 2016-03-16 22:52:35 +00:00
Ben Kwa
1a63c613ea DocsUI: Don't crash on invalid window sizes.
Our layout code asserts when passed an (invalid) width of 0.  The assert
is unnecessary as we already handle this situation by always laying out
the content pane with a column count of at least 1.

Also, per Steve, bump the minimum column count in grid mode to 2.

BUG=27150284

Change-Id: I8aa87beaaf4907ef5248999d0c590deef732589f
2016-03-16 15:50:58 -07:00
Eino-Ville Talvala
61adad884b Merge "Adjust graphics dataspace references to new standard" into nyc-dev 2016-03-16 22:49:37 +00:00
Makoto Onuki
4828a59d68 Add "pm set-home-activity"
This is needed to change the default launcher on CTS for
ShortcutManager.

- When the default set with DPM.addPersistentPreferredActivity() is
still stronger.

- Ideally we should unify the code with HomeSettings, but I couldn't
find a good way to do this.

- I didn't make it to work to set the default for any intents
because building an intent filter from a command line would be
painful.

Bug 27548047

Change-Id: I66b153c20c7796147f77214b483112629f9d80c5
2016-03-16 15:21:56 -07:00
Meng Wang
6b2995ae14 Add new key in CarrierConfigManager for ICCID display.
Bug: 27574058
Change-Id: I74445c68f58e64a5baa87cd05fea9e91e59b0201
2016-03-16 15:09:17 -07:00
Etan Cohen
9597276801 [NAN] Refactor session lifecycle to clarify API & eliminate race conditions [DO NOT MERGE]
am: 2a73c7f  -s ours

* commit '2a73c7fb2a4aba4dd75341414f1583e5fb1f4613':
  [NAN] Refactor session lifecycle to clarify API & eliminate race conditions [DO NOT MERGE]
2016-03-16 21:56:24 +00:00
Daniel Estrada Alva
5e19f91585 Merge "Update ContextHubManager's System APIs." into nyc-dev 2016-03-16 21:49:12 +00:00
Roozbeh Pournader
3cf8208a62 Clean up BoringLayout#isBoring() a little
No functional change. Just some renames and clarifications.

Bug: 23641693
Bug: 27702584
Change-Id: I14efe290a27c695ab79bbb18f9f069c8a2d3ffd6
2016-03-16 14:48:39 -07:00
Jean-Michel Trivi
400349907e Merge "Dynamic audio policies: device type and address" into nyc-dev 2016-03-16 21:31:09 +00:00
Tenghui Zhu
71e806b2f4 Merge "Add fillType support to VectorDrawable" into nyc-dev 2016-03-16 21:13:24 +00:00
Eric Laurent
495defd74f Merge "AudioService: do not persist mic mute and master mute" into nyc-dev 2016-03-16 21:09:31 +00:00
destradaa
8bad3fec0f Update ContextHubManager's System APIs.
- Consolidates the use of handles in context hub, and nano apps.
- Quick fixes to typos.
- Update the signature to find nano apps to use primitive types

Change-Id: Icffa6fa86e0e33a536516d98bc4674c0a39b2163
2016-03-16 14:05:58 -07:00
Roozbeh Pournader
fa1facc0fd Add emoji-related tests for the font chain
1. Check that all emoji characters are supported in emoji fonts.

2. Check that no default-emoji characters are included in any font
that can get a higher score then the color emoji font, either by
being before it or by having a language/script assigned.

Bug: 26187231

Change-Id: Ic76bf59f1c6f9d2d290b1b64128d725ae08dcb5c
2016-03-16 13:57:22 -07:00
Jeff Sharkey
215fe69342 Merge "Remove references to Google packages." into nyc-dev 2016-03-16 20:55:48 +00:00
Aga Wronska
5ecade7512 Merge "Revert "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%." It ia causing tests failures and exception at the app start." into nyc-dev 2016-03-16 20:54:42 +00:00
Jeff Sharkey
237db27c58 Remove references to Google packages.
Bug: 26441633
Change-Id: Iba6566215e2b6d224fd3b9c11d086f5c2db87dca
2016-03-16 14:54:09 -06:00
Ben Kwa
eb61aac503 Add delete key support.
- Pull the action mode up from the ActionMode listener into the
  DirectoryFragment.  There is no way to globally check on action mode,
  so fragment-level coordination on the action mode requires a
  fragment-level variable.

- Add a key handling clause for the delete key.  Unfortunately this
  can't be set up as a shortcut key, because shortcuts all have to be
  modified with the "Ctrl" key.

BUG=27409328

Change-Id: I48d1c87613ee7434728828e3b745fadb3bc915c1
2016-03-16 13:53:07 -07:00
Jeff Sharkey
c4b0ade245 Merge "Defuse Bundles parsed by the system process." into nyc-dev 2016-03-16 20:52:05 +00:00
Aga Wronska
f3244e870e Revert "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%."
It ia causing tests failures and exception at the app start.

This reverts commit d35a974b76.

Change-Id: I2577f723a7e25d4dcc12050791c65a900ac41f7d
2016-03-16 13:49:58 -07:00
Jeff Sharkey
d136e51a99 Defuse Bundles parsed by the system process.
It's easy for apps to throw custom Parcelables into Bundles, but
if the system tries peeking inside one of these Bundles, it triggers
a BadParcelableException.  If that Bundle was passed away from the
Binder thread that delivered it into the system, we end up with a
nasty runtime restart.

This change mitigates this trouble by "defusing" any Bundles parsed by
the system server.  That is, if it encounters BadParcelableException
while unpacking a Bundle, it logs and delivers an empty Bundle as
the result.

Simultaneously, to help catch the system process sticking its
fingers into Bundles that are destined for other processes, a Bundle
now tracks if it's "defusable."  For example, any Intents delivered
through ActivityThread are marked as being defusable, since they've
arrived at their final destination.  Any other Bundles are considered
to be "in transit" and we log if the system tries unparceling them.

Merges several Parcel boolean fields into a flags int.  Add better
docs to several classes.

Bug: 27581063
Change-Id: I28cf3e7439503b5dc9a429bafae5eb48f21f0d93
2016-03-16 14:45:26 -06:00
Winson Chung
5c4eeb9845 Merge "Converting empty graphic to vector drawable." into nyc-dev 2016-03-16 20:35:21 +00:00
Adam Powell
9c146bfee7 Refinement for onVisibilityAggregated
Change the args for onVisibilityAggregated to a single boolean for
visibility to the user. Also fix an ordering bug that could trigger a
view background drawable call to setVisible before the view would
respond true to verifyDrawable, which caused issues with some apps.

Bug 27461617
Bug 27689884

Change-Id: I58bdc7c4364264f7fa0863689ba2b76df904ef81
2016-03-16 13:32:01 -07:00
Yigit Boyar
f1f8bfb764 Merge "DO NOT MERGE Fix conditional when checking for confirm key." into nyc-dev 2016-03-16 20:27:21 +00:00
Ben Kwa
7f245435c5 Merge "Add support for dpads." into nyc-dev 2016-03-16 20:24:09 +00:00
Chris Craik
140b2ac6db Merge "Remove unused include" into nyc-dev 2016-03-16 20:19:40 +00:00
Ben Kwa
415c0627b3 Merge "Fix band selection problems." into nyc-dev 2016-03-16 20:06:14 +00:00
Steve McKay
08e5936485 Merge "Don't allow selection in copy dest picker." into nyc-dev 2016-03-16 20:05:48 +00:00
Chris Craik
9aec632913 Remove unused include
This include breaks compilation when HWUI_NEW_OPS=false

Change-Id: Ia3167f1550167f96de83af4b2f25abd6903c4723
2016-03-16 13:04:03 -07:00
Peng Xu
83d0078f95 Merge "Fix NC caused by race condition in SystemSensorManager" into nyc-dev 2016-03-16 19:30:55 +00:00
Jean-Michel Trivi
4ad39885f2 Dynamic audio policies: device type and address
Store device type and address in audio mixes regardless of the
  mix route type, no "registration" field.
For LOOP_BACK mixes, assign the REMOTE_SUBMIX device type.

Bug 25448664

Change-Id: I8d59b2fd3e05b1dcf1081ad826f985f5e3e74769
2016-03-16 12:15:43 -07:00
Ben Kwa
a3c09b4b9b DocsUI: Don't animate selection changes on all bind events.
When directory contents update, this causes all items to be bound, which
can cause flickering even though item selection state hasn't changed.

Add a boolean var to trigger UI animations only when selection changes
are triggered by the selection manager.

BUG=27680153

Change-Id: I892d8111cf3ba7e1610d94af4a1a646f1cdb5546
2016-03-16 12:13:21 -07:00
Steve McKay
88edde4d33 Don't allow selection in copy dest picker.
Bug: 27490262
Change-Id: I1938a900cfd3693739c2ac10b5eea3176a4ca82c
2016-03-16 12:01:52 -07:00
Winson
952e8628ea Converting empty graphic to vector drawable.
Bug: 27154293
Change-Id: I2ee46bf5aa9ab7ad05c054363d53fdda0a3069dc
2016-03-16 11:40:45 -07:00
Chet Haase
d3eb078ac7 Merge "Document that Rect right/bottom are exclusive" into nyc-dev 2016-03-16 18:09:53 +00:00
Winson Chung
0747f58da8 Merge changes I3eba2cdb,Ie529f27e,I4f0290fa,I7fb1f704,I32b9dd59, ... into nyc-dev
* changes:
  Scroll to the launch-task when toggling overview.
  Ensure that recents toggles even in the empty state.
  Removing paging tuner setting.
  Updating empty state graphic.
  Fixing issue with the stack layout not being updated on config change.
  Ensuring that we evict ActivityInfos from the cache.
2016-03-16 18:07:13 +00:00
Teng-Hui Zhu
46591f4a2d Add fillType support to VectorDrawable
Default as non-zero, which is the same as SVG.
b/27533958

Change-Id: Id20e6d3493bb4d2b4b65d7f6cdb13586631c40e4
2016-03-16 11:03:27 -07:00