commit | f48e59268bf801cf4f4d1e6715871e14fea31ce3 | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Thu May 12 15:36:20 2016 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Mon May 16 12:07:41 2016 -0700 |
tree | 73d7ee220396bb4455cc9ecae2a4fe5813727042 | |
parent | f898b970cc9130d629d4bc969222aaa96a8a013a [diff] |
Making the 'Allow rotation' setting dependent on system state The setting will not be available on a tablet, where rotation is always enabled. On mobiles, it will be disabled when auto-rotate is disabled in display settings. Also removing content provider dependency from settings, as its in the same process as launcher. Bug: 28704055 Change-Id: Ibe6b1e67411fb0e4b2e36446710f463e4a3d6883