154997 Commits

Author SHA1 Message Date
Dianne Hackborn
a42f7c1d42 Merge "Be increasingly aggressive about fstrim if it isn't being run" into lmp-dev 2014-11-26 01:32:54 +00:00
Rich Slogar
0ed88b9a2e docs:advmgr-updates
Change-Id: I4895f8dc91d0397a615a358d97cbd229b171f507
2014-11-25 16:40:28 -08:00
Christopher Tate
7265abe77a Be increasingly aggressive about fstrim if it isn't being run
The current heuristics depend on devices being alive at midnight+ in
order to run periodic background fstrim operations.  This unfortunately
means that people who routinely turn their devices off overnight wind
up with their devices *never* running fstrim, and this causes major
performance and disk-life problems.

We now backstop this very-friendly schedule with an increasingly
aggressive one.  If the device goes a defined time without a background
fstrim, we then force the fstrim at the next reboot.  Once the
device hits the midnight+ idle fstrim request time, then we already
aggressively attempt to fstrim at the first available moment
thereafter, even if it's days/weeks later without a reboot.

'Available' here means charging + device idle.  If the device never
becomes idle then we can't do much without rendering an in-use device
inoperable for some number of minutes -- but we have no evidence of
devices ever failing to run fstrim due to this usage pattern.

A new Settings.Global element (type 'long', called
"fstrim_mandatory_interval") is the source of the backstop time.  If
this element is zero or negative, no mandatory boot-time fstrim will
ever be performed.  If the element is not supplied on a given device,
the default backstop is 3 days.

Adds a new string to display in the upgrading dialog when doing
the fstrim.  Note it is too late for this to be localized, but since
this operation can take a long time it is probably better to have
it show *something* even if not localized, rather than just sit there.

Bug 18486922

Change-Id: I5b265ca0a65570fb8931251aa1ac37b530635a2c
2014-11-25 16:35:06 -08:00
smain@google.com
9da0881ffb am 59f4624a: am be718f7c: Merge "add wear design guide for contextual apps" into lmp-docs
* commit '59f4624a378ac29c9bb98ea6e800077919e4c8bf':
  add wear design guide for contextual apps
2014-11-26 00:31:54 +00:00
smain@google.com
59f4624a37 am be718f7c: Merge "add wear design guide for contextual apps" into lmp-docs
* commit 'be718f7cebd3e09eaa2a432d044a8305dc7b8428':
  add wear design guide for contextual apps
2014-11-26 00:26:15 +00:00
smain@google.com
be718f7ceb Merge "add wear design guide for contextual apps" into lmp-docs 2014-11-26 00:18:59 +00:00
smain@google.com
98ee16c52a add wear design guide for contextual apps
Change-Id: I2c5709f02352def34c5c6a0c7dcf7193ebd58e4f
2014-11-25 16:12:48 -08:00
padarshr
ddd9c2b97d am 1586b9c3: Start MountService before performBootDexOpt
* commit '1586b9c33ed8429b8dbbe15ce3316a2d1a73977a':
  Start MountService before performBootDexOpt
2014-11-25 23:43:19 +00:00
padarshr
1586b9c33e Start MountService before performBootDexOpt
This change is to start Mountservice before starting
performBootDexOpt, as in one case, in performBootDexOpt
when system upgrade happens, StorageManager will be started to
get the low threshold of DataDir. But, at this point, as
Mountservice is still not up, StorageManager will end up
having a null object of Mountservice.

Change-Id: If2b5e1b58e7d2a72c6313f196e98a68738295ec6
2014-11-25 15:30:02 -08:00
Natalie Masse
65e51fcda2 am d7c7d275: am 77283ec9: Merge "Fixed NullPointerException due to null Bundle, changed time interval from ms to seconds as per method documentation" into lmp-docs
* commit 'd7c7d275e77ffcae7498df7f75142e68e1b5123c':
  Fixed NullPointerException due to null Bundle, changed time interval from ms to seconds as per method documentation
2014-11-25 11:15:24 +00:00
Natalie Masse
d7c7d275e7 am 77283ec9: Merge "Fixed NullPointerException due to null Bundle, changed time interval from ms to seconds as per method documentation" into lmp-docs
* commit '77283ec981fc022cd26ced1e44ad21cdc0b2e4ae':
  Fixed NullPointerException due to null Bundle, changed time interval from ms to seconds as per method documentation
2014-11-25 11:10:09 +00:00
Natalie Masse
77283ec981 Merge "Fixed NullPointerException due to null Bundle, changed time interval from ms to seconds as per method documentation" into lmp-docs 2014-11-25 11:05:52 +00:00
Dirk Dougherty
d23a8692ac am 14e40f04: am fd117ff2: Doc change: zh-cn translation of Android L overviews. cherrypick from I56d1ce58e10b83d10d0077cc9dfbeb04f090b861
* commit '14e40f042f17ae9e596ba6db7ff11c230796f193':
  Doc change: zh-cn translation of Android L overviews. cherrypick from  I56d1ce58e10b83d10d0077cc9dfbeb04f090b861
2014-11-25 02:51:10 +00:00
Dirk Dougherty
14e40f042f am fd117ff2: Doc change: zh-cn translation of Android L overviews. cherrypick from I56d1ce58e10b83d10d0077cc9dfbeb04f090b861
* commit 'fd117ff2a4a8edd570ccaedd0cd769613ad4ef74':
  Doc change: zh-cn translation of Android L overviews. cherrypick from  I56d1ce58e10b83d10d0077cc9dfbeb04f090b861
2014-11-25 02:20:36 +00:00
Dirk Dougherty
fd117ff2a4 Doc change: zh-cn translation of Android L overviews.
cherrypick from  I56d1ce58e10b83d10d0077cc9dfbeb04f090b861

Change-Id: Ic02b747917b11a88c2adf38a73c046dc32af6ce9
2014-11-24 17:39:14 -08:00
David Friedman
6c4c8c57fe Updates GMSCore docs to reflect ability to selectively include APIs
Bug 16679117

Change-Id: Idb5df2869129972a8834118047dfcd23e5140847
2014-11-24 14:11:50 -08:00
smain@google.com
75cd7c74ab am 5f3ba993: am 1b23ee96: Merge "add intro videos (w/ shadowbox) to Auto and Wear landing pages." into lmp-docs
* commit '5f3ba99376a7d01a4d142f2e34576202870b0a46':
  add intro videos (w/ shadowbox) to Auto and Wear landing pages.
2014-11-24 19:02:34 +00:00
smain@google.com
5f3ba99376 am 1b23ee96: Merge "add intro videos (w/ shadowbox) to Auto and Wear landing pages." into lmp-docs
* commit '1b23ee962a1ce0963537810724b2be61c0ab8c57':
  add intro videos (w/ shadowbox) to Auto and Wear landing pages.
2014-11-24 18:55:57 +00:00
smain@google.com
1b23ee962a Merge "add intro videos (w/ shadowbox) to Auto and Wear landing pages." into lmp-docs 2014-11-24 18:51:03 +00:00
Natalie Masse
e24908e342 Fixed NullPointerException due to null Bundle, changed time interval from ms to seconds as per method documentation
Change-Id: Ie433d4bfd7ac7fd2e524a201497c250a7aede47d
2014-11-24 18:38:00 +00:00
Geoff Mendal
3a013dab15 Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev 2014-11-24 18:18:15 +00:00
John Reck
2b36a86b8e Wire up surface width/height to lockHardwareCanvas DO NOT MERGE
Bug: 18338026
Change-Id: I6c37774ef1312278ae81280561060662fef923fb
(cherry picked from commit b35c9602cf5c628c621e4fe102a461505f302bfe)
2014-11-24 17:59:38 +00:00
smain@google.com
43eabc8f13 add intro videos (w/ shadowbox) to Auto and Wear landing pages.
Change-Id: Ieb730416b7a469c7cbd0e80d1e9f74f14a7adb70
2014-11-24 09:25:00 -08:00
Geoff Mendal
234e25fbda Import translations. DO NOT MERGE
Change-Id: Ia6e19184b9f8f2ef31f1ea94263fe1090333837e
Auto-generated-cl: translation import
2014-11-24 08:51:30 -08:00
Jeff Brown
3d110b2391 Make WallpaperService watch the actual display state.
Bug: 18471411
Change-Id: Ie9d2e70e4e105dfbb2cb4d9726f632bcf2cc0a31
2014-11-22 03:25:39 +00:00
Joe Fernandez
fbdfdef43d am 9034ead0: am 5b94d00b: docs: URGENT Removing Chinese Lollipop translations, fixing zh-cn resources
* commit '9034ead0ba8ce1d0c8c162d9516ca188b783d407':
  docs: URGENT Removing Chinese Lollipop translations, fixing zh-cn resources
2014-11-21 20:37:02 +00:00
Joe Fernandez
9034ead0ba am 5b94d00b: docs: URGENT Removing Chinese Lollipop translations, fixing zh-cn resources
* commit '5b94d00b896b2bbc71a0c925e92e8c7e08978975':
  docs: URGENT Removing Chinese Lollipop translations, fixing zh-cn resources
2014-11-21 20:32:03 +00:00
Joe Fernandez
5b94d00b89 docs: URGENT Removing Chinese Lollipop translations, fixing zh-cn resources
- Chinese pages are showing Japanese (not good)
- Chinese resource page is not rendering because of bad video links

Change-Id: Ia4508c2db85b9cbd5bdad34ae8bedc411df98360
2014-11-21 20:27:13 +00:00
Scott Rowe
63108ee362 am 02cb1fe6: am 14f78ed7: Merge "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31" into lmp-docs
* commit '02cb1fe6c4a12c15ef44c2982fcab71ba6346c9b':
  docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31
2014-11-21 17:50:17 +00:00
Scott Rowe
02cb1fe6c4 am 14f78ed7: Merge "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31" into lmp-docs
* commit '14f78ed7b8c374017fa37f29cfed2208a072ea28':
  docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31
2014-11-21 17:41:06 +00:00
Scott Rowe
14f78ed7b8 Merge "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31" into lmp-docs 2014-11-21 17:34:29 +00:00
Jeff Brown
694c1d2b2d Merge "Support keeping activities resumed while dozing." into lmp-sprout-dev 2014-11-21 00:54:05 +00:00
Jeff Brown
fbe96706bb Support keeping activities resumed while dozing.
If the lock screen is not shown, then let activities keep running
while dozing.  This is important to support ambient mode on watches
since it allows the home app to keep running.

To make this possible, we need to inform the activity manager about
the exact wakefulness state, not just the overall boolean
interactive state.

Bug: 18284212
Change-Id: Ia35c99127ce51ffc178f3a2f51fca67d24061c71
2014-11-20 16:49:18 -08:00
Geoffrey Borggaard
90ed95faed am c3f5d718: Merge "Fix null handling in proxies." into lmp-dev
* commit 'c3f5d7183a21cb081bab1a6bca3fc115523e4e78':
  Fix null handling in proxies.
2014-11-20 20:59:00 +00:00
Geoffrey Borggaard
c3f5d7183a Merge "Fix null handling in proxies." into lmp-dev 2014-11-20 20:55:26 +00:00
Ricardo Cervera
8837ce2ce3 am e9b5dfc0: am 25bf00bc: docs: Fixes to the Data Layer Wear class.
* commit 'e9b5dfc0588010a97a561d3255ad35d10db000bc':
  docs: Fixes to the Data Layer Wear class.
2014-11-20 20:37:34 +00:00
Ricardo Cervera
161dce465e am c8543b4f: Merge "docs: Fixes to the Data Layer Wear class." into lmp-dev
* commit 'c8543b4f4661902371c16932faa109befb921345':
  docs: Fixes to the Data Layer Wear class.
2014-11-20 20:37:30 +00:00
Ricardo Cervera
e9b5dfc058 am 25bf00bc: docs: Fixes to the Data Layer Wear class.
* commit '25bf00bceed5b22f8750e68a45beb944a80773a8':
  docs: Fixes to the Data Layer Wear class.
2014-11-20 19:56:11 +00:00
Ricardo Cervera
25bf00bcee docs: Fixes to the Data Layer Wear class.
Bug: 17917638
Bug: 17917145
Bug: 17931937
Bug: 17933032
Bug: 16899307

Change-Id: Iee9fd0a44cd40b9860cf242cbdaabac409882a15
(cherry picked from commit eff209d2c40221d2f9be2fd6b0c9cde51dd5362b)
2014-11-20 19:51:25 +00:00
Ricardo Cervera
c8543b4f46 Merge "docs: Fixes to the Data Layer Wear class." into lmp-dev 2014-11-20 19:49:53 +00:00
Geoffrey Borggaard
79adc958e5 Fix null handling in proxies.
ProxyInfo.getPacFileUrl() can not be null.  It will be equal to
Uri.EMPTY.  Checking for null was causing global proxies to never be
disabled.  Or more accurately, global proxies would be disabled, but
would reappear after a reboot.

ProxyInfo.getExclusionListByString() can be null.  If no
exclusion list was specified, the proxy settings would not be
successfully saved, they would disappear after reboot.

Bug: 18453223
Change-Id: I1c27e5dca5b9664bb7468ea909bff489fa110a07
2014-11-20 19:48:20 +00:00
Filip Gruszczynski
96c5d37fb5 Merge "SwipeDismissLayout makes activity opaque only after entry animation ends." into lmp-sprout-dev 2014-11-20 15:51:09 +00:00
Deepanshu Gupta
cb09bc45c5 Fix typos in previous bugfixes.
The commits 2c9fbdd and 12b6d29 introduced minor bugs. This change fixes
them.
2014-11-20 13:35:47 +00:00
Andrew Solovay
b5b9c9b589 am c79173c7: am 05282133: Merge "docs: Bugfix & minor cleanup for "Providing Messaging for Auto"" into lmp-docs
* commit 'c79173c7da4de4d809d3b5492e5433393193a652':
  docs: Bugfix & minor cleanup for "Providing Messaging for Auto"
2014-11-20 01:46:14 +00:00
Elliott Hughes
4db3fc1c28 am 03c80408: am 6c43e6b5: Fix and be more explicit about plurals best practices.
* commit '03c80408d2651bcfaa707233cd0b54b7a8ca57ad':
  Fix and be more explicit about plurals best practices.
2014-11-20 01:40:00 +00:00
Andrew Solovay
c79173c7da am 05282133: Merge "docs: Bugfix & minor cleanup for "Providing Messaging for Auto"" into lmp-docs
* commit '05282133c7491fd2b5e8f3da05408ff0165df526':
  docs: Bugfix & minor cleanup for "Providing Messaging for Auto"
2014-11-20 01:32:30 +00:00
Andrew Solovay
05282133c7 Merge "docs: Bugfix & minor cleanup for "Providing Messaging for Auto"" into lmp-docs 2014-11-20 01:27:51 +00:00
Elliott Hughes
03c80408d2 am 6c43e6b5: Fix and be more explicit about plurals best practices.
* commit '6c43e6b54d7d540e579d2dff8c9cff981cb5ca4a':
  Fix and be more explicit about plurals best practices.
2014-11-20 01:21:40 +00:00
Elliott Hughes
6c43e6b54d Fix and be more explicit about plurals best practices.
The "one" case should always include %d. Say so, and fix our examples.
Also make it clear that developers should always provide exactly "one"
and "other".

Bug: 18429565

(cherry picked from commit 1fe7d496db1ddc73289e6aae11f4dd4a970141d5)

Change-Id: I89656c74b7dfd91584e1bb6d0a3f2da1dda81079
2014-11-19 16:38:39 -08:00
Dirk Dougherty
4d82f8ad32 am ef629f1f: am a79acc03: Doc change: localized content.
* commit 'ef629f1f9feada596a0c41b55daa0e859e24312e':
  Doc change: localized content.
2014-11-20 00:08:05 +00:00