142087 Commits

Author SHA1 Message Date
riddle_hsu
3145b24902 [ActivityManager] Avoid keeping restarting home when only home activity exists.
Root Cause:
When there is only home activity existed,
updating home apk will call forceStopPackageLocked to finish the activity.
Then activity history becomes empty, then home will be launched,
but its package is still target to close that results a loop.

Solution:
If home activity has been force-stopped, do not stop the same home activity again.

Change-Id: Icff12028d407873c2e6f50a06bcad231b908ccbd
2014-07-04 17:01:56 +08:00
Narayan Kamath
82ff6ff549 Merge "Unhide." 2014-07-02 19:56:47 +00:00
Robin Lee
284d0906cd am 06505d23: am 1f0180bf: am 74803e55: Merge "Make misc config directory during user creation"
* commit '06505d234ddf66cb71d1f7defd096bdf68bc222d':
  Make misc config directory during user creation
2014-07-09 17:57:54 +00:00
Andy Hung
806114bc6f Add float support to ByteBuffer AudioTrack write
Change-Id: I887b944ea40966b9849bd08c093994049671c9b4
2014-07-09 17:48:24 +00:00
Narayan Kamath
eef6343703 Unhide.
Change-Id: I3e2b5703f83a87f3c7bb1e4f4be373e38f4f00eb
2014-07-08 17:26:08 +01:00
Julia Reynolds
16f54aadcf Merge "Restrict factory reset with user restrictions." 2014-07-08 02:17:58 +00:00
Julia Reynolds
fe05380984 Restrict factory reset with user restrictions.
Bug: 15985879
Change-Id: I524bd8a790798a85a679aa195e634f6e0227d09f
2014-07-09 11:52:42 -04:00
Robert Ly
63c2d7d943 am 9a529d1b: am 6f52e7be: Merge "docs: fix link to messages doc" into klp-modular-dev
* commit '9a529d1b31219c509f91b7bd5ae16c5be3375709':
  docs: fix link to messages doc
2014-07-09 15:12:17 +00:00
Brian Carlstrom
2194963181 am ce75618e: am 5aba0149: am b85afb38: Merge "Make dex2oat heap size product configurable [frameworks/base]"
* commit 'ce75618e12deebe302c551281ce56c0d60138e0f':
  Make dex2oat heap size product configurable [frameworks/base]
2014-07-09 15:07:35 +00:00
Niels Egberts
4143bc5f09 Merge "Add TtsSpan class." 2014-07-02 19:53:18 +00:00
Niels Egberts
4f4ead4812 Add TtsSpan class.
The TtsSpan can be used to provide addtional data for  TTS engines.

For now it only includes the types text and cardinals, but more will follow.

Change-Id: I31392dd413c0902ba4ce702fa3307253c90c618f
2014-07-07 20:25:44 +00:00
Fabrice Di Meglio
f9499b36e6 Add PreferenceFragment styling
- add the capability to specify a specific layout for PreferenceFragment

Change-Id: I2fa36b8fa8110e6cbc8006e1d000dc90ae6a5f0b
2014-07-07 20:08:27 +00:00
Jeff Sharkey
56d69f01a7 Merge "Offer to scan cluster packages at boot." 2014-07-07 17:47:39 +00:00
Jeff Sharkey
65b1a7c0ba Offer to scan cluster packages at boot.
Bug: 14975160
Change-Id: Ib637f68354b3d4ce4b5b23d875d8e94ccd497fd2
2014-07-08 01:04:51 -07:00
Jeff Sharkey
d746057f24 Change new file installs to be cluster-based!
Now that all the other pieces are in place, we're ready to start
installing new file-based packages as a cluster (the new unified
directory-based layout).  This greatly simplifies the renaming
process.

Also add helper methods to ApplicationInfo to give a much clearer
mapping between it and internal field names, since we can't change
the public API.

Add recursive restorecon().

Bug: 14975160
Change-Id: I72a63c5ddbc594c2fec4a91dd59f73ef253fbfd7
2014-07-08 00:38:57 -07:00
Wonsik Kim
1e47ff9f8f Merge "Implement support for buffer producer profile" 2014-07-02 20:35:42 +00:00
Wonsik Kim
0b2691b687 Implement support for buffer producer profile
Bug: 15177117
Change-Id: I7776a8b2959281f10cba742ab75f15f80f6feecf
2014-07-08 15:52:00 +09:00
John Spurlock
8845da77bb Cut volume dialog timeout in half for media.
Bug:15849635
Change-Id: I84078c62db082293fb0153e378055c0279989e3c
2014-07-07 22:07:48 -04:00
John Spurlock
0429001ed5 Increase touch feedback area for plus/minus buttons.
Bug:15831713
Change-Id: I6ae067eaf71c292be6cbeb0176131800d6486711
2014-07-07 21:12:35 -04:00
Alan Viverette
999a7389fc Merge "Make the positive dialog button use accent color" 2014-07-07 18:07:48 +00:00
Alan Viverette
d04675d507 Make the positive dialog button use accent color
BUG: 16134401
Change-Id: Icada7415328cea16288824f75049a2952303841f
2014-07-07 17:53:57 -07:00
Alan Viverette
b0250c2c91 Merge "Fix layer drawable inflation" 2014-07-07 18:07:48 +00:00
Alan Viverette
9e6f9924c4 Fix layer drawable inflation
Change-Id: I2f16e3ddea919c33dc7b62f457a994e6d8a66e5b
2014-07-07 17:12:42 -07:00
Craig Stout
9eef3f4fb9 NumberPicker fixes for Android TV.
Fixed stuck dpad navigation when end of range is reached.
Adds theme attribute 'hideWheelUntilFocused'.

b/15194230

Change-Id: I9a77c6ad29a1fd930a8920d9944ad1eb15ca6b96
2014-07-08 00:10:05 +00:00
Alan Viverette
13d965485e Fix build
Change-Id: I20f3ae19bd6d7cdc6dd6b9e947bdfea38893a167
2014-07-07 23:30:56 +00:00
Jeff Sharkey
98d2948908 Merge "Change new file installs to be cluster-based!" 2014-07-07 17:47:39 +00:00
Dongwon Kang
b93ccca613 Add onChannelRetuned callback in TV Input Framework.
Use cases:
  - Channel change from STB which is bound to a TV input.

Bug: 14126559
Change-Id: Icddab61be6cb11162c03960fdb41fee8504bcd61
2014-07-08 14:46:20 +09:00
Winson Chung
88085ad05b Merge "Refactoring to support groups." 2014-07-07 17:47:39 +00:00
Winson Chung
ffa2ec6644 Refactoring to support groups.
- Removing RecentService, determining animations just in time
- Fixing a few issues with animations of newly picked up tasks from the pool
- Moving helper classes into sub package

Change-Id: Ie10385d1f9ca79eea918b16932f56b60e2802304
2014-07-07 17:33:31 -07:00
Craig Mautner
95f621a1a4 am 3bc1bafa: am 6d6d2189: am 08881385: Merge "[ActivityManager] Prevent potential deadlock from system error dialog and InputMethodManager."
* commit '3bc1bafabaedffede8963703cf3bfde2054ef91a':
  [ActivityManager] Prevent potential deadlock from system error dialog and InputMethodManager.
2014-07-07 21:30:57 +00:00
Ricardo Cervera
26098f3b5b am b9c27e40: am fc55076b: Merge "docs: Minor fix in the Building Your Project with Gradle guide" into klp-modular-dev
* commit 'b9c27e40addb72551dd1938a5a54aa1c56e2a6c5':
  docs: Minor fix in the Building Your Project with Gradle guide
2014-07-07 21:19:30 +00:00
dcashman
5984ac40e4 Merge "Record properSigningKeySet values to packages.xml" 2014-07-06 02:28:07 +00:00
dcashman
3a0dbfb206 Record properSigningKeySet values to packages.xml
PackageKeySetData records all of the defined keysets which are a subset of an
apk's signing keyset.  It also records the original superset for all of these
in an easy-to-access 'proper' signing-keyset which is consulted as the official
source for a package.  This value was not being recorded, causing
PackageManager to re-gather the certificates for a package on each boot after
a fix for a different bug.  Record it.

Bug: 16076095
Change-Id: If5a7f6d70dd4784284d7bab466dab0311aa13c28
2014-07-07 14:09:37 -07:00
Brian Carlstrom
9d5e7dbcf1 am 1f8eb4a6: (-s ours) am 044492e1: am 52a154fe: Merge "Remove"
* commit '1f8eb4a6b0c9e8aa349212318b416e2d05b8c23c':
  Remove
2014-07-07 21:08:48 +00:00
Julia Reynolds
5e458dd6b4 Apply user restrictions to SettingsProvider.
Change-Id: If68c715bc688bf0df63591e0b8f8bf8a2b6dd118
2014-07-07 20:09:23 +00:00
Mike Reed
f16c5e7ae0 Merge "kNative_8888_SkColorType is now kN32_SkColorType" 2014-07-02 20:00:08 +00:00
Mike Reed
4a9c3891d4 kNative_8888_SkColorType is now kN32_SkColorType
Change-Id: I13421a21de611203c62c1c1c36570a8cc803907b
2014-07-07 15:47:55 -04:00
Alan Viverette
2a0d4a1fff Merge "Update AnimatedStateListDrawable to work with Animatable drawables" 2014-07-07 17:47:39 +00:00
Roozbeh Pournader
034b20c102 Subset Droid Sans Fallback to remove duplicate coverage.
Removes all characters that are already supported by either Roboto or the
expanded Noto Sans Symbols font.  The Droid Sans Fallback fonts are also
passed through the fonttools subsetter to recompress the tables and convert
the post table to version 3.0.  This change reduces the size of the files by
about 270KB each.

The following characters are removed:
0021..007E, 00A0..00A1, 00A4, 00A7..00A8, 00AA..00AB, 00AD..00B4,
00B6..00BF, 00C6, 00D0, 00D7..00D8, 00DE..00E1, 00E6, 00E8..00EA,
00EC..00ED, 00F0, 00F2..00F3, 00F7..00FA, 00FC, 00FE, 0101, 0111, 0113,
011B, 0126..0127, 012B, 0131..0133, 0138, 013F..0142, 0149..014B, 014D,
0152..0153, 0166..0167, 016B, 01C0..01C3, 01CE, 01D0, 01D2, 01D4, 01D6,
01D8, 01DA, 01DC, 021A..021B, 0250..02B2, 02B4, 02B7, 02BB..02BC,
02C7..02CD, 02D0..02D1, 02D8..02DB, 02DD..02DE, 02E0, 02E4, 0300..0301,
0303..0304, 0306, 0308, 030A..030B, 030F..0334, 0339..033D, 035C, 0361,
0391..03A1, 03A3..03A9, 03B1..03C1, 03C3..03C9, 0401, 0410..044F, 0451,
200C..2011, 2013..2016, 2018..2019, 201C..201D, 2020..2022, 2025..2027,
2030, 2032..2033, 2035, 203B..203C, 203E, 2047..2049, 2074, 207F,
2081..2084, 20A0..20B9, 2103, 2105, 2109, 2111, 2113, 2116, 2118, 211C,
2121..2122, 2126, 212B, 2133, 2135, 2153..2154, 215B..215E, 2160..216B,
2170..2179, 2190..2200, 2202..2203, 2205, 2207..2209, 220B..220C, 220F,
2211, 2215, 2217, 221A, 221D..2220, 2223, 2225, 2227..222C, 222E,
2234..2237, 223C..223D, 2245, 2248, 224C, 2252, 2260..2261, 2264..2267,
226A..226B, 226E..226F, 2282..2287, 2295, 2297, 2299, 22A5, 22BF, 22C5,
2308..230B, 2312, 23AF, 2460..24B5, 24D0..24E9, 2500..254B, 2550..2574,
2581..258F, 2592..2595, 25A0..25A1, 25A3..25AA, 25B2..25B3, 25B6..25B7,
25BA, 25BC..25BD, 25C0..25C1, 25C6..25C9, 25CB, 25CE..25D1, 25E2..25E6,
25EF, 2605..2606, 260E..260F, 261C, 261E, 2640, 2642, 2654..266A,
266C..266D, 266F, 2680..2685, 2701..2704, 2706..2709, 270C..2727,
2729..274B, 274D, 274F..2752, 2756, 2758..275E, 2761..2794, 2798..27AF,
27B1..27BE, 2985..2986, 3008..3009, FFFD

Bug: 15348046
Change-Id: I1d4751b6f79a4c6de23910c983f2f09c9460b160
2014-07-07 19:39:25 +00:00
Dianne Hackborn
904a1045ce Merge "Fix cleanup of voice sessions." 2014-07-07 17:47:39 +00:00
Brian Carlstrom
e2dd396cef Remove
Change-Id: Ia2fa4ebae090838c2bf7bc96edc38a85fe3059dd
2014-07-07 11:30:16 -07:00
Dianne Hackborn
6ea0d0a259 Fix cleanup of voice sessions.
They would leave active voice activities lingering around.

Change-Id: I5b6716ab303636ebdf2f13c3172552a73dae3bb1
2014-07-07 11:28:29 -07:00
John Reck
3c2b7fa8c5 Add missing requireGlContext
Change-Id: I7100e5e9986f502f66a23ecea07a6057522c43ac
2014-07-07 18:05:00 +00:00
John Reck
32fb6307de Fix VPA.cancel()
Bug: 15978905

 Need to make sure we re-sync the UI properties on animator cancel, also
 don't animate for 1 frame after cancel() is called

Change-Id: Ib660c0fb195b9f02bd795d03d43ea67bffebb499
2014-07-07 18:04:44 +00:00
Robert Ly
657bb84593 am ec5bb62a: am d1e3afb5: Merge "docs: update device dashboard for july" into klp-modular-dev
* commit 'ec5bb62ae7303338c1ed21f02340df80729bf177':
  docs: update device dashboard for july
2014-07-07 17:56:19 +00:00
Robert Ly
fcd21b16be am 36c6803a: am b50dd5a2: Merge "docs: fix links" into klp-modular-dev
* commit '36c6803a97de380152b8affd8cdaa4178a56f97e':
  docs: fix links
2014-07-07 17:56:13 +00:00
Craig Stout
f209ef9c3a Fix TextView drawing issue.
The predraw listener was lost because the view was detached and reattached
after layout but before the first draw.

b/15376022

Change-Id: Idf38f7373df3c457f54b6e3f995b00256914f775
2014-07-07 17:43:52 +00:00
Roozbeh Pournader
0abd8a79cc Merge "Reduce Roboto's footprint by 1012KB." 2014-07-06 02:28:07 +00:00
Emily Bernier
92aa5a2f15 Re-commit of reverted change 458959
Using correct parameters for Slog.w().

Change-Id: I0ab7a1b114431f15fe3652e98c75e7baab7a2d95
2014-07-07 19:22:06 +00:00
Chris Craik
59744b79ec Add hack for custom re-rasterization buckets
bug:14083128

Moves all of the font transform management into
OpenGLRenderer::findBestFontTransform(), and now simply passes down
final rasterization transforms into the FontRenderer.

Change-Id: Ie02752e6af863347b142367c7d628db5f9fc2998
2014-07-07 19:14:55 +00:00