216645 Commits

Author SHA1 Message Date
Jeff Sharkey
ac4fd0702e am 90023609: am 71f15791: am d88152b4: Merge "Give shell permission to move apps." into mnc-dev
* commit '90023609cff5e25697c852034106d9c4fdb9ea49':
  Give shell permission to move apps.
2015-08-28 19:59:40 +00:00
Chris Tate
9b2f9bcb56 am 82d14d60: Merge "Crashing the system process is inadvisable" into mnc-dev
* commit '82d14d60e7a772ecf45b637fd51a2335ad2a40cf':
  Crashing the system process is inadvisable
2015-08-28 19:58:35 +00:00
Chong Zhang
482635e34d Merge "Fix deadlock when updating rotation" into mnc-dr-dev 2015-08-28 19:57:57 +00:00
Makoto Onuki
bc0ad10c6d Merge "Split device owner config files" 2015-08-28 19:54:10 +00:00
Chris Tate
82d14d60e7 Merge "Crashing the system process is inadvisable" into mnc-dev 2015-08-28 19:48:38 +00:00
Jeff Sharkey
90023609cf am 71f15791: am d88152b4: Merge "Give shell permission to move apps." into mnc-dev
* commit '71f1579190ee3658db15f55a4e5571f03ce431b6':
  Give shell permission to move apps.
2015-08-28 19:48:26 +00:00
Robert Greenwalt
74ab4fae90 Reduce CONNECTIVITY_CHANGE bcasts
If an app uses the new api (requestNetwork) to bring up MMS, don't
mark it as a legacy request.  This was done because the messaging
service had to use a combination of new API and old
(requestRouteToHost) due to api problems.  This has been resolved
so don't mark these as legacy requests anymore.

The general stuff is still in for other types due to lack of testing
time but this should be removed altogether in the future.

bug:23350688
Change-Id: I41c27efb253c39d8af1357ae7916ed5315c716db
2015-08-28 12:37:54 -07:00
Jeff Sharkey
71f1579190 am d88152b4: Merge "Give shell permission to move apps." into mnc-dev
* commit 'd88152b4d910fa5e79908dcb6f14cd56ad03b21a':
  Give shell permission to move apps.
2015-08-28 19:36:31 +00:00
Jeff Sharkey
d88152b4d9 Merge "Give shell permission to move apps." into mnc-dev 2015-08-28 19:30:31 +00:00
Vadim Tryshev
8522bf8153 Replacing last log with Slog.
Change-Id: Iaedb4285e8a6e886840710de0c150474b072dd9b
2015-08-28 12:20:35 -07:00
Makoto Onuki
39e784dd46 Split device owner config files
DPMS.mDeviceOwner is now always non-null, so no null checks are needed.

Bug 22802261
Bug 23432442

Change-Id: Ia8e5f114ecfc0add44b0d1be7d043ef6e37019ef
2015-08-28 12:12:49 -07:00
David Friedman
4c909d55ff am e798f816: am 1367b508: am 65d43856: am 8b403e8c: am 3ab2e664: Merge "Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3." into mnc-dev
* commit 'e798f816549f34d1dcfa0f836a52034f223e4dd1':
  Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3.
2015-08-28 19:07:32 +00:00
David Friedman
aad9d38dd8 am ddf0eb6c: am d4f02f0b: am eeaf35cd: am 144020c9: am 02e5b0f2: Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
* commit 'ddf0eb6c56a81c2ae8f6cf65df593286e54836ba':
  Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
2015-08-28 19:07:23 +00:00
David Friedman
e798f81654 am 1367b508: am 65d43856: am 8b403e8c: am 3ab2e664: Merge "Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3." into mnc-dev
* commit '1367b508f0657e4aa59027ee3985af2a9df307b6':
  Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3.
2015-08-28 19:01:05 +00:00
David Friedman
ddf0eb6c56 am d4f02f0b: am eeaf35cd: am 144020c9: am 02e5b0f2: Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
* commit 'd4f02f0b2d2e53e1feb9e5a6c54c51d4fdac9964':
  Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
2015-08-28 19:01:00 +00:00
Vadim Tryshev
375a60d22d Merge "Clarifying and stabilizing drag & drop" 2015-08-28 18:59:07 +00:00
Vadim Tryshev
8786f3cfa8 Clarifying and stabilizing drag & drop
The existing Shelf DND crashes if profile or app removal happens
while dragging from outside of shelf. This is because in this case
shelf temporary adds a null placeholder enter to the model, and
doesn’t check for nulls in user-removed and app-removed callbacks.

Adding checking for nulls.
In addition, since adding nulls muds the contract between the
shelf view and its model, I’m getting rid of adding null entries
to the model. Nulls are used on the view side, but never leak to
the model.

Because of that, the state of the view (which may have nulls) and the
mode may not match each other during the drag, I introduce storing
app data in views, as a tag. Null tag means a drag placeholder.

Now that the state of the model doesn’t always follow the state
of the shelf via add/remove operations, it makes sense to introduce
set-all/get-all calls in the model, instead of add/remove/get(i)
calls.

Again, all these changes, even though relatively massive, add clarity
into the view/model contract by eliminating strange states where the
model can have nulls in certain positions.

Also fixing a case when removing an app while dragging it happily
creates an icon.

Bug: 20024603
Change-Id: Ie4e617ccf9278708d64ee100265a4858d1227aed
2015-08-28 11:57:17 -07:00
Selim Cinek
c384198529 Added animation for trusted to fingerprint error
Bug: 21781452
Change-Id: Ib3b229c9ebece926a68a0c6a69341d0f68166698
2015-08-28 11:51:46 -07:00
Jeff Sharkey
e515c6495d Give shell permission to move apps.
Also clear identity when measuring ASEC sizes to relax a second
permission requirement.

Bug: 23600574
Change-Id: Ib3a104426758e0e8f35dff0e504fe874bed7311f
2015-08-28 11:50:22 -07:00
David Friedman
1367b508f0 am 65d43856: am 8b403e8c: am 3ab2e664: Merge "Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3." into mnc-dev
* commit '65d438563a16ae4bfaeedb8bac7ec5484fbff11c':
  Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3.
2015-08-28 18:50:06 +00:00
David Friedman
d4f02f0b2d am eeaf35cd: am 144020c9: am 02e5b0f2: Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
* commit 'eeaf35cd07a93aa03676a1e99cdf3bc8108ccae5':
  Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
2015-08-28 18:50:00 +00:00
David Friedman
65d438563a am 8b403e8c: am 3ab2e664: Merge "Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3." into mnc-dev
* commit '8b403e8cb1bc6bfa2e9ba627f5c48d1a0bc65738':
  Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3.
2015-08-28 18:41:08 +00:00
David Friedman
eeaf35cd07 am 144020c9: am 02e5b0f2: Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
* commit '144020c9ff683fd7fdcf479d71e2920d9f70b182':
  Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
2015-08-28 18:41:03 +00:00
Ruben Brunk
a4ff47ced1 Fix DngCreator default crop calculations.
Bug: 23591407
Change-Id: I1b0e46e7371b3db63e8d68230964d09d7537c3ce
2015-08-28 11:35:42 -07:00
Vadim Tryshev
ec53752715 Merge "Using Slog everywhere." 2015-08-28 18:30:46 +00:00
David Friedman
8b403e8cb1 am 3ab2e664: Merge "Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3." into mnc-dev
* commit '3ab2e66424d6e8faabd4342da21f488f7e3bfdb5':
  Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3.
2015-08-28 18:30:34 +00:00
David Friedman
144020c9ff am 02e5b0f2: Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
* commit '02e5b0f2ffa54c67fe5ac8229ac7e6268a8519c6':
  Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
2015-08-28 18:30:30 +00:00
David Friedman
3ab2e66424 Merge "Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3." into mnc-dev 2015-08-28 18:22:16 +00:00
Christopher Tate
0d446c18dc Crashing the system process is inadvisable
When asking for the set of services published by a package, it's
quite possible that there are none, in which case the returned List<>
is null rather than valid-but-empty.  Don't bother looking at it
when it's null.

Bug 23614440

Change-Id: Ibebb26b9c3f75ec810a95f1b9d2663e884cb98bc
2015-08-28 10:59:25 -07:00
Chris Craik
3f6238614f Merge "Add a few benchmarks to UiBench" 2015-08-28 17:58:56 +00:00
Alan Viverette
712f53fde6 Merge "Allow inner classes to be used as custom drawables" 2015-08-28 17:32:38 +00:00
Chong Zhang
5aaa0b3880 Fix deadlock when updating rotation
Post a runnable in MyOrientationListener.onProposedRotationChanged for
the updateRotation() so that it doesn't acquire WM lock while holding
WindowOrientationListener lock. It could cause deadlock if WM is
is performing a relayout and try to access WindowOrientationListener.

bug: 23507268
Change-Id: I5775f5a13cae0283fef64877801bf8a39dfc90a4
2015-08-28 10:29:07 -07:00
Alan Viverette
caca720b17 Allow inner classes to be used as custom drawables
Bug: 22627299
Change-Id: I2f21927966470594f1b96feac6d5abaa397f2d15
2015-08-28 13:15:49 -04:00
Chris Craik
1f342fde2b Merge "Remove remainder of TileBenchmark" 2015-08-28 17:13:38 +00:00
Doris Liu
3fef1bb7b2 Merge "Test ValueAnimator with custom timing pulse provider" 2015-08-28 17:12:42 +00:00
Deepanshu Gupta
c816122501 Merge "Revert "LayoutLib: Switch SimpleDateFormat to icu."" 2015-08-28 16:00:35 +00:00
Deepanshu Gupta
88db51084b Merge "Switch SimpleDateFormat to icu version" 2015-08-28 15:54:11 +00:00
Anatol Pomazau
2922ef5f23 am 5af3d58e: am a3d10f01: am c02034a1: am 34c08828: Merge "Fix NPE in AR hardware binding sequence. b/22772433" into mnc-dr-dev
* commit '5af3d58ea2f18e8cc667359f5e80781c6a7004aa':
  Fix NPE in AR hardware binding sequence. b/22772433
2015-08-28 15:46:49 +00:00
Anatol Pomazau
5af3d58ea2 am a3d10f01: am c02034a1: am 34c08828: Merge "Fix NPE in AR hardware binding sequence. b/22772433" into mnc-dr-dev
* commit 'a3d10f015f01d65091a15bfd698b45246a9819c6':
  Fix NPE in AR hardware binding sequence. b/22772433
2015-08-28 15:40:51 +00:00
Anatol Pomazau
a3d10f015f am c02034a1: am 34c08828: Merge "Fix NPE in AR hardware binding sequence. b/22772433" into mnc-dr-dev
* commit 'c02034a131082080f7dee50c040ee037f6350be2':
  Fix NPE in AR hardware binding sequence. b/22772433
2015-08-28 15:36:30 +00:00
Stefan Kuhne
400f29c37f Merge "Bring an activity to the front upon click & drag" 2015-08-28 15:28:37 +00:00
Anatol Pomazau
c02034a131 am 34c08828: Merge "Fix NPE in AR hardware binding sequence. b/22772433" into mnc-dr-dev
* commit '34c0882898c3e37ea1733e4614233c8a4cb71b67':
  Fix NPE in AR hardware binding sequence. b/22772433
2015-08-28 15:27:08 +00:00
Skuhne
f36bb0ca99 Bring an activity to the front upon click & drag
Clicking on the control area of a window should bring it to
the top and set the focus since it might be used as a drag
operation which would move / resize it.

Bug: 23179116
Change-Id: I672bfefa42dd85e962fe343aeb89167ce125f168
2015-08-28 08:26:15 -07:00
Anatol Pomazau
34c0882898 Merge "Fix NPE in AR hardware binding sequence. b/22772433" into mnc-dr-dev 2015-08-28 15:21:38 +00:00
Vadim Tryshev
2fa4b2a037 Using Slog everywhere.
Before, there was a mix of Logs and Slogs, and Slog should be used
in systemui to isolate its log from chatty apps.

Bug: 20024603
Change-Id: I84fc53b523698391ae605c8486b9b35b04fbcd5a
2015-08-28 08:10:06 -07:00
John Reck
43c2091a65 Merge "Serializing display lists" 2015-08-28 15:09:55 +00:00
Keisuke Kuroyanagi
9f18132aae Merge "Fix: Cursor can be at an invalid offset in EditText." 2015-08-28 06:57:22 +00:00
Tomasz Mikolajewski
790c50f9e3 Merge "Add support for uploading files via MTP." 2015-08-28 01:51:26 +00:00
Tomasz Mikolajewski
b80a3cfd05 Add support for uploading files via MTP.
Change-Id: Id1811ab70cb28be471e0a99999e9ad5380deac49
2015-08-28 10:50:23 +09:00
Doris Liu
2822a426ab Test ValueAnimator with custom timing pulse provider
This CL depends on ag/749611

With the custom timing pulse provider, we are free from the chaos that could
happen on UI thread and any delay that comes as a result. Therefore we can
count on more accurate timing for each frame, which enables us to test things
such as AnimatorUpdateListener, among other things.

Note that there will still be ~2ms delays in addition to the frame interval
in between frames, due to the MessageQueue processing time.

Change-Id: I6de0aa06125d1ecfae788f5dd22536a5fa52e651
2015-08-27 18:12:47 -07:00