OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Add toString method for session event codes." into nyc-mr1-dev
Tyler Gunn [Tue, 6 Sep 2016 22:47:32 +0000 (22:47 +0000)]
Merge "Add toString method for session event codes." into nyc-mr1-dev

7 years agoMerge "Keep the PIP at the shifted position when the Settings is shown" into nyc...
Jaewan Kim [Tue, 6 Sep 2016 22:27:24 +0000 (22:27 +0000)]
Merge "Keep the PIP at the shifted position when the Settings is shown" into nyc-mr1-dev

7 years agoMerge "Quicker exit animation for bottom dock on Keyguard" into nyc-mr1-dev
TreeHugger Robot [Tue, 6 Sep 2016 21:52:49 +0000 (21:52 +0000)]
Merge "Quicker exit animation for bottom dock on Keyguard" into nyc-mr1-dev

7 years agoMerge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238...
Sreevani Sreejith [Tue, 6 Sep 2016 21:44:05 +0000 (21:44 +0000)]
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

7 years agodocs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238 am...
sreevanis [Tue, 6 Sep 2016 21:43:59 +0000 (21:43 +0000)]
docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238 am: 1e4bc15f31
am: bc59fba7d5

Change-Id: Ie0db2a46c03cad5c2b8955ed02ad454ccbb7003a

7 years agoMerge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238...
Sreevani Sreejith [Tue, 6 Sep 2016 21:32:22 +0000 (21:32 +0000)]
Merge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238" into nyc-dev
am: d2273e433c

Change-Id: I76ced02277404117c008fcea76ffafbd8ec39e82

7 years agodocs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238
sreevanis [Tue, 6 Sep 2016 21:32:17 +0000 (21:32 +0000)]
docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238
am: 1e4bc15f31

Change-Id: I72bb425f9d40e73a9562312f990555673553bcc4

7 years agoMerge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238...
Sreevani Sreejith [Tue, 6 Sep 2016 21:24:31 +0000 (21:24 +0000)]
Merge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238" into nyc-dev

7 years agoMerge "Fix receive timeout on LocalSocket" into nyc-mr1-dev
TreeHugger Robot [Tue, 6 Sep 2016 21:20:19 +0000 (21:20 +0000)]
Merge "Fix receive timeout on LocalSocket" into nyc-mr1-dev

7 years agoMerge "Avoid NPE on certificates that cannot be read" into nyc-mr1-dev
Chad Brubaker [Tue, 6 Sep 2016 21:16:30 +0000 (21:16 +0000)]
Merge "Avoid NPE on certificates that cannot be read" into nyc-mr1-dev

7 years agoKeep the PIP at the shifted position when the Settings is shown
Jaewan Kim [Tue, 6 Sep 2016 07:45:51 +0000 (00:45 -0700)]
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

7 years agoQuicker exit animation for bottom dock on Keyguard
Jorim Jaggi [Tue, 6 Sep 2016 19:38:23 +0000 (12:38 -0700)]
Quicker exit animation for bottom dock on Keyguard

Change-Id: I9d07dc6ce7e2aec36bf797bd4041701315e71e0e
Fixes: 31274209

7 years agoUpdate #jd-content to #body-content for DevSite layout changes. am: b5887e68c3
Amanda Kassay [Tue, 6 Sep 2016 19:18:26 +0000 (19:18 +0000)]
Update #jd-content to #body-content for DevSite layout changes. am: b5887e68c3
am: efae2d7dd6

Change-Id: Ida19d99d502013f91cb041ab9709234c1fdac2ed

7 years agoUpdate #jd-content to #body-content for DevSite layout changes.
Amanda Kassay [Tue, 6 Sep 2016 19:11:56 +0000 (19:11 +0000)]
Update #jd-content to #body-content for DevSite layout changes.
am: b5887e68c3

Change-Id: I105828c530bb57aa367d8ae937a194cd1181ff0e

7 years agodocs: Added functional and UI quality criteria for Wear 2.0 apps.
sreevanis [Tue, 30 Aug 2016 17:02:43 +0000 (10:02 -0700)]
docs: Added functional and UI quality criteria for Wear 2.0 apps.
Bug:30951238

Change-Id: I5cbfac60716415d87f049ae2313fed7bfa214e28

7 years agoUpdate #jd-content to #body-content for DevSite layout changes.
Amanda Kassay [Tue, 6 Sep 2016 16:57:36 +0000 (12:57 -0400)]
Update #jd-content to #body-content for DevSite layout changes.

Change-Id: I57c43a9b05a2bd072c54bf53e8428015edf0a90e

7 years agoMerge "Stop double notifying a11y about Toasts." into nyc-mr1-dev
Phil Weaver [Tue, 6 Sep 2016 16:33:39 +0000 (16:33 +0000)]
Merge "Stop double notifying a11y about Toasts." into nyc-mr1-dev

7 years agoDoc change: remove useUpdatedTemplates script and sections using old templates. am...
Dirk Dougherty [Tue, 6 Sep 2016 14:29:07 +0000 (14:29 +0000)]
Doc change: remove useUpdatedTemplates script and sections using old templates. am: 9ac575abc3
am: 87b4fcfd90

Change-Id: Id5e097da26d8150bc82212d8751745b4298cd118

7 years agoDoc change: remove useUpdatedTemplates script and sections using old templates.
Dirk Dougherty [Tue, 6 Sep 2016 14:22:30 +0000 (14:22 +0000)]
Doc change: remove useUpdatedTemplates script and sections using old templates.
am: 9ac575abc3

Change-Id: I7a9d976f300b516bc7f38dacb0c89be95f1b3ef4

7 years agofd_utils: Remove whitelist for "/dev/pmsg0".
Narayan Kamath [Mon, 5 Sep 2016 12:38:21 +0000 (13:38 +0100)]
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

7 years agoMerge changes I955f9dfa,Ibfbb9d67 into nyc-mr1-dev
TreeHugger Robot [Sun, 4 Sep 2016 01:39:30 +0000 (01:39 +0000)]
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

7 years agoDoc change: remove useUpdatedTemplates script and sections using old templates.
Dirk Dougherty [Fri, 2 Sep 2016 22:24:11 +0000 (15:24 -0700)]
Doc change: remove useUpdatedTemplates script and sections using old templates.

Change-Id: I7c4e8f36125ad120699d5b2c66bea29433fecf59

7 years agoremove 'useUpdatedTemplates' flag that's no longer supported. Fix build. am: 7dd9749246
smain@google.com [Sat, 3 Sep 2016 01:24:46 +0000 (01:24 +0000)]
remove 'useUpdatedTemplates' flag that's no longer supported. Fix build. am: 7dd9749246
am: ff8cb50979

Change-Id: I0a41407e8a605ecbd8ba761427e8a500b0e2d040

7 years agoremove 'useUpdatedTemplates' flag that's no longer supported. Fix build.
smain@google.com [Sat, 3 Sep 2016 01:19:05 +0000 (01:19 +0000)]
remove 'useUpdatedTemplates' flag that's no longer supported. Fix build.
am: 7dd9749246

Change-Id: I5a048d040dd040f40d0b5e30ea67e62de4cf7259

7 years agoremove 'useUpdatedTemplates' flag that's no longer supported. Fix build.
smain@google.com [Sat, 3 Sep 2016 01:10:29 +0000 (18:10 -0700)]
remove 'useUpdatedTemplates' flag that's no longer supported. Fix build.

Change-Id: Ic1778b6e3044c80e602f5ce9d4f825c8578c1a0a

7 years agoFix NPE
Svetoslav Ganov [Fri, 2 Sep 2016 23:55:25 +0000 (16:55 -0700)]
Fix NPE

bug:30150688

Change-Id: I2ae0cb76b2f6f0b47241bccc6922f1034183cc75

7 years agoMerge "Prevent apps to overlay other apps via toast windows" into nyc-mr1-dev
Svetoslav Ganov [Fri, 2 Sep 2016 23:28:23 +0000 (23:28 +0000)]
Merge "Prevent apps to overlay other apps via toast windows" into nyc-mr1-dev

7 years agoMerge "Remove obsolete collections and extras metadata files. Authors should use...
Dirk Dougherty [Fri, 2 Sep 2016 22:38:10 +0000 (22:38 +0000)]
Merge "Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead..." into nyc-dev am: 460b9c08e6
am: 995138bb1c

Change-Id: I539eae2af282daacf484e244934d75a47d20d7df

7 years agoRemove obsolete collections and extras metadata files. Authors should use jd_extras_...
Dirk Dougherty [Fri, 2 Sep 2016 22:38:07 +0000 (22:38 +0000)]
Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead... am: 169f86ce7a
am: 1b106686f0

Change-Id: I062da10a5b82f7bd39f935ca36c87aa0b3162aeb

7 years agoMerge "Remove obsolete collections and extras metadata files. Authors should use...
Dirk Dougherty [Fri, 2 Sep 2016 22:31:57 +0000 (22:31 +0000)]
Merge "Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead..." into nyc-dev
am: 460b9c08e6

Change-Id: I55c8a7dc7b90a12b177f3923731a2ad913bed60b

7 years agoRemove obsolete collections and extras metadata files. Authors should use jd_extras_...
Dirk Dougherty [Fri, 2 Sep 2016 22:31:54 +0000 (22:31 +0000)]
Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead...
am: 169f86ce7a

Change-Id: I714461981eb3ed28178006c4acf4cd111204b4bb

7 years agoMerge "Remove obsolete collections and extras metadata files. Authors should use...
Dirk Dougherty [Fri, 2 Sep 2016 22:26:59 +0000 (22:26 +0000)]
Merge "Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead..." into nyc-dev

7 years agoMerge "Fixing issue with old tasks being visible in Overview" into nyc-mr1-dev
Winson Chung [Fri, 2 Sep 2016 21:49:09 +0000 (21:49 +0000)]
Merge "Fixing issue with old tasks being visible in Overview" into nyc-mr1-dev

7 years agoMerge "switch all API builds to use template-sdk instead of (soon to be deleted)...
Scott Main [Fri, 2 Sep 2016 21:44:49 +0000 (21:44 +0000)]
Merge "switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build." into nyc-dev am: 915b566ef0
am: 7e7a1bbe47

Change-Id: I288cb4d509113fc9dc212e6b78b5119e499f0114

7 years agoswitch all API builds to use template-sdk instead of (soon to be deleted) templates...
smain@google.com [Fri, 2 Sep 2016 21:43:49 +0000 (21:43 +0000)]
switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build. am: 534bfe1a4a
am: 63f29277bc

Change-Id: I7311c26d821b9450eb78c911fef2aee359f859b8

7 years agoMerge "switch all API builds to use template-sdk instead of (soon to be deleted)...
Scott Main [Fri, 2 Sep 2016 21:36:21 +0000 (21:36 +0000)]
Merge "switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build." into nyc-dev
am: 915b566ef0

Change-Id: Id9917788f79f73a7a7f4caa1d45508ae50c00337

7 years agoswitch all API builds to use template-sdk instead of (soon to be deleted) templates...
smain@google.com [Fri, 2 Sep 2016 21:36:07 +0000 (21:36 +0000)]
switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build.
am: 534bfe1a4a

Change-Id: I9833fe119f6e5fef4cd74439c71d6a40fb5d5db9

7 years agoMerge "switch all API builds to use template-sdk instead of (soon to be deleted)...
Scott Main [Fri, 2 Sep 2016 21:27:19 +0000 (21:27 +0000)]
Merge "switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build." into nyc-dev

7 years agoPrevent apps to overlay other apps via toast windows
Svetoslav Ganov [Tue, 2 Aug 2016 02:16:43 +0000 (19:16 -0700)]
Prevent apps to overlay other apps via toast windows

It was possible for apps to put toast type windows
that overlay other apps which toast winodws aren't
removed after a timeout.

Now for apps targeting SDK greater than N MR1 to add a
toast window one needs to have a special token. The token
is added by the notificatoion manager service only for
the lifetime of the shown toast and is then removed
including all windows associated with this token. This
prevents apps to add arbitrary toast windows.

Since legacy apps may rely on the ability to directly
add toasts we mitigate by allowing these apps to still
add such windows for unlimited duration if this app is
the currently focused one, i.e. the user interacts with
it then it can overlay itself, otherwise we make sure
these toast windows are removed after a timeout like
a toast would be.

We don't allow more that one toast window per UID being
added at a time which prevents 1) legacy apps to put the
same toast after a timeout to go around our new policy
of hiding toasts after a while; 2) modern apps to reuse
the passed token to add more than one window; Note that
the notification manager shows toasts one at a time.

bug:30150688

Change-Id: Ia1dae626bd9e22541be46edb072aa288eb1ae414

7 years agoAvoid NPE on certificates that cannot be read
Chad Brubaker [Thu, 7 Jul 2016 17:17:24 +0000 (10:17 -0700)]
Avoid NPE on certificates that cannot be read

Skip certificates in a DirectoryCertificateSource that cannot be read to
due IOExceptions or CertificateExceptions, this prevents a NPE but
connections will still fail due to the certificate being unusable and no
valid trust-anchor existing.

This also logs the error since this really shouldn't happen.
Bug: 29997695

Change-Id: I9f7327efc302a259fb951f1f61f7fc4d647821fa

7 years agoExclude sdk files from metadata. am: 355f33a1d9
Dirk Dougherty [Fri, 2 Sep 2016 17:07:24 +0000 (17:07 +0000)]
Exclude sdk files from metadata. am: 355f33a1d9
am: d468597a79

Change-Id: I80242dc75f6dd5768326691fc33d8c701f688e81

7 years agoExclude sdk files from metadata.
Dirk Dougherty [Fri, 2 Sep 2016 17:00:37 +0000 (17:00 +0000)]
Exclude sdk files from metadata.
am: 355f33a1d9

Change-Id: I4f99fd37bde61dfc813662e0e6d05412b3aef26c

7 years agoAdd toString method for session event codes.
Tyler Gunn [Fri, 2 Sep 2016 16:55:25 +0000 (09:55 -0700)]
Add toString method for session event codes.

Used to get a human readable version of a call session event for logging.

Bug: 31199425
Change-Id: Idf024ec405f1d18ff2cfab7f814b2651d7d8f0a0

7 years agoMerge "Remove redundant code" into nyc-mr1-dev
Tenghui Zhu [Fri, 2 Sep 2016 16:40:58 +0000 (16:40 +0000)]
Merge "Remove redundant code" into nyc-mr1-dev

7 years agoMerge "Fix EGLImage memory leak" into nyc-mr1-dev
John Reck [Fri, 2 Sep 2016 15:07:23 +0000 (15:07 +0000)]
Merge "Fix EGLImage memory leak" into nyc-mr1-dev

7 years agoswitch all API builds to use template-sdk instead of (soon to be deleted) templates...
smain@google.com [Fri, 2 Sep 2016 02:52:17 +0000 (19:52 -0700)]
switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev.
also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build.

Change-Id: Iebd9791305479c5dc406ba3b81eaf076855bc632

7 years agoOnly show optimizing storage dialog if dex opt dialog was shown
Jorim Jaggi [Fri, 2 Sep 2016 01:38:53 +0000 (18:38 -0700)]
Only show optimizing storage dialog if dex opt dialog was shown

This doesn't take long, so there is little reason to show it if
we didn't show the dex opt dialog.

Bug: 29643498
Change-Id: I955f9dfa233166a8a150deb2d115a591e6d82394

7 years agoMerge "Fix typos in JavaDoc for InputConnection" into nyc-mr1-dev
TreeHugger Robot [Fri, 2 Sep 2016 00:16:01 +0000 (00:16 +0000)]
Merge "Fix typos in JavaDoc for InputConnection" into nyc-mr1-dev

7 years agoOnly do slow unlock transition if real home is not running
Jorim Jaggi [Thu, 1 Sep 2016 23:39:26 +0000 (16:39 -0700)]
Only do slow unlock transition if real home is not running

Test: Tested the first unlock on both FDE and non-FDE device.

Change-Id: Ibfbb9d67fb83456acd7b12bbe2d03a961a998ba9
Fixes: 31203310

7 years agoMerge "Also Set IME_FLAG_NO_FULLSCREEN to RemoteEditText" into nyc-mr1-dev
TreeHugger Robot [Thu, 1 Sep 2016 23:12:13 +0000 (23:12 +0000)]
Merge "Also Set IME_FLAG_NO_FULLSCREEN to RemoteEditText" into nyc-mr1-dev

7 years agoMerge "White-list grandfathered sync adapters" into nyc-mr1-dev
Svetoslav Ganov [Thu, 1 Sep 2016 23:07:54 +0000 (23:07 +0000)]
Merge "White-list grandfathered sync adapters" into nyc-mr1-dev

7 years agoFix typos in JavaDoc for InputConnection
Yohei Yukawa [Thu, 1 Sep 2016 22:42:29 +0000 (15:42 -0700)]
Fix typos in JavaDoc for InputConnection

This CL fixes typos in JavaDoc for InputConnection.

This CL slso updates the content regarding a new API that was added in
API 25 [1][2].

 [1]: Iaadf934a997ffcd6000a516cc3c1873db56e60ad
      152944f4909c47917473293b258d266435c6ab35
 [2]: Ica1ba3154795c1bf44e140dfe639b299f83cd8af
      adebb52588b098a1af678d4e33a234ef1ce783b2

Bug: 31249896
Change-Id: Icafedb15943a84f8e5b03ef9eb3a50627d508bdd

7 years agoWhite-list grandfathered sync adapters
Svet Ganov [Thu, 1 Sep 2016 17:24:11 +0000 (10:24 -0700)]
White-list grandfathered sync adapters

Sync adapters were able to access the synced account without the accounts
permission which circumvents our permission model. Therefore, we require
sync adapters that don't have access to the account to get user consent.
This can be noisy, therefore we will white-list sync adapters installed
before we started checking for account access because they already know
the account (they run before) which is the genie is out of the bottle.

bug:31162498

Change-Id: I815e521778892ec592d53d086273743f1711bd17

7 years agoExclude sdk files from metadata.
Dirk Dougherty [Thu, 1 Sep 2016 21:07:47 +0000 (14:07 -0700)]
Exclude sdk files from metadata.

Change-Id: I16f89a3bfae32a0fa54037e328fc784133e5d9b0
Bug-Id: 31244539

7 years agoCanada AGNSS settings update
Wyatt Riley [Thu, 1 Sep 2016 21:16:23 +0000 (21:16 +0000)]
Canada AGNSS settings update
am: ff374d4def

Change-Id: Ieafa6e4ebcf326038c97d1e9d0dc1acff43531ab

7 years agoMerge "Wait on frame work fences when frames are dropped" into nyc-mr1-dev
Chris Craik [Thu, 1 Sep 2016 21:11:02 +0000 (21:11 +0000)]
Merge "Wait on frame work fences when frames are dropped" into nyc-mr1-dev

7 years agoFix EGLImage memory leak
John Reck [Thu, 1 Sep 2016 20:59:47 +0000 (13:59 -0700)]
Fix EGLImage memory leak

Bug: 31247709
Change-Id: I9e36206b0d7bdb75b84cd53b70f7746ca34a3469

7 years agoCanada AGNSS settings update
Wyatt Riley [Thu, 1 Sep 2016 20:24:06 +0000 (13:24 -0700)]
Canada AGNSS settings update

Esp. LPP.  See also some overlay changes.

Change-Id: I0a694cf25df12c51e7d01ec4d8f2ab419786de00

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 1 Sep 2016 18:32:59 +0000 (18:32 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoAdd branded VPN messages to go along with branded icons
Jason Monk [Thu, 1 Sep 2016 14:45:08 +0000 (10:45 -0400)]
Add branded VPN messages to go along with branded icons

Change-Id: Id2089d50581a958ebab6af1d5b172ec61b1aced3
Fixes: 31019697

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 1 Sep 2016 06:44:31 +0000 (06:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 1 Sep 2016 06:38:34 +0000 (06:38 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agodocs: Typo fix in multi-window docs am: 0b423e5eae
Andrew Solovay [Thu, 1 Sep 2016 05:13:32 +0000 (05:13 +0000)]
docs: Typo fix in multi-window docs am: 0b423e5eae
am: 2570531cf4

Change-Id: I7748a6b6361a507e1f5f900c9ea222d3f93ae942

7 years agodocs: Typo fix in multi-window docs
Andrew Solovay [Thu, 1 Sep 2016 04:57:12 +0000 (04:57 +0000)]
docs: Typo fix in multi-window docs
am: 0b423e5eae

Change-Id: I18fe652d972196630006517bacc26b7441efe9ed

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 1 Sep 2016 04:29:36 +0000 (21:29 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ied5e250ee2377aefe56c6f2282712c28b60104e5
Auto-generated-cl: translation import

7 years agoMerge "Also show attached windows during FLAG_SHOW_WHEN_LOCKED animations" into nyc...
TreeHugger Robot [Thu, 1 Sep 2016 04:16:52 +0000 (04:16 +0000)]
Merge "Also show attached windows during FLAG_SHOW_WHEN_LOCKED animations" into nyc-mr1-dev

7 years agodocs: Typo fix in multi-window docs
Andrew Solovay [Mon, 29 Aug 2016 18:48:50 +0000 (11:48 -0700)]
docs: Typo fix in multi-window docs

Referred to the "android:resizableActivity" property; should
have been "android:resizeableactivity". English prose, however,
consistently uses the (preferred) spelling "resizable".

See first comment for stage location.

bug: 30566808
Change-Id: I2570ff9269b4d2dc8b11f1c98817e50726be78fc

7 years agoMerge "docs: Fixing formatting problem" into nyc-dev am: 9499478c80
Andrew Solovay [Thu, 1 Sep 2016 02:36:04 +0000 (02:36 +0000)]
Merge "docs: Fixing formatting problem" into nyc-dev am: 9499478c80
am: d3f59086a7

Change-Id: I9b897a54cf1dfc178f6f10ee34cc253f12b017b0

7 years agodocs: Fixing formatting problem am: 6f29c2091c
Andrew Solovay [Thu, 1 Sep 2016 02:36:02 +0000 (02:36 +0000)]
docs: Fixing formatting problem am: 6f29c2091c
am: 28343328c2

Change-Id: Id86e79f3e7654126f59ca87f7fb08aeec3a85324

7 years agoMerge "docs: Fixing formatting problem" into nyc-dev
Andrew Solovay [Thu, 1 Sep 2016 02:26:28 +0000 (02:26 +0000)]
Merge "docs: Fixing formatting problem" into nyc-dev
am: 9499478c80

Change-Id: I893084adf8c6609b451da79ae69c5460619c6f7b

7 years agodocs: Fixing formatting problem
Andrew Solovay [Thu, 1 Sep 2016 02:26:24 +0000 (02:26 +0000)]
docs: Fixing formatting problem
am: 6f29c2091c

Change-Id: I07d721faba05a3eb8b846bea260ee22da08d28e0

7 years agoMerge "docs: Fixing formatting problem" into nyc-dev
Andrew Solovay [Thu, 1 Sep 2016 02:21:46 +0000 (02:21 +0000)]
Merge "docs: Fixing formatting problem" into nyc-dev

7 years agodocs: fixing gpu debugger redirect b/31227713 am: 780395fd85
Cheryl Potter [Thu, 1 Sep 2016 02:20:01 +0000 (02:20 +0000)]
docs: fixing gpu debugger redirect b/31227713 am: 780395fd85
am: 72bbe47e9e

Change-Id: Ibb63cad47b7f28f57b37b8226db9ebed85713eaa

7 years agodocs: fixing gpu debugger redirect b/31227713
Cheryl Potter [Thu, 1 Sep 2016 02:13:34 +0000 (02:13 +0000)]
docs: fixing gpu debugger redirect b/31227713
am: 780395fd85

Change-Id: Ia285191b97afd5448ed44783d9fbf01c01927744

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 1 Sep 2016 02:10:31 +0000 (19:10 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id6b5139d8588dc5f871ff4f2e68462e752804341
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 1 Sep 2016 01:57:26 +0000 (18:57 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ib1dd6f18dc1f5bb0869d57f00c8c5be905f6bcb6
Auto-generated-cl: translation import

7 years agodocs: fixing gpu debugger redirect
Cheryl Potter [Thu, 1 Sep 2016 00:43:37 +0000 (17:43 -0700)]
docs: fixing gpu debugger redirect
b/31227713

Change-Id: Ia0e7e4d26940dc98ab735df3068dc2dda22b1f58

7 years agoMerge "Clear calling identity" into nyc-mr1-dev
TreeHugger Robot [Thu, 1 Sep 2016 00:41:47 +0000 (00:41 +0000)]
Merge "Clear calling identity" into nyc-mr1-dev

7 years agoMerge "docs: Add redirects for new help buttons (Create Java Class, GPU Debugger...
Android Build Merger (Role) [Thu, 1 Sep 2016 00:39:40 +0000 (00:39 +0000)]
Merge "docs: Add redirects for new help buttons (Create Java Class, GPU Debugger, more) b/31158856 b/31157097 b/31158502 am: 3f2d7d8e22 am: 8d58464e56" into nyc-mr1-dev

7 years agoMerge "Do not log surface destroy by default" into nyc-mr1-dev
TreeHugger Robot [Thu, 1 Sep 2016 00:39:34 +0000 (00:39 +0000)]
Merge "Do not log surface destroy by default" into nyc-mr1-dev

7 years agodocs: Add redirects for new help buttons (Create Java Class, GPU Debugger, more)...
Cheryl Potter [Thu, 1 Sep 2016 00:39:14 +0000 (00:39 +0000)]
docs: Add redirects for new help buttons (Create Java Class, GPU Debugger, more) b/31158856 b/31157097 b/31158502 am: 3f2d7d8e22
am: 8d58464e56

Change-Id: Ibafd847b03f44befdef59e7d3f578fc07b9f4265

7 years agoWait on frame work fences when frames are dropped
Chris Craik [Thu, 1 Sep 2016 00:32:46 +0000 (17:32 -0700)]
Wait on frame work fences when frames are dropped

bug:30895941

Prevents a race where frame work could interleave between frames,
causing SurfaceView position updates to be delivered out of order.

Change-Id: I01e4cc557b69dcf33e877a0e16c0d115ec95e4cc

7 years agodocs: Add redirects for new help buttons (Create Java Class, GPU Debugger, more)...
Cheryl Potter [Thu, 1 Sep 2016 00:30:55 +0000 (00:30 +0000)]
docs: Add redirects for new help buttons (Create Java Class, GPU Debugger, more) b/31158856 b/31157097 b/31158502
am: 3f2d7d8e22

Change-Id: I06fc6611cf1a802e4971385d6b105a223b6c9301

7 years agoMerge "Handle null Surface in createVirtualDisplay" into nyc-mr1-dev
Pablo Ceballos [Thu, 1 Sep 2016 00:06:30 +0000 (00:06 +0000)]
Merge "Handle null Surface in createVirtualDisplay" into nyc-mr1-dev

7 years agoMerge "Allow package verifier and uninstaller to do silent uninstalls." into nyc...
Sudheer Shanka [Wed, 31 Aug 2016 23:23:43 +0000 (23:23 +0000)]
Merge "Allow package verifier and uninstaller to do silent uninstalls." into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE. Block adoptable storage when using FBE." into nyc-mr1-dev
TreeHugger Robot [Wed, 31 Aug 2016 23:17:33 +0000 (23:17 +0000)]
Merge "DO NOT MERGE. Block adoptable storage when using FBE." into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE. Update lockscreen message when user unlocked." into nyc-mr1-dev
TreeHugger Robot [Wed, 31 Aug 2016 23:14:19 +0000 (23:14 +0000)]
Merge "DO NOT MERGE. Update lockscreen message when user unlocked." into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE. Clarify FileObserver docs for null value." into nyc-mr1-dev
TreeHugger Robot [Wed, 31 Aug 2016 23:13:01 +0000 (23:13 +0000)]
Merge "DO NOT MERGE. Clarify FileObserver docs for null value." into nyc-mr1-dev

7 years agoDo not log surface destroy by default
Chong Zhang [Wed, 31 Aug 2016 23:05:27 +0000 (16:05 -0700)]
Do not log surface destroy by default

Put it back under SHOW_TRANSACTIONS, this was for assist debugging
some early surface destroy issues but should be no longer needed.

Change-Id: I0806ac0ad2c9de3d0ccf9af995ced25c9a2f7668

7 years agodocs: Add redirects for new help buttons (Create Java Class, GPU Debugger, more)
Cheryl Potter [Wed, 31 Aug 2016 21:31:50 +0000 (14:31 -0700)]
docs: Add redirects for new help buttons (Create Java Class, GPU Debugger, more)
b/31158856
b/31157097
b/31158502

Change-Id: Id3178127e0267936c58f47cd7da7348202051fa3

7 years agoClear calling identity
Todd Kennedy [Wed, 31 Aug 2016 22:54:48 +0000 (15:54 -0700)]
Clear calling identity

Before getting the package uid, need to clear the calling identity

Change-Id: Id917288f5457baa7672d0355889a498bc9a92cb3
Fixes: 31058820
Test: cts-tradefed run commandAndExit cts --skip-connectivity-check --skip-device-info --disable-reboot -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testPackageInstallUserRestrictions

7 years agoMerge "throw if >1 verifier found" into nyc-mr1-dev
TreeHugger Robot [Wed, 31 Aug 2016 22:56:58 +0000 (22:56 +0000)]
Merge "throw if >1 verifier found" into nyc-mr1-dev

7 years agoHandle null Surface in createVirtualDisplay
Pablo Ceballos [Wed, 31 Aug 2016 22:00:17 +0000 (15:00 -0700)]
Handle null Surface in createVirtualDisplay

One can pass a null Surface to createVirtualDisplay and then set the
Surface after creation. Properly handle the isSingleBuffered check for
this case.

Bug 31219726

Change-Id: I14ebaca58912fdb4989e0ba0f4c251df31e24617

7 years agoDO NOT MERGE. Clarify FileObserver docs for null value.
Jeff Sharkey [Tue, 23 Aug 2016 16:24:56 +0000 (10:24 -0600)]
DO NOT MERGE. Clarify FileObserver docs for null value.

Change-Id: I7dc0b0d26220d6eb82f956a9860cfb6aeccfd12f
Test: none
Bug: 30511606
(cherry picked from commit 902316d5533632321a945651b1d044c4e23bf742)

7 years agoDO NOT MERGE. Block adoptable storage when using FBE.
Jeff Sharkey [Tue, 23 Aug 2016 19:53:53 +0000 (13:53 -0600)]
DO NOT MERGE. Block adoptable storage when using FBE.

For adoptable storage and FBE to coexist we need a new dm-biocrypt
kernel feature which isn't ready yet.  So for now, prevent devices
from being adopted on FBE devices.

Bug: 30770036
Test: none
Change-Id: I51d54d2a8976ed02a03b107545aa094cf68df5d0
(cherry picked from commit 3b7f4b69b7701c57f0eaf0822f93a25fd4d8fa9d)

7 years agoDO NOT MERGE. Update lockscreen message when user unlocked.
Jeff Sharkey [Tue, 23 Aug 2016 22:32:03 +0000 (16:32 -0600)]
DO NOT MERGE. Update lockscreen message when user unlocked.

If a user doesn't have credentials, we start the unlock process
automatically, but that races with the UI binding process.  Fix by
rebinding the UI once we hear the user is unlocked.

Change-Id: Id678b97aa6120ba78088fb6cf4c2a65d129e98a3
Test: none
Bug: 30840626
(cherry picked from commit 181001379fed124ab9fcb2a5fccedf68c48fa5a7)

7 years agoRemove redundant code
Teng-Hui Zhu [Mon, 22 Aug 2016 22:18:11 +0000 (15:18 -0700)]
Remove redundant code

This can save both system image size and run time memory usage.
Every byte counts. :)

b/30956516

Change-Id: I1af0455fe488e3122f6cf8e8fca5a5a43a4614f2

7 years agoMerge "Revert "Adds a section for unaccounted data."" into nyc-mr1-dev
TreeHugger Robot [Wed, 31 Aug 2016 21:17:18 +0000 (21:17 +0000)]
Merge "Revert "Adds a section for unaccounted data."" into nyc-mr1-dev

7 years agoMerge "Wallpaper: Fix letterboxing if wallpaper is scaled but not cropped" into nyc...
Adrian Roos [Wed, 31 Aug 2016 20:37:11 +0000 (20:37 +0000)]
Merge "Wallpaper: Fix letterboxing if wallpaper is scaled but not cropped" into nyc-dr1-dev
am: f06bb5c0f9

Change-Id: I796b2c67f367797f7b0b9f03714d194be33de53d

7 years agoWallpaper: Fix letterboxing if wallpaper is scaled but not cropped
Adrian Roos [Wed, 31 Aug 2016 20:37:09 +0000 (20:37 +0000)]
Wallpaper: Fix letterboxing if wallpaper is scaled but not cropped
am: 5c97ff23a3

Change-Id: I873b469fa9ca12e14f5465cd6af8d69c92176e43