We have to change the color only in a specific place,
not the accent color everywhere.
This reverts commit 8e22d69df2.
Change-Id: I6d712fc1d0275f91b20ff90f91450e849cbb1622
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
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
- 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
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
- 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
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
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
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
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
* 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.