231257 Commits

Author SHA1 Message Date
Makoto Onuki
df6c8d0bc0 Merge "Fix exception message" 2016-01-28 00:20:35 +00:00
Makoto Onuki
ca3f6fae60 Fix exception message
Change-Id: I6fe4b8b745414ed589337079e2893d87dadb34f5
2016-01-27 16:19:38 -08:00
Yohei Yukawa
d8701bfed0 Add ACTION_KEYBOARD_LAYOUT_SETTINGS.
This CL adds ACTION_KEYBOARD_LAYOUT_SETTINGS so that IME developers can
navigate users to the settings to configure the hardware keyboard layout
as needed, as we have exposed ACTION_INPUT_METHOD_SETTINGS and
ACTION_INPUT_METHOD_SUBTYPE_SETTINGS.

Bug: 25752827
Change-Id: I8f371702904b3354043cd6d23fc9a8ff8be9b537
2016-01-27 16:15:01 -08:00
Lifu Tang
a8b7bb5a50 GPS Measurement and Navigation APIs go public
Those APIs are already used by first-party Apps for a while. We now make them
available to third-party Apps as well.

Change-Id: I87d9f0dbb04831fc849228d7df03a2686e2eb383
2016-01-27 16:07:09 -08:00
Jack Yu
b98fac6f1f Merge "Reduced more radio log spam" into mm-wireless-dev
am: 24c5e7c4ce

* commit '24c5e7c4ceb31c85868fe2c03e8a507e2cb0520f':
  Reduced more radio log spam
2016-01-28 00:05:14 +00:00
Adam Lesinski
72c3927f86 Merge "Record ModemActivityInfo and distribute power blame to apps" 2016-01-28 00:03:56 +00:00
Jack Yu
24c5e7c4ce Merge "Reduced more radio log spam" into mm-wireless-dev 2016-01-28 00:00:04 +00:00
Tony Mantler
a0e03ddd5f Change AccessPoint sorting to bucket signal levels
Keeps the list from jumping around for non-user-visible reasons

Change-Id: I2a47fa2f8e3dfcd95c17c5ffbb552332273eb425
2016-01-27 15:57:03 -08:00
Miao Wang
104aff50bd Merge "[RenderScript] Unhide new Allocation APIs" 2016-01-27 23:49:23 +00:00
Adam Lesinski
21f76aa770 Record ModemActivityInfo and distribute power blame to apps
Telephony expsoses a getModemActivity() method, which BatteryStats
will poll when a change in network activity occurs (on the modem).

The time spent in various states (tx, idle, rx) are distributed amongst
the apps that did rx/tx traffic during that window.

Bug:23147562
Change-Id: I480a85df95786f87c382b96816fe2ed4bb2d5a42
2016-01-27 15:45:30 -08:00
Sudheer Shanka
f5b850e694 Update notification title when admin disallows unredacted ones.
Currently, we use "Contents hidden" message in either case where user
wants to hide sensitive content or admin disallows  unredacted
notifications. Updated to use a different message when the
admin disallows it.
Change-Id: Idc73968ff7894e96d8f9b5be4621cc02f682e0aa
2016-01-27 23:43:06 +00:00
Sanket Padawe
d11c15d418 Merge "Add new RIL command for sending ack to solicited async and unsolicited msg." into mm-wireless-dev
am: 2ed3add734

* commit '2ed3add734df1b9b35d91b69f2722b9554d2cf2b':
  Add new RIL command for sending ack to solicited async and unsolicited msg.
2016-01-27 23:29:25 +00:00
Sanket Padawe
2ed3add734 Merge "Add new RIL command for sending ack to solicited async and unsolicited msg." into mm-wireless-dev 2016-01-27 23:25:09 +00:00
Phil Burk
dc5f027783 AudioTrack: make low latency APIs public
Allow apps to lower their Java audio latency.

Bug: 21019153
Change-Id: I1be9a083c46e9fcf7db2635e813cab13dbad810a
Signed-off-by: Phil Burk <philburk@google.com>
2016-01-27 23:24:20 +00:00
Felipe Leme
8b0b0e3b92 Merge "Minor improvements on parseCommandArgs," 2016-01-27 23:21:14 +00:00
Sudheer Shanka
ff2feb4ca6 Merge "Fix UserAvatarView.setDisabled method." 2016-01-27 23:20:52 +00:00
Stephan Linzner
d46a7d0d6e Deprecated platform Android testing APIs
- Deprecated most android.test.* APIs
- Kept ProviderTestCase2 and LoaderTestCase since we don't have a
replacement yet
- Deprecated android.test.suitebuilder
- Added Javadoc to all deprecated APIs with links to corresponding
Android Testing Support Library APIs
- Removed all trailing whitespace

Change-Id: Iab0699f56c286e29b5af46f7580bec5f29955fd3
2016-01-27 15:16:20 -08:00
Winson
49df4209cf Part 1: Tweaking history transition to match design.
- Adding background scrim that can be controlled across transitions 
  within recents.  As a result, we can remove the status bar scrim.
- Moving the history view into the RecentsView now that it animates in
  parallel with the task stack
- Transition home from history no longer goes back to stack view first
- Removing some extra allocations when going into history and loading 
  tasks

Change-Id: I665baefcdd619de5e9366923eaaf4c558261141a
2016-01-27 15:15:44 -08:00
Ian Pedowitz
c0b2f09a92 Merge "Need to call getApplicationInfo from System id" 2016-01-27 22:54:26 +00:00
Eino-Ville Talvala
41d43a6b6d Merge "Camera2: Clarify LEVEL_3 requirements." 2016-01-27 22:51:21 +00:00
xinhe
584dc6b8b9 Remodel Network Selection
There are two main changes in this CL:
    (1) Add user selection preference support. If user
    explicitly chooses a network, framework will remember
    it and consider user has a higher preference of this
    network over all other visible networks.

    (2) Seperate user set BSSID and framework chosen BSSID.
    The BSSID under WifiConfiguration is set by user and is
    not allowed to be overrided. The BSSID under Network
    selection status is the best BSSID chosen by the
    framework to associate with.

BUG=26012244
BUG=26721725

Change-Id: Iece91d20b139ef1c6aec05828c734d1706d81007
2016-01-27 14:50:42 -08:00
Miao Wang
c29bcd0dcd [RenderScript] Unhide new Allocation APIs
Bug: 23535524

  - ByteBuffer getByteBuffer()
  - long getStride()
  - Allocation[] createAllocations(rs, type, usage, num)
  - long getTimeStamp()

Change-Id: I0cad88c81f9f48c7aca59af159c49f506b234aee
2016-01-27 14:42:03 -08:00
Lajos Molnar
6d9ef6419a media: expose media format keys for color characteristics
Bug:  25684127
Change-Id: Ib4aa7487d1bca27eff5f31cd736e935f5bb7e8f0
2016-01-27 14:39:09 -08:00
Ashutosh Joshi
e97a3cc4ca Merge "Adding new sensor types." 2016-01-27 22:37:41 +00:00
Ashutosh Joshi
af1a2661cd Adding new sensor types.
Adding new sensor types for the following -
     i) Stationay Detection
     ii) Motion Detection
     iii) Heart Beat Detection

Change-Id: I95dd81605e0ce2467fe5e0b65dbd25447bba412b
2016-01-27 22:37:05 +00:00
Eino-Ville Talvala
efa0be90f9 Camera2: Clarify LEVEL_3 requirements.
Bug: 25114814
Change-Id: I0d7e0c17c8860e443cded79506e9144db25fe10b
2016-01-27 14:31:57 -08:00
Abodunrinwa Toki
d1cd7fdede FloatingToolbar: Fix logic error in determining open/close overflow animation duration scale.
Change-Id: I31b32ee4234979471e5b6f917abd14af4fb2e3ee
2016-01-27 22:27:31 +00:00
Wei Jia
fbc164ba3c MediaDataSource: add getFlags()
Bug: 26533748
Change-Id: I980b833da47b54d94ecc5fedbd75ce69e59925fb
2016-01-27 14:26:03 -08:00
Makoto Onuki
1244ece2e3 Merge "Make DPM.clearProfileOwner() public." 2016-01-27 22:25:43 +00:00
Jorim Jaggi
c573aa7c3a Merge changes I80100f39,I4b39c1c4,I65ce9a23,I5094a137,Id898752f, ...
* changes:
  Make sure SysUI is not constantly redrawing status bar
  Fix app staying in drag resizing when undocking
  Fix flicker when dismissing non-docked stack
  Start drawing immediately
  Improve dismiss/scrolling handling in recents
  Dim harder when dismissing
2016-01-27 22:23:39 +00:00
Joe LaPenna
7528f57c4d [DO NOT MERGE ANYWHERE]: Allow button events in ambient.
See thread: "key presses & Ambient"

BUG: 25964771
BUG: 26524301

Change-Id: I914edd447c38678a06d27677be4597c0ee384635
2016-01-27 14:19:44 -08:00
Ta-wei Yen
afaf052564 Merge "Added more granular states to DATA_CHANNEL_STATE" 2016-01-27 22:18:23 +00:00
Phil Burk
2ed9c8549e Merge "AudioFormat: add ENCODING_IEC61937" 2016-01-27 22:17:53 +00:00
Sailesh Nepal
4665f49b9c Merge "Add new public API to allow call screening" 2016-01-27 22:16:59 +00:00
Jorim Jaggi
936233c78e Make sure SysUI is not constantly redrawing status bar
When status bar was collapsed, bounds were negative thus triggering
a infinite draw loop.

Change-Id: I80100f394fa5e0dd5858569f9535563eac3aeeb4
2016-01-27 14:16:21 -08:00
Sailesh Nepal
ee4c5c9ee8 Merge "Expose a meta-data value to allow dialer ringing" 2016-01-27 22:15:48 +00:00
Phil Burk
4ddbc0e377 AudioFormat: add ENCODING_IEC61937
Allows applications to wrap compressed audio in a PCM
stream and pass through directly to HDMI output.

Bug: 24541671
Bug: 20891646
Bug: 26373761
Change-Id: I67a25672a3b5066b5747380d013c26e60c14c272
Signed-off-by: Phil Burk <philburk@google.com>
2016-01-27 22:08:42 +00:00
Makoto Onuki
5bf68027cf Make DPM.clearProfileOwner() public.
Bug 26827204

Change-Id: Ib32e5370b493aa3e36b869d9ed3d78782df4c895
2016-01-27 14:07:41 -08:00
Miao Wang
a1c7bc7550 Merge "[RenderScript] Implement APIs for better multi-frame process support." am: 6ebdbfa549
am: d90b4a3266

* commit 'd90b4a3266ab2af3cbc6f131a0ed320f7a795a09':
  [RenderScript] Implement APIs for better multi-frame process support.
2016-01-27 22:02:17 +00:00
Ta-wei Yen
6c8cc662a6 Merge "Add KEY_VVM_PREFETCH_BOOLEAN to CarrierConfigManager" 2016-01-27 22:00:27 +00:00
Jorim Jaggi
a4a58efe82 Fix app staying in drag resizing when undocking
When dismissing the docked stack, the fullscreen stack stayed in drag
resize mode because it got a relayout, but because the bounds didn't
change (it switches to the fullscreen layout a bit earlier) it never
called WM.relayoutWindow, so it stayed in drag resize mode indefinitely.

To fix this, introduce forceRelayout in Window.resized(), which makes
sure the client always calls relayoutWindow. Set this to true whenever
drag resizing is changing.

For some very weird reason this also broke that home button was not
responding anymore.

Bug: 26806532
Change-Id: I4b39c1c419a166aa7093c31226f2a4915f642328
2016-01-27 14:00:02 -08:00
Jorim Jaggi
08b372f71a Fix flicker when dismissing non-docked stack
Because the right/bottom side of divider moves offscreen when dismissing non
docked stack, it results in empty bounds which then results in window manager
thinking the just dismissed activity is fullscreen, which leads to a black
flicker. Make sure not to calculate garbage when calculating the bounds for the
non-docked stack.

Bug: 26070457
Change-Id: I65ce9a23dc216971a3ae4df8058d5b86b1b792a5
2016-01-27 13:57:59 -08:00
Sailesh Nepal
1bef339b88 Add new public API to allow call screening
This CL adds a new service that the default dialer can implement to
screen incoming calls.

If the service is implemented then Telecom uses it to decide if a call
should be shown to the user or rejected.

Note, I initially tried to simply extend InCallService instead of
creating a whole new service. The problem with this approach is that:
  - this breaks some in call services which show UI as soon as they are
    bound to
  - the in call service lifecycle is tightly coupled to adding and
    removing calls. Call screening happens before a call is added which
    makes it a bad fit to in call service
  - call screening is a function of only the default dialer's in call
    service but the existing code also binds to "controller" call
    services

For these reasons it seemed simpler to just create a new optional
service.

BUG: 22857261
Change-Id: I53f2ef93360e0af19b6ce45af21026be6cf3a7f3
2016-01-27 13:54:12 -08:00
Arunesh Mishra
518803fa5f Merge "Fix SoundTriggerModel uses to GenericSoundModel." 2016-01-27 21:49:58 +00:00
Jorim Jaggi
3127c2a471 Start drawing immediately
We used to have a condition to start drawing only in the second traversal,
which added a delay of about 10-15ms. We believe that we don't need this
anymore, because we have other means of synchronizing the app transition
animation with the app drawing - we wait for all surfaces to be drawn
in window manager.

Bug: 21035872
Change-Id: I5094a1377817dc7e0a2392cc8f522e99cd7b4d6e
2016-01-27 13:47:09 -08:00
Jorim Jaggi
9b0a2c921a Improve dismiss/scrolling handling in recents
Make sure to only enter dismiss mode if xDiff is bigger than yDiff,
and only start scrolling if yDiff is bigger than xDiff.

Change-Id: Id898752ff7a08df549e234678aed0dad074b202d
2016-01-27 13:46:39 -08:00
Jorim Jaggi
8f8155ba8a Dim harder when dismissing
Also fix a bug when selecting the dim target stack.

Change-Id: Id9d5e28caf5e810c7eef1e3b0fd7a9f945f8d146
2016-01-27 13:46:14 -08:00
Miao Wang
d90b4a3266 Merge "[RenderScript] Implement APIs for better multi-frame process support."
am: 6ebdbfa549

* commit '6ebdbfa5498c486a96f2b8b07858eb1a25a6d08a':
  [RenderScript] Implement APIs for better multi-frame process support.
2016-01-27 21:43:27 +00:00
Ronghua Wu
7d8501d06c Merge "media: define vp9 profile and level" 2016-01-27 21:37:59 +00:00
Arunesh Mishra
c722ec4105 Fix SoundTriggerModel uses to GenericSoundModel.
Change-Id: I30308b39536864d7b9640367861730e3b1b12129
2016-01-27 13:37:27 -08:00