218669 Commits

Author SHA1 Message Date
Adrian Roos
7e39e59f37 Show charging speed when time to full is available
Only shows if translation is available, follow-up
I3e883eeca002e86d4df30c2b238e18bd63bbddea to show in
all locales.

Bug: 24167496
Change-Id: I667cde69e5d5f8aec8ac9fd105bbfb7e118ced64
2015-09-25 15:22:32 -07:00
Todd Kennedy
389bb7f509 am 9f860264: resolved conflicts for 7de7e0b0 to stage-aosp-master
* commit '9f8602644418ecfb1a5c9555792ceed285fa72bd':
  Pass dexopt flags as integer
2015-09-25 22:17:06 +00:00
Filip Gruszczynski
49b80afaf9 Entry animation for docking windows.
We achieve the animation in the same way we would do that for maximizing
windows. We preserve the exiting window of relaunched activity until the
activity adds a new one. Then we animation the new window from the
bounds of the old window to the dock bounds.

This mostly reuses existing infrastructure for maximize animations, but
unfortunately needs scaling. The before window might be have one
dimension larger than after window and using cropping is not sufficient.

Change-Id: I9538ba983a0af1e64ea48aad6836173d6fd25f3b
2015-09-25 15:16:17 -07:00
Todd Kennedy
9f86026444 resolved conflicts for 7de7e0b0 to stage-aosp-master
Change-Id: I4e45e5bbaebb98b0e740167eaf7517f99d917f30
2015-09-25 15:06:49 -07:00
Robert Carr
2f0fe62c54 WindowStateAnimation: Clear transformation clip rect.
Ensure the clip rect taken from transformations is cleared
when there is no transformation. Normally the failure to
clear the clip would not cause a problem, as the final clip
would be equal to the window size. However, in the event that
the window scale goes on to change (WindowState::m(H/V)Scale that is)
the clip will now be specified at the inappropriate scale (notice the
way the clip must be divided by H/VScale as SurfaceFlinger will apply
the surface transform to the clip).

Bug:23974105
Change-Id: I4548e8ecea8d66d4942e99823653a7b05f87cea0
2015-09-25 14:56:38 -07:00
Steve McKay
b287384e90 Merge "Add support for opening multiple windows." 2015-09-25 21:49:07 +00:00
Steve McKay
9f9d5b432d Add support for opening multiple windows.
Installs an intermediate activity that manages tasks.

Bug: 20562850
Change-Id: If2d0a125b0630c27af07666b0f6a712f58243e9f
2015-09-25 14:46:14 -07:00
Nick Vaccaro
5eccf896a8 am faf3f370: Merge "Fix sensor usage model" into cw-e-dev
* commit 'faf3f3706140c3b90c805e77c3c72c0978b0d61a':
  Fix sensor usage model
2015-09-25 21:44:26 +00:00
Todd Kennedy
7de7e0b0dd Merge "Pass dexopt flags as integer" 2015-09-25 21:41:39 +00:00
Nick Vaccaro
faf3f37061 Merge "Fix sensor usage model" into cw-e-dev 2015-09-25 21:36:14 +00:00
Yorke Lee
440f0a34ff Merge "Add permission annotations to TelecomManager" 2015-09-25 21:29:30 +00:00
Ned Burns
11b87b9109 am 1b69fcbf: am f4e1d10c: Kill ActivityView\'s background thread when it\'s destroyed
* commit '1b69fcbf810a805a0fa3dbfc6a3d7cc49d87f33e':
  Kill ActivityView's background thread when it's destroyed
2015-09-25 21:20:08 +00:00
Ned Burns
1b69fcbf81 am f4e1d10c: Kill ActivityView\'s background thread when it\'s destroyed
* commit 'f4e1d10cd35a4c1f87ec6dc3e59a9d08e562ffca':
  Kill ActivityView's background thread when it's destroyed
2015-09-25 21:10:09 +00:00
Oren Blasberg
b8c7ef5eaf Merge "Make context menus show as popup menus." 2015-09-25 21:09:18 +00:00
Dan Willemsen
81944da434 Add exported include dir for libandroid_runtime
The libnativehelper global include dir is being removed.

Bug: 18903857
Change-Id: I6f1bed76372ccedbe7feb4d215ba8c1c0fc0a87f
2015-09-25 14:08:45 -07:00
Winson Chung
44950c094e Merge "Fixing issue incorrect resources being used with docked windows." 2015-09-25 21:05:17 +00:00
Todd Kennedy
fa54ab7950 Pass dexopt flags as integer
Instead of using a series of booleans, create a single flags integer
that contains all of the dexopt options.

Change-Id: Ia8fa968f64b164267f43dd29cea9dc0413058125
2015-09-25 13:52:33 -07:00
Nick Vaccaro
20feaea1aa Fix sensor usage model
Changed to use the correct API based on the reporting type of the
chosen sensor.  The code was incorrectly treating the WRIST TILT
sensor as a one-shot sensor instead of a special-reporting sensor.

Bug: 11661021
Change-Id: Ib8b7ef5bad9642773f4c0e22e218fbec8c34439b
2015-09-25 13:21:46 -07:00
Winson
6aa91e6357 Removing unused resources.
Change-Id: Ie013b164892eaccaaab7b8c2bcdd3cb5ac51a485
2015-09-25 20:13:25 +00:00
Jae Seo
57551c2896 docs: fix a wrong link
Change-Id: Ib60dfb5a4c9ac8138a357af492f55ca27a7466f6
2015-09-25 12:50:08 -07:00
Wale Ogunwale
024ce628de Merge "Added trace points for task/stack resizing." 2015-09-25 19:46:59 +00:00
Blazej Magnowski
c8433b60a7 Merge "Integration into other unlock mechanisms" 2015-09-25 19:42:07 +00:00
Blazej Magnowski
91be2f88a5 notification drag down fix
Change-Id: I17ddf28a5096782fd42ab011f0dac002b152db0f
2015-09-25 12:38:36 -07:00
Blazej Magnowski
6dc59b48c0 Integration into other unlock mechanisms
Replaces all the older falsing thresholds unless the
HumanInteractionClassifier is disabled.

Change-Id: Idfc3cb1b6bc0bbdbc792cd75499f0c3b4f1b7142
2015-09-25 12:36:25 -07:00
Alan Viverette
8f12481802 Clear stack trace from re-thrown inflater exceptions
We don't need intermediate stack traces for re-thrown inflater
exceptions. Yes, we care that you failed to inflate some class.
No, we don't care how many times you recursed in LayoutInflater
before you got there.

Change-Id: Ie9bba7cebab6cdf73ceead49f080dcf23e0a9f25
2015-09-25 15:17:05 -04:00
Oren Blasberg
ed3912692f Make context menus show as popup menus.
This means that right-clicking/long pressing on a view that is registered for
context menu will show the context menu as a popup menu instead.

Bug: 20016398
Change-Id: I96fea60435fff2f981d288521f490f8ff24ada15
2015-09-25 12:01:01 -07:00
Gus Prevas
efca0aa919 am 3197cd36: am 41110261: am b17d1e5e: Merge "Adds an option to override RemoteViews transition." into cw-e-dev
* commit '3197cd36fef11b1fdd59bdd341f65f9f2364ed2a':
  Adds an option to override RemoteViews transition.
2015-09-25 18:59:45 +00:00
Ian Pedowitz
3a08975000 am cafb3192: am 4c74a02e: am 3af6163a: am 31fe464d: Merge "Give the DhcpClient alarm broadcasts foreground priority." into mnc-dr-dev
* commit 'cafb3192a06e237ae2a7466d051ee66e05cac11d':
  Give the DhcpClient alarm broadcasts foreground priority.
2015-09-25 18:59:37 +00:00
Joe LaPenna
1cff973b89 am 84270fb6: (-s ours) am 5d05db28: (-s ours) am ac342d38: (-s ours) Merge "Disable debugging for device idle in wear branch DO NOT MERGE ANYWHERE" into cw-e-dev
* commit '84270fb60ab29e9e0aa7975c9d300a758f0b16ef':
  Disable debugging for device idle in wear branch DO NOT MERGE ANYWHERE
2015-09-25 18:59:31 +00:00
Jorim Jaggi
0d3c613ecf am 569af4e9: am 1727a8e0: am 31519f63: am ea9675e7: Merge "Do not issue config change command when not needed" into mnc-dr-dev
* commit '569af4e9f8927426bb3da2c6f2c13215c05592ea':
  Do not issue config change command when not needed
2015-09-25 18:59:19 +00:00
Pankaj Kanwar
82418d110f am 1e595bc2: am 52762ce8: am f99986ee: am 65bfe1ca: Merge "AudioService: cleanup sco audio mode upon disconnection." into mnc-dr-dev
* commit '1e595bc225a4d2f1a9c8e59a2047bee33dd79439':
  AudioService: cleanup sco audio mode upon disconnection.
2015-09-25 18:59:11 +00:00
Baligh Uddin
38de1b5a9c am 252044e5: (-s ours) am 8403b9b7: (-s ours) am 437ee52a: (-s ours) am 2f09d2a9: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
* commit '252044e5e067367ac5cd1c75afcb2fcafeedde64':
  Import translations. DO NOT MERGE
2015-09-25 18:59:04 +00:00
Baligh Uddin
7b9ab82252 am e8b72edb: (-s ours) am b4f7abbd: (-s ours) am 56c2f8ee: (-s ours) am 4ee34138: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
* commit 'e8b72edb1878aceeaabe13d3cc1b68eb81e8cc03':
  Import translations. DO NOT MERGE
2015-09-25 18:58:57 +00:00
Baligh Uddin
3d601990c8 am 58bed419: (-s ours) am c266a512: (-s ours) am 6a39ee4d: (-s ours) am 9db221c8: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
* commit '58bed419ad0572e051560509ebacab5e04b8b0f1':
  Import translations. DO NOT MERGE
2015-09-25 18:58:46 +00:00
Baligh Uddin
1ace12cb47 am 2b3f2f45: (-s ours) am fdfd01be: (-s ours) am 683db030: (-s ours) am 9b1c6f77: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
* commit '2b3f2f45098dad06f0044a6e5a1a83f71ed89018':
  Import translations. DO NOT MERGE
2015-09-25 18:58:39 +00:00
Jorim Jaggi
fc832e3ef2 resolved conflicts for c594e935 to master
Change-Id: Ifaf8c6c2b80e5284e027278f5ff0437202439cf0
2015-09-25 11:54:05 -07:00
Winson
b200d05e2f Fixing issue incorrect resources being used with docked windows. 2015-09-25 11:39:47 -07:00
Wale Ogunwale
cad05a0a1f Added trace points for task/stack resizing.
Change-Id: I6c812d92f3822528890b5d875c228b5bd1210bff
2015-09-25 11:30:55 -07:00
Fyodor Kupolov
737b216b5c Added --restricted option for create-user command
Also moved restricted profile create/setup logic from Settings to
UMS.createRestrictedProfile.

Bug: 24212155
Bug: 24303609
Change-Id: I5f0d48bcbd3c0b51927926b874fd057c15ac5219
2015-09-25 11:22:13 -07:00
Michael Lentine
bf0282105a am 561f697e: am a86465d7: am 8c743655: am cb13da97: Merge "Revert "Dismiss color fade when it is no longer used."" into mnc-dr-dev
* commit '561f697e4b8527cc674f8ada5f82952c53760049':
  Revert "Dismiss color fade when it is no longer used."
2015-09-25 18:20:29 +00:00
Gus Prevas
3197cd36fe am 41110261: am b17d1e5e: Merge "Adds an option to override RemoteViews transition." into cw-e-dev
* commit '41110261bb4f9f733b579b3dc26d3d6de5642ef5':
  Adds an option to override RemoteViews transition.
2015-09-25 18:09:41 +00:00
Ian Pedowitz
cafb3192a0 am 4c74a02e: am 3af6163a: am 31fe464d: Merge "Give the DhcpClient alarm broadcasts foreground priority." into mnc-dr-dev
* commit '4c74a02eea04c5faa541812607a5782505bacf00':
  Give the DhcpClient alarm broadcasts foreground priority.
2015-09-25 18:09:35 +00:00
Joe LaPenna
84270fb60a am 5d05db28: (-s ours) am ac342d38: (-s ours) Merge "Disable debugging for device idle in wear branch DO NOT MERGE ANYWHERE" into cw-e-dev
* commit '5d05db28773dc0b242d8f894abd65f6b3c2a17c4':
  Disable debugging for device idle in wear branch DO NOT MERGE ANYWHERE
2015-09-25 18:09:16 +00:00
Jorim Jaggi
569af4e9f8 am 1727a8e0: am 31519f63: am ea9675e7: Merge "Do not issue config change command when not needed" into mnc-dr-dev
* commit '1727a8e0ea3334efd7ce07d7b7a0130e1f485f01':
  Do not issue config change command when not needed
2015-09-25 18:09:07 +00:00
Pankaj Kanwar
1e595bc225 am 52762ce8: am f99986ee: am 65bfe1ca: Merge "AudioService: cleanup sco audio mode upon disconnection." into mnc-dr-dev
* commit '52762ce874200ad2fdbe24fa83ebf8ef6cbf08a4':
  AudioService: cleanup sco audio mode upon disconnection.
2015-09-25 18:08:59 +00:00
Baligh Uddin
252044e5e0 am 8403b9b7: (-s ours) am 437ee52a: (-s ours) am 2f09d2a9: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
* commit '8403b9b7262527a27c7f77901ba4bb7d52a5c301':
  Import translations. DO NOT MERGE
2015-09-25 18:08:32 +00:00
Baligh Uddin
e8b72edb18 am b4f7abbd: (-s ours) am 56c2f8ee: (-s ours) am 4ee34138: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
* commit 'b4f7abbdaedafd3ec1bed152d74f0bdfaa96f53c':
  Import translations. DO NOT MERGE
2015-09-25 18:08:26 +00:00
Baligh Uddin
58bed419ad am c266a512: (-s ours) am 6a39ee4d: (-s ours) am 9db221c8: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
* commit 'c266a512cc4d4d844d152ad0ea8086966ee26dc9':
  Import translations. DO NOT MERGE
2015-09-25 18:08:20 +00:00
Baligh Uddin
2b3f2f4509 am fdfd01be: (-s ours) am 683db030: (-s ours) am 9b1c6f77: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
* commit 'fdfd01bef34ada326ff502f327e4387b8b14aa81':
  Import translations. DO NOT MERGE
2015-09-25 18:08:14 +00:00
Jorim Jaggi
c594e9354a am f9f9999d: am b7b9b31f: am ad26dc5f: Merge "Deliver camera launch source for analytics" into mnc-dr-dev
* commit 'f9f9999d3245dffc8463a1f3f5f74dc900aa0196':
  Deliver camera launch source for analytics
2015-09-25 18:07:52 +00:00