177902 Commits

Author SHA1 Message Date
Bryce Lee
cb8f188191 Only enable theater mode by button press after setup.
Bug: 21751167
Change-Id: I7f69ff767aaea97829e8eb6f5f13faace1aae416
2015-06-25 10:54:06 -07:00
Wale Ogunwale
78a22fd273 Prevent system uid component from running in an app process
Bug: 21669445
Change-Id: I792c6e676d4b6d54a51228d264130b8125075d98
2015-06-25 09:29:58 -07:00
Anthony Hugh
a50fa71044 am 001df9ca: DO NOT MERGE: Introduce stem keycodes for Wear
* commit '001df9ca900f3098222a4920a0048d2eb947bd4e':
  DO NOT MERGE: Introduce stem keycodes for Wear
2015-06-25 01:27:41 +00:00
Joe Fernandez
58f212f009 docs: Preview 2 - Update downloads page
Change-Id: I931240e1f5b871fa5a2366fd0a2f98cd68c7b7ee
2015-06-24 17:02:55 -07:00
Prashant Malani
753e9e0f2d Revert "Always re-establish kernel alarms when considering new alarm set"
This reverts commit c83d3e4b72f8f25bbac39a577f125f0ca04354da.

While the above patch does help deal with the issue of "lost" kernel
alarms, experiments found it to also cause the unnecessary duplicate
setting of non-lost alarms in other devices.

This leads to a situation where the CPU constantly tries to sleep, but
occasionally keeps failing to do so, because of a collection of these
duplicate alarms constantly activating the "alarm" kernel wakeup source
, presumably due to them being triggered.

These might have accumulated over several iterations when the kernel
alarms were set again (via rescheduleKernelAlarmsLocked()).

To prevent the CPU thrashing (which heavily drains power on more
battery-constrained devices, and increases the number of alarms being
set), the aforementioned commit is backed out.

Change-Id: I2a189cb303deb78a2faf476b0e789445407f3e11
(cherry picked from commit d19ffd4f2ca4130c41dd5f6baddad1830598ecbc)
2015-06-24 23:41:57 +00:00
Anthony Hugh
001df9ca90 DO NOT MERGE: Introduce stem keycodes for Wear
Cherry-pick from master

This change adds four new stem keycodes for Android Wear. These
keycodes are intended to represent the various hardware buttons
around the watch.  There is one primary stem key that will be used
for power/settings and three generic stem keys that will be
customizable.

BUG: 21903503
Change-Id: I867cf79554c72d42c8acbb3ff8b1678e482d4fe2
2015-06-24 16:13:19 -07:00
Wale Ogunwale
dd673a63a6 Prevent system uid component from running in an app process
Bug: 21669445
Change-Id: I11d0bc5301d7e2a64972221f54f3cbd611f8e404
(cherry picked from commit 44368567f840e3469b5fd2c9399ed444b6f46ebf)
2015-06-24 22:02:05 +00:00
Wale Ogunwale
5a487696e2 Prevent system uid component from running in an app process
Bug: 21669445
Change-Id: I11d0bc5301d7e2a64972221f54f3cbd611f8e404
(cherry picked from commit 44368567f840e3469b5fd2c9399ed444b6f46ebf)
2015-06-24 22:01:15 +00:00
Joe Fernandez
1ee8470ca3 am 3eefa1f9: Merge "docs: Update Android support page" into mnc-preview-docs
* commit '3eefa1f9de9e6466251373074f3c720936b62a8c':
  docs: Update Android support page
2015-06-24 21:38:28 +00:00
Joe Fernandez
3eefa1f9de Merge "docs: Update Android support page" into mnc-preview-docs 2015-06-24 21:30:04 +00:00
Joe Fernandez
c5ab38f4af docs: Update Android support page
- remove Helpouts
- remove Merchant issue reporting link
- remove other dead links
- clean up page code

b\18579472
b\19355066

Change-Id: If55aa57b11604bdd328c55e26ad5bd4ba0b32de7
2015-06-24 14:26:37 -07:00
Robert Schaub
f496648e2d docs: Removed sentence from permissions doc
Bug: 21788582
Change-Id: Ifffed46dece0adb00671199c26c2fe995c4179ea
2015-06-24 13:19:49 -07:00
Andrew Solovay
f522215653 am 00ebd145: docs: Added "Single Use Devices" video to Android for Work main page
* commit '00ebd145d1572e0d12403ed0194d540926996f0e':
  docs: Added "Single Use Devices" video to Android for Work main page
2015-06-24 20:15:17 +00:00
Andrew Solovay
00ebd145d1 docs: Added "Single Use Devices" video to Android for Work main page
See first comment for doc stage location.

Change-Id: I0b64f8462eebc5d11c7972fd49147fdd1d6cdd3a
2015-06-24 11:56:56 -07:00
Luan Nguyen
c1b4b0580c am c5a480d1: am fdad629f: am 6859a9f0: Merge "docs: Pare down the adb guide and remove sections that are duplicated in the tools list." into lmp-docs
* commit 'c5a480d112f6ce8645d9e294c42b2baab3b56ab9':
  docs: Pare down the adb guide and remove sections that are duplicated in the tools list.
2015-06-24 15:16:57 +00:00
Luan Nguyen
c5a480d112 am fdad629f: am 6859a9f0: Merge "docs: Pare down the adb guide and remove sections that are duplicated in the tools list." into lmp-docs
* commit 'fdad629fc089783fa0b3caad62ba99a9083f8645':
  docs: Pare down the adb guide and remove sections that are duplicated in the tools list.
2015-06-24 15:05:13 +00:00
Luan Nguyen
fdad629fc0 am 6859a9f0: Merge "docs: Pare down the adb guide and remove sections that are duplicated in the tools list." into lmp-docs
* commit '6859a9f09049d1dc760b98a6cbb278b591de63a6':
  docs: Pare down the adb guide and remove sections that are duplicated in the tools list.
2015-06-24 14:51:30 +00:00
Luan Nguyen
6859a9f090 Merge "docs: Pare down the adb guide and remove sections that are duplicated in the tools list." into lmp-docs 2015-06-24 14:43:31 +00:00
Bryce Lee
91d2cbf447 am 65dca454: Merge "Turn off theater mode upon power button press." into cw-d-mr1-dev
* commit '65dca454c7a717b001b51d0089e7565ba428ce87':
  Turn off theater mode upon power button press.
2015-06-23 23:04:26 +00:00
Sharvil Nanavati
64a4858b32 resolved conflicts for merge of 7c250056 to lmp-mr1-ub-dev
Change-Id: I8ec2e76756e61a6e6bbe85ca699facbde1c1fbc7
2015-06-23 14:07:26 -07:00
Bryce Lee
65dca454c7 Merge "Turn off theater mode upon power button press." into cw-d-mr1-dev 2015-06-23 18:10:41 +00:00
Luan Nguyen
1afb2d5335 docs: Pare down the adb guide and remove sections that are duplicated
in the tools list.

bug: 12879186
Change-Id: Ic2d17ef29eac15a9ffc40e05b056dc17d71069e8
2015-06-22 17:00:02 -07:00
Dirk Dougherty
c8a94c5b6d am 813d974e: Doc change: Explicitly state the initial API level that supports maxSdkVersion attr in uses-permission.
* commit '813d974e33366aaeeb54e242e2767d4eeaf940dc':
  Doc change: Explicitly state the initial API level that supports maxSdkVersion attr in uses-permission.
2015-06-22 22:26:59 +00:00
Dirk Dougherty
813d974e33 Doc change: Explicitly state the initial API level that supports maxSdkVersion attr in uses-permission.
Change-Id: Ifb20f84560dc1c8655b8d216038a2b56777df460
2015-06-22 14:12:03 -07:00
Dirk Dougherty
bee8dc6275 am 19332345: Doc change: update main landing and distribute carousel items. Fix typo in Google Play card.
* commit '19332345516292c29bf1a52e896f7aba9bb30af6':
  Doc change: update main landing and distribute carousel items. Fix typo in Google Play card.
2015-06-22 20:35:02 +00:00
Andrew Solovay
d043297ef4 docs: Clarified when you can put the fragments in the root view.
Per bug b/10641907, putting fragments in the root view *only* works
if the device runs Android 3.0 or later. Chris and Adam say
we don't really want to suggest that work flow even for these devices,
so I'm taking that info out.

bug: 10641907
Change-Id: Ie44acbb534b8e0cea8dbbfaaf2c65836b1c31be6
2015-06-22 13:27:47 -07:00
Sharvil Nanavati
7c2500564b Dump bonded Bluetooth devices in dumpsys.
Change-Id: Ie509b0abc64cbc7813e9fe844ff4c05d8cb05f9d
2015-06-22 13:01:47 -07:00
Dirk Dougherty
1933234551 Doc change: update main landing and distribute carousel items. Fix typo in Google Play card.
Change-Id: I94b8cfbf5d0afab3d6e6db658a2e73817de9967c
2015-06-22 12:35:12 -07:00
Quddus Chong
0bdd320402 am 4437a129: Merge "docs: Add link from TV design page on DAC to Android TV spec on Google Design site. bug: 21786976" into mnc-preview-docs
* commit '4437a1294e26507449b48783a31b422d769af53b':
  docs: Add link from TV design page on DAC to Android TV spec on Google Design site. bug: 21786976
2015-06-19 23:49:15 +00:00
Quddus Chong
a5de0f30cf am cdc28652: Merge "docs: Updated Recommending TV Content lesson to support card customization. bug: 21787002" into mnc-preview-docs
* commit 'cdc28652601d977bd0964d088b9070f6d2ef32d9':
  docs: Updated Recommending TV Content lesson to support card customization. bug: 21787002
2015-06-19 23:49:11 +00:00
Quddus Chong
4437a1294e Merge "docs: Add link from TV design page on DAC to Android TV spec on Google Design site. bug: 21786976" into mnc-preview-docs 2015-06-19 23:37:43 +00:00
Quddus Chong
cdc2865260 Merge "docs: Updated Recommending TV Content lesson to support card customization. bug: 21787002" into mnc-preview-docs 2015-06-19 23:37:13 +00:00
Filip Gruszczynski
73187e5761 am dd91362c: Make sure home activity gets resumed after started.
* commit 'dd91362c2c65dbcd781034a16f293d5489946f3e':
  Make sure home activity gets resumed after started.
2015-06-19 23:28:10 +00:00
Joe Fernandez
765255b412 am 6f8dab04: Merge "Fixes a typo where parens were used instead of curly braces, preventing a link from being created at build time." into klp-modular-docs
* commit '6f8dab04572c772decef9b7ec5380f8e240a51ce':
  Fixes a typo where parens were used instead of curly braces, preventing a link from being created at build time.
2015-06-19 23:01:45 +00:00
David Friedman
c3fbb0ce6c am bee8d60a: Fixes a typo where parens were used instead of curly braces, preventing a link from being created at build time.
* commit 'bee8d60a1cdfb380904f8770d933e9031c7f9ff3':
  Fixes a typo where parens were used instead of curly braces, preventing a link from being created at build time.
2015-06-19 23:01:02 +00:00
David Friedman
bee8d60a1c Fixes a typo where parens were used instead of curly braces, preventing
a link from being created at build time.

Change-Id: I4086ce5054cc2d5cacd72314810b626aee50df62
(cherry picked from commit e62f4540cd6ce6289fb0196c8e30c3a3d6905794)
2015-06-19 22:49:40 +00:00
Joe Fernandez
6f8dab0457 Merge "Fixes a typo where parens were used instead of curly braces, preventing a link from being created at build time." into klp-modular-docs 2015-06-19 22:49:29 +00:00
Filip Gruszczynski
dd91362c2c Make sure home activity gets resumed after started.
When there is only one activity and it gets paused, activity manager will
try resuming some other activity. If there is no other activity, it will
start home activity and try to resume it. This will fail, because the
activity stack doesn't want to enter recursive resuming. We need to
detect this situation and schedule additional resume of top activity
after home gets started.

Bug: 21500945
Change-Id: I6ca703f8d97bcc4001e7da4cd5a5db63bfb5c861
2015-06-19 15:40:47 -07:00
Luan Nguyen
cadd531ecf am 4fdaf938: docs: Design section fixes for new templates
* commit '4fdaf938ee28577324a3068b915c01deb61ade78':
  docs: Design section fixes for new templates
2015-06-19 21:49:59 +00:00
Quddus Chong
17f9ea77ac docs: Add link from TV design page on DAC to Android TV spec on Google Design site.
bug: 21786976

Change-Id: I7bee3feaa60d5a1a35ce2c1d93b957de150e9b86
2015-06-19 14:30:44 -07:00
Luan Nguyen
4fdaf938ee docs: Design section fixes for new templates
- Fix a number of pages in the Wear design docs

bug: 21762391
Change-Id: I26c18130cdd925d1b40f525dd209329ca2b5cd15
2015-06-19 14:18:18 -07:00
Quddus Chong
a19933bc0a docs: Updated Recommending TV Content lesson to support card customization.
bug: 21787002

Change-Id: I3c94fbce2ac7efff1749b76af3da47506812972c
2015-06-19 14:03:20 -07:00
Joe Fernandez
a8b518d7c2 am 041e01bb: am 003f8567: Merge "updates: build-cmdline-update" into lmp-mr1-ub-docs
* commit '041e01bbdffa85b9b5ffba201d36bd566eaa2651':
  updates: build-cmdline-update
2015-06-19 20:59:03 +00:00
Joe Fernandez
041e01bbdf am 003f8567: Merge "updates: build-cmdline-update" into lmp-mr1-ub-docs
* commit '003f8567defcb88b2e07b3f85f0b43f74d29b322':
  updates: build-cmdline-update
2015-06-19 20:45:35 +00:00
Joe Fernandez
003f8567de Merge "updates: build-cmdline-update" into lmp-mr1-ub-docs 2015-06-19 20:32:34 +00:00
Rich Slogar
d9d05fe358 am 838e4aa6: Merge "docs: sdk-tools 24.3.3 updates" into mnc-preview-docs
* commit '838e4aa6e69f6482adfdde2e45867a36dc1db2b0':
  docs: sdk-tools 24.3.3 updates
2015-06-18 23:55:44 +00:00
Rich Slogar
838e4aa6e6 Merge "docs: sdk-tools 24.3.3 updates" into mnc-preview-docs 2015-06-18 23:47:28 +00:00
Rich Slogar
1ba81cff91 docs: sdk-tools 24.3.3 updates
Change-Id: I30267355dc17cd6451b28b2aca6d639b9af320d4
2015-06-18 16:36:52 -07:00
Wei Liu
1dac6bd9fb am ae363d2d: Wear doesn\'t need Shell to send notification when bugreport captured.
* commit 'ae363d2db4398a695606c254b88be8940139edd1':
  Wear doesn't need Shell to send notification when bugreport captured.
2015-06-18 23:24:41 +00:00
Bryce Lee
685ed12b5d Turn off theater mode upon power button press.
Bug: 20032225
Change-Id: I80dee2981a8c4ccae5e02b56b7f4ef0f1bd6e169
2015-06-18 14:39:14 -07:00