Commit Graph

253881 Commits

Author SHA1 Message Date
Narayan Kamath
bf78193a73 Merge "fd_utils: Remove /system/etc/event-log-tags from the whitelist." into nyc-mr1-dev 2016-09-07 17:13:40 +00:00
Greg Kaiser
b0604ecc91 ContextHubService: Don't change app handle on load
Due to the way this logic was set up, every time we would load
a new nanoapp, add_app_instance() would change the nanoapp's
handle/"id" in manner that was invisible to closeTxnLoad(),
so our JNI cache would use a different handle than what we
passed to the Java callback.

We remove this unnecessary changing of the handle/"id".

Bug:31325144
Change-Id: I8678729f38fb804bc6a128ce9722fd35551fa1c1
2016-09-07 10:01:43 -07:00
Aurimas Liutikas
bd8d20f326 Remove the reference to android.support.v7.widget.Space
This view is being removed. This change removes it from revision list
as it cannot be used anymore.

Bug: 31068104
Change-Id: Id0d0baa1827b3c1136efca5a1982db817a78fe7c
2016-09-07 09:43:08 -07:00
Eric Laurent
0234587b11 AudioService: remove deprecated forcing of A2DP off
Forcing the policy to not use A2DP is not needed anymore now that
the cast icon does not expose A2DP choice anymore.
The corresponding AudioManager APIs have also been long deprecated.

Removing support for this feature which is replaced by newer routing
APIs.

Bug: 30963785

Change-Id: If98572742a8cf6388c1408d015c86dd445c5660b
(cherry picked from commit 0218f53108)
2016-09-07 14:47:12 +00:00
Narayan Kamath
0b76d6a28e fd_utils: Fix broken usage of iterators.
There were two separate issues here :
- RestatInternal was using an iterator after a call to erase(). This
  will not work because it will be invalidated.
- The "standard" for loop idiom for iterating over a map while making
  structural changes to it is broken. Switch to a while loop and treat
  cases where elements are erased differently from cases where they
  aren't.

bug: 31092930
bug: 30963384
Change-Id: I261d59239558230dd8cdd1d1cb5b9e2448a4c23f
2016-09-07 13:14:40 +01:00
TreeHugger Robot
57e29b4b9e Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-07 12:06:17 +00:00
TreeHugger Robot
c906d9dc72 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-07 12:05:53 +00:00
TreeHugger Robot
bdc26bab6e Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-07 12:00:30 +00:00
Bill Yi
7c4d3912f3 Import translations. DO NOT MERGE
Change-Id: I7ee34b9c13e6c4d8919c5eae201954561a8e6cba
Auto-generated-cl: translation import
2016-09-07 02:53:53 -07:00
Bill Yi
4fd35e0578 Import translations. DO NOT MERGE
Change-Id: I2541b36722c5142046760d243c27929c46c4ec42
Auto-generated-cl: translation import
2016-09-07 00:01:44 -07:00
Bill Yi
ac7ee28cd0 Import translations. DO NOT MERGE
Change-Id: I911f2d59dcaefe83da01e18160b9ab905a9a96b0
Auto-generated-cl: translation import
2016-09-06 23:53:36 -07:00
TreeHugger Robot
2c0df72ff6 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-07 04:47:37 +00:00
Wei Huang
20c747c038 Add configurable emergency call number support
In some region, when user dials emergency numbers, the call will go to
IVR system first and then to emergency center. This behavior causes
delay to let consumer to get help from center. Due to region/operator
requirements, some emergency numbers are required to be set-up as non
emeregency numbers on device. On such device, coverting original number
to emergency number is required under the conditions where only
emergency call is allowed - e.g. no SIM. This patch implements this auto
converting logic and its configurations.
E.g. For Taiwan, 110 and 119 need to be converted to 112 under not
in-service state.

Bug: 28123861
Change-Id: I01b3072ae272c1af8d4a19b2fb6ae451b7268821
2016-09-06 17:33:49 -07:00
Jorim Jaggi
cbdd8dcf6a Fix issues with SHOW_WHEN_LOCKED windows
- Restore the previous logic to only show SHOW_WHEN_LOCKED windows
if appShowWhenLocked is not null.
- Add new logic to keep previous SHOW_WHEN_LOCKED window around if
it's still animating, as well as all the other windows that are
still visible.

Test:
- Make sure an SYSTEM_ALERT_WINDOW with SHOW_WHEN_LOCKED isn't
visible on the lockscreen.
- In Google Camera, click on the lock icon after launching it above
lockscreen.

Change-Id: Id33a8008c6edd6272e5110d9c0f1bf7aab007564
Fixes: 31300204
Fixes: 31319061
2016-09-06 16:59:05 -07:00
Tyler Gunn
b2e0ed8772 Merge "Add toString method for session event codes." into nyc-mr1-dev 2016-09-06 22:47:34 +00:00
Jorim Jaggi
6bd3890ff9 Fix slow PIN dismiss animation
We need to do the slow dismissal when the user is locked, and not the
other way around.

Bug: 31203310
Change-Id: I6ad0fc831bd9dc26e7375916a0a091552f7790ae
2016-09-06 15:27:56 -07:00
Jaewan Kim
e70f79b584 Merge "Keep the PIP at the shifted position when the Settings is shown" into nyc-mr1-dev 2016-09-06 22:27:27 +00:00
Bill Yi
dd0e168ca5 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 30362824
Change-Id: I089a218f5903bb8c0e9166dd84ea082eecba9470
2016-09-06 15:19:50 -07:00
Mitchell Wills
4bfb391c91 Add a flag to indicate if a ScanData is for a scan for all channels
BUG=30897947

Change-Id: I919d7fa9c3bf196371e506d23e393a9d609a5b4b
2016-09-06 15:08:36 -07:00
TreeHugger Robot
1191fee634 Merge "Quicker exit animation for bottom dock on Keyguard" into nyc-mr1-dev 2016-09-06 21:52:51 +00:00
Sreevani Sreejith
b8cf0a24ad Merge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238" into nyc-dev am: d2273e433c
am: bbc189dd96

Change-Id: I58ab0b454636e913cfa9a51fcab0a71f7ef720d1
2016-09-06 21:44:05 +00:00
sreevanis
8281a41bab docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238 am: 1e4bc15f31
am: bc59fba7d5

Change-Id: Ie0db2a46c03cad5c2b8955ed02ad454ccbb7003a
2016-09-06 21:43:59 +00:00
Sreevani Sreejith
bbc189dd96 Merge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238" into nyc-dev
am: d2273e433c

Change-Id: I76ced02277404117c008fcea76ffafbd8ec39e82
2016-09-06 21:32:22 +00:00
sreevanis
bc59fba7d5 docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238
am: 1e4bc15f31

Change-Id: I72bb425f9d40e73a9562312f990555673553bcc4
2016-09-06 21:32:17 +00:00
Sreevani Sreejith
d2273e433c Merge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238" into nyc-dev 2016-09-06 21:24:34 +00:00
TreeHugger Robot
e3e952148c Merge "Fix receive timeout on LocalSocket" into nyc-mr1-dev 2016-09-06 21:20:23 +00:00
Chad Brubaker
ae76b4eab1 Merge "Avoid NPE on certificates that cannot be read" into nyc-mr1-dev 2016-09-06 21:16:32 +00:00
Cheryl Potter
9af802df0f docs: Define card data for GPU Debugger
b/31318053

Change-Id: Iaedeaa8f39d1adb7dd556d26f6cf176a0a6b4003
2016-09-06 14:13:52 -07:00
Alan Viverette
df3a7cab8f Change density for the correct user
Bug: 30839993
Change-Id: I5368accddfc4a03b8025a257b4155fcdc6197f11
2016-09-06 17:13:41 -04:00
Jaewan Kim
177801c273 Keep the PIP at the shifted position when the Settings is shown
Some top level Settings menus launch activities from other packages.
In that case, they should be considered as a part of the Settings
if they follow the Leanback's side panel style.

Add such activities to the whitelist to keep the PIP position.

Bug: 31142005
Change-Id: I12cab611b346154048cbd61f6a678f23b5a10c00
2016-09-06 14:09:07 -07:00
Jorim Jaggi
48832811b0 Quicker exit animation for bottom dock on Keyguard
Change-Id: I9d07dc6ce7e2aec36bf797bd4041701315e71e0e
Fixes: 31274209
2016-09-06 12:38:23 -07:00
Amanda Kassay
735b9eca0f Update #jd-content to #body-content for DevSite layout changes. am: b5887e68c3
am: efae2d7dd6

Change-Id: Ida19d99d502013f91cb041ab9709234c1fdac2ed
2016-09-06 19:18:26 +00:00
Amanda Kassay
efae2d7dd6 Update #jd-content to #body-content for DevSite layout changes.
am: b5887e68c3

Change-Id: I105828c530bb57aa367d8ae937a194cd1181ff0e
2016-09-06 19:11:56 +00:00
Makoto Onuki
5e7e0670c7 Allow DO/PO to be installed with certain preconfigured accounts.
- Non-test-only DO/PO still can't be installed when there are
accounts.

- Test-only DO/PO can be installed even when there are accounts,
as long as all the accounts have the
"android.account.DEVICE_OR_PROFILE_OWNER_ALLOWED" feature.
Some authenticators claim to have any features, so to detect it,
we also check android.account.DEVICE_OR_PROFILE_OWNER_DISALLOWED
and disallow installing if any of the accounts have it.

- Also add logs on certain important events in DPMS.

Bug 28928996

Change-Id: I62efce10e9cc22e994ea8cae91a4fafcce25dd77
2016-09-06 11:56:45 -07:00
sreevanis
1e4bc15f31 docs: Added functional and UI quality criteria for Wear 2.0 apps.
Bug:30951238

Change-Id: I5cbfac60716415d87f049ae2313fed7bfa214e28
2016-09-06 10:37:04 -07:00
Amanda Kassay
b5887e68c3 Update #jd-content to #body-content for DevSite layout changes.
Change-Id: I57c43a9b05a2bd072c54bf53e8428015edf0a90e
2016-09-06 13:33:09 -04:00
Phil Weaver
85d18cce6d Merge "Stop double notifying a11y about Toasts." into nyc-mr1-dev 2016-09-06 16:33:42 +00:00
Alan Viverette
6ae673caf4 Fix hint text color to align with latest Material spec
Bug: 30756246
Change-Id: I5063cc81b8ffad6fb46465c1622bd0083380bd49
2016-09-06 12:26:14 -04:00
Dirk Dougherty
a2153e6246 Doc change: remove useUpdatedTemplates script and sections using old templates. am: 9ac575abc3
am: 87b4fcfd90

Change-Id: Id5e097da26d8150bc82212d8751745b4298cd118
2016-09-06 14:29:07 +00:00
Dirk Dougherty
87b4fcfd90 Doc change: remove useUpdatedTemplates script and sections using old templates.
am: 9ac575abc3

Change-Id: I7a9d976f300b516bc7f38dacb0c89be95f1b3ef4
2016-09-06 14:22:30 +00:00
Narayan Kamath
cefc0374eb fd_utils: Remove /system/etc/event-log-tags from the whitelist.
We don't need this file open after change bfd8eafa1d33460.

bug: 30963384

Change-Id: Iaa6ff54cdef2b29c8d170b1fe0718cd045b44e2f
2016-09-06 14:51:29 +01:00
Narayan Kamath
8dee054190 fd_utils: Remove whitelist for "/dev/pmsg0".
We're now calling __android_log_close prior to a fork, so this file
shouldn't need to be open.

bug: 31243313
bug: 30963384
Change-Id: I8c29adf075782eed966c9197d58f0325310f6c3a
2016-09-05 14:54:07 +01:00
TreeHugger Robot
dc77fbca27 Merge changes I955f9dfa,Ibfbb9d67 into nyc-mr1-dev
* changes:
  Only show optimizing storage dialog if dex opt dialog was shown
  Only do slow unlock transition if real home is not running
2016-09-04 01:39:32 +00:00
Dirk Dougherty
9ac575abc3 Doc change: remove useUpdatedTemplates script and sections using old templates.
Change-Id: I7c4e8f36125ad120699d5b2c66bea29433fecf59
2016-09-02 21:03:38 -07:00
smain@google.com
3578867216 remove 'useUpdatedTemplates' flag that's no longer supported. Fix build. am: 7dd9749246
am: ff8cb50979

Change-Id: I0a41407e8a605ecbd8ba761427e8a500b0e2d040
2016-09-03 01:24:46 +00:00
smain@google.com
ff8cb50979 remove 'useUpdatedTemplates' flag that's no longer supported. Fix build.
am: 7dd9749246

Change-Id: I5a048d040dd040f40d0b5e30ea67e62de4cf7259
2016-09-03 01:19:05 +00:00
smain@google.com
7dd9749246 remove 'useUpdatedTemplates' flag that's no longer supported. Fix build.
Change-Id: Ic1778b6e3044c80e602f5ce9d4f825c8578c1a0a
2016-09-02 18:10:29 -07:00
Svetoslav Ganov
4b81252610 Fix NPE
bug:30150688

Change-Id: I2ae0cb76b2f6f0b47241bccc6922f1034183cc75
2016-09-03 00:01:50 +00:00
Svetoslav Ganov
cbfd373d72 Merge "Prevent apps to overlay other apps via toast windows" into nyc-mr1-dev 2016-09-02 23:28:26 +00:00
Yang Ni
51f1e93be7 Updated API reference doc for Single-Source RS
Bug: 29544612
Bug: 29879448

This is auto-generated by running frameworks/rs/api/generate.sh, but
only for rsForEach() and rsCreateAllocation().
Editings to the .spec files in frameworks/rs/api were made based on
feedbacks here.

Staging server:
http://yangni.mtv.corp.google.com/guide/topics/renderscript/reference/rs_for_each.html
http://yangni.mtv.corp.google.com/guide/topics/renderscript/reference/rs_allocation_create.html

Change-Id: I072f2f3fffaa9a1a2af101fa8061f61089daf208
2016-09-02 16:04:34 -07:00